Searched refs:degraded (Results 1 - 44 of 44) sorted by relevance

/linux-4.1.27/drivers/md/
H A Dmultipath.c150 conf->raid_disks - mddev->degraded); multipath_status()
188 if (conf->raid_disks - mddev->degraded <= 1) { multipath_error()
205 mddev->degraded++; multipath_error()
215 conf->raid_disks - mddev->degraded); multipath_error()
228 printk(" --- wd:%d rd:%d\n", conf->raid_disks - conf->mddev->degraded, print_multipath_conf()
275 mddev->degraded--; multipath_add_disk()
460 mddev->degraded = conf->raid_disks - working_disks;
483 mdname(mddev), conf->raid_disks - mddev->degraded,
H A Draid0.c566 if (mddev->degraded != 1) { raid0_takeover_raid45()
567 printk(KERN_ERR "md/raid0:%s: raid5 must be degraded! Degraded disks: %d\n", raid0_takeover_raid45()
569 mddev->degraded); raid0_takeover_raid45()
604 * - all mirrors must be already degraded raid0_takeover_raid10()
617 if (mddev->degraded != (mddev->raid_disks>>1)) { raid0_takeover_raid10()
618 printk(KERN_ERR "md/raid0:%s: All mirrors must be already degraded!\n", raid0_takeover_raid10()
629 mddev->degraded = 0; raid0_takeover_raid10()
645 if ((mddev->raid_disks - 1) != mddev->degraded) { raid0_takeover_raid1()
H A Dbitmap.h143 * array is not degraded. As bits are not cleared when the array is degraded,
255 int bitmap_start_sync(struct bitmap *bitmap, sector_t offset, sector_t *blocks, int degraded);
H A Draid10.c1594 conf->geo.raid_disks - mddev->degraded); status()
1676 mddev->degraded++; error()
1689 mdname(mddev), conf->geo.raid_disks - mddev->degraded); error()
1702 printk(KERN_DEBUG " --- wd:%d rd:%d\n", conf->geo.raid_disks - conf->mddev->degraded, print_conf()
1766 mddev->degraded -= count; raid10_spare_active()
3078 * degraded sync_request()
3243 &sync_blocks, mddev->degraded) && sync_request()
3701 mddev->degraded = 0;
3719 mddev->degraded++;
3733 mdname(mddev), conf->geo.raid_disks - mddev->degraded,
3875 if (mddev->degraded > 0) { raid10_takeover_raid0()
3876 printk(KERN_ERR "md/raid10:%s: Error: degraded raid0!\n", raid10_takeover_raid0()
3995 int degraded, degraded2; calc_degraded() local
3999 degraded = 0; calc_degraded()
4004 degraded++; calc_degraded()
4008 * 'degraded'. It does now. calc_degraded()
4010 degraded++; calc_degraded()
4014 return degraded; calc_degraded()
4024 * it doesn't contribute to degraded. calc_degraded()
4032 if (degraded2 > degraded) calc_degraded()
4034 return degraded; calc_degraded()
4044 * array non-degraded. We also require that the difference raid10_start_reshape()
4148 * ->degraded is measured against the larger of the
4152 mddev->degraded = calc_degraded(conf);
H A Draid1.c337 if (r1_bio->mddev->degraded == conf->raid_disks || raid1_end_read_request()
338 (r1_bio->mddev->degraded == conf->raid_disks-1 && raid1_end_read_request()
1463 conf->raid_disks - mddev->degraded); status()
1487 && (conf->raid_disks - mddev->degraded) == 1) { error()
1500 mddev->degraded++; error()
1514 mdname(mddev), conf->raid_disks - mddev->degraded); error()
1526 printk(KERN_DEBUG " --- wd:%d rd:%d\n", conf->raid_disks - conf->mddev->degraded, print_conf()
1571 * which expects 'In_sync' flags and ->degraded to be consistent. raid1_spare_active()
1604 mddev->degraded -= count; raid1_spare_active()
1705 mddev->degraded < conf->raid_disks) { raid1_remove_disk()
2928 mddev->degraded = 0;
2933 mddev->degraded++;
2935 if (conf->raid_disks - mddev->degraded == 1)
2944 mdname(mddev), mddev->raid_disks - mddev->degraded,
3108 mddev->degraded += (raid_disks - conf->raid_disks); raid1_reshape()
H A Draid5.c591 int degraded, degraded2; calc_degraded() local
595 degraded = 0; calc_degraded()
601 degraded++; calc_degraded()
615 degraded++; calc_degraded()
619 return degraded; calc_degraded()
640 if (degraded2 > degraded) calc_degraded()
642 return degraded; calc_degraded()
647 int degraded; has_failed() local
650 return conf->mddev->degraded > conf->max_degraded; has_failed()
652 degraded = calc_degraded(conf); has_failed()
653 if (degraded > conf->max_degraded) has_failed()
2358 else if (conf->mddev->degraded >= conf->max_degraded) { raid5_end_read_request()
2516 mddev->degraded = calc_degraded(conf); error()
2529 conf->raid_disks - mddev->degraded); error()
4687 * is degraded as we'll go through stripe cache anyway. raid5_mergeable_bvec()
4689 if ((bvm->bi_rw & 1) == WRITE || mddev->degraded) raid5_mergeable_bvec()
5168 * If array is degraded, better not do chunk aligned read because make_request()
5172 if (rw == READ && mddev->degraded == 0 && make_request()
5610 if (mddev->degraded >= conf->max_degraded && sync_request()
5636 /* Need to check if array will still be degraded after recovery/resync sync_request()
6827 * 0 for a fully functional array, 1 or 2 for a degraded array.
6829 mddev->degraded = calc_degraded(conf);
6834 mdname(mddev), mddev->degraded, conf->raid_disks);
6842 if (mddev->degraded > dirty_parity_disks &&
6846 "md/raid:%s: starting dirty degraded array"
6851 "md/raid:%s: cannot start dirty degraded array.\n",
6857 if (mddev->degraded == 0)
6860 mddev->raid_disks-mddev->degraded, mddev->raid_disks,
6866 mddev->raid_disks - mddev->degraded,
6997 seq_printf (seq, " [%d/%d] [", conf->raid_disks, conf->raid_disks - mddev->degraded); status()
7017 conf->raid_disks - conf->mddev->degraded); print_raid5_conf()
7066 mddev->degraded = calc_degraded(conf); raid5_spare_active()
7310 if (spares - mddev->degraded < mddev->delta_disks - conf->max_degraded)
7311 /* Not enough devices even to make a degraded array
7384 * ->degraded is measured against the larger of the
7388 mddev->degraded = calc_degraded(conf);
7473 mddev->degraded = calc_degraded(conf); raid5_finish_reshape()
7561 mddev->degraded > 1) raid5_takeover_raid1()
7728 if (mddev->degraded > 1) raid6_takeover()
H A Dbitmap.c1446 if (success && !bitmap->mddev->degraded && bitmap_endwrite()
1475 int degraded) __bitmap_start_sync()
1492 if (!degraded) { /* don't set/clear bits if degraded */ __bitmap_start_sync()
1503 int degraded) bitmap_start_sync()
1518 &blocks1, degraded); bitmap_start_sync()
1835 if (mddev->degraded == 0 bitmap_load()
2391 if (mddev->degraded) can_clear_store()
1474 __bitmap_start_sync(struct bitmap *bitmap, sector_t offset, sector_t *blocks, int degraded) __bitmap_start_sync() argument
1502 bitmap_start_sync(struct bitmap *bitmap, sector_t offset, sector_t *blocks, int degraded) bitmap_start_sync() argument
H A Dmd.c2277 if (mddev->degraded)
2278 /* If the array is degraded, then skipping spares is both
2285 * be degraded any more and the spare can go back to sleep then.
2406 if (mddev->degraded) add_bound_rdev()
3451 mddev->degraded = 0; level_store()
4253 sysfs_notify(&mddev->kobj, NULL, "degraded"); action_store()
4352 return sprintf(page, "%d\n", mddev->degraded); degraded_show()
4354 static struct md_sysfs_entry md_degraded = __ATTR_RO(degraded);
5212 sysfs_notify(&mddev->kobj, NULL, "degraded");
5300 mddev->degraded = 0; md_clean()
7048 if (mddev->degraded) md_error()
7999 sysfs_notify(&mddev->kobj, NULL, "degraded");
8081 * 5/ If array is degraded, try to add spares devices
8252 "degraded"); md_reap_sync_thread()
8262 /* If array is no-longer degraded, then any saved_raid_disk md_reap_sync_thread()
8265 if (!mddev->degraded) md_reap_sync_thread()
H A Dmd.h373 int degraded; /* whether md should consider member in struct:mddev
525 * ndrive raid5 -> degraded n+1drive raid6 with special layout
H A Ddm-cache-target.c133 * A degraded mode useful for various cache coherency situations
H A Ddm-thin.c190 * The pool runs in 4 modes. Ordered in degraded order for comparisons.
/linux-4.1.27/arch/arm/include/asm/
H A Dtrusted_foundations.h55 pr_err("No support for Trusted Foundations, continuing in degraded mode.\n"); register_trusted_foundations()
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Dras.c369 /* Platform corrected itself but could be degraded */ recover_mce()
371 "be degraded\n"); recover_mce()
/linux-4.1.27/drivers/scsi/
H A Draid_class.c126 { RAID_STATE_DEGRADED, "degraded" },
H A D3w-xxxx.h63 [0x002] = "ERROR: Unit degraded: Unit #",
H A D3w-9xxx.h165 {0x0121, "Drive not degraded"},
H A Dconstants.c401 {0x0B02, "Warning - enclosure degraded"},
406 {0x0B07, "Warning - degraded power to non-volatile cache"},
H A Dmegaraid.c2605 seq_puts(m, "state: degraded"); proc_show_rdrv()
H A Dhpsa.c1308 * the logical drive is degraded. In that case, the RAID hpsa_figure_phys_disk_ptrs()
H A Dipr.c1993 { IPR_PATH_DEGRADED, "is degraded" },
/linux-4.1.27/fs/btrfs/
H A Ddev-replace.c785 "you may cancel the operation after 'mount -o degraded'"); btrfs_resume_dev_replace_async()
858 * in degraded state. This does not stop the btrfs_dev_replace_is_ongoing()
H A Dsuper.c332 {Opt_degraded, "degraded"},
424 btrfs_info(root->fs_info, "allowing degraded mounts"); btrfs_parse_options()
1037 seq_puts(seq, ",degraded"); btrfs_show_options()
H A Dvolumes.c1671 * could give a filesystem state which requires a degraded mount.
/linux-4.1.27/drivers/s390/char/
H A Dtape_3590.c975 snprintf(exception, BUFSIZE, "Data degraded"); tape_3590_print_mim_msg_f0()
978 snprintf(exception, BUFSIZE, "Data degraded in partion %i", tape_3590_print_mim_msg_f0()
982 snprintf(exception, BUFSIZE, "Medium degraded"); tape_3590_print_mim_msg_f0()
985 snprintf(exception, BUFSIZE, "Medium degraded in partition %i", tape_3590_print_mim_msg_f0()
H A Dtape_34xx.c635 * Degraded mode. A condition that can cause degraded tape_34xx_unit_check()
639 "in degraded mode\n"); tape_34xx_unit_check()
/linux-4.1.27/arch/mn10300/kernel/
H A Dkgdb.c405 /* However, we may now be running in degraded mode, with most arch_release_thread_info()
/linux-4.1.27/arch/arm/mach-pxa/
H A Dpalmtreo.c490 * image becomes degraded. N.B. The IPL shipped with the treo treo680_gpio_init()
/linux-4.1.27/block/
H A Dblk-sysfs.c554 * cases, a request_queue starts out in a degraded mode which is blk_register_queue()
/linux-4.1.27/arch/powerpc/include/asm/
H A Drtas.h215 * X 1: Bypassed unrecoverable error (degraded operation)
/linux-4.1.27/drivers/scsi/esas2r/
H A Desas2r_init.c784 "setting adapter to degraded mode: %s\n", error_str); esas2r_set_degraded_mode()
1618 * esas2r_init_adapter. We don't have to do this in degraded esas2r_power_down()
H A Desas2r_int.c507 * entire system. Also flag degraded mode to esas2r_chip_rst_needed_during_tasklet()
H A Datvda.h160 #define RS_DEGRADED 0xFB /*! degraded mode */
H A Desas2r_flash.c526 * The download is complete. If in degraded mode, fw_download_proc()
/linux-4.1.27/drivers/mtd/
H A Dmtdcore.c1175 * to handle smaller (i.e. degraded) buffer allocations under low- or
/linux-4.1.27/drivers/staging/lustre/lustre/include/lustre/
H A Dlustre_user.h69 OS_STATE_DEGRADED = 0x00000001, /**< RAID degraded/rebuilding */
/linux-4.1.27/fs/nilfs2/
H A Dsuper.c321 * @sb: super block instance to be unmounted or degraded to read-only
/linux-4.1.27/include/uapi/scsi/fc/
H A Dfc_els.h812 ELS_CLID_SEV_DEG = 0x04, /* link degraded but operational */
/linux-4.1.27/drivers/misc/carma/
H A Dcarma-fpga.c415 /* Warn if we are running in a degraded state, but do not fail */ data_alloc_buffers()
/linux-4.1.27/arch/ia64/include/asm/
H A Dpal.h417 * degraded mode.
/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_nl.c1754 * (have been degraded R_PRIMARY), chances are that drbd_adm_attach()
1760 * degraded but active "cluster" after a certain timeout. drbd_adm_attach()
/linux-4.1.27/drivers/message/fusion/
H A Dmptbase.c3556 * IOC from running in degraded mode.
5201 ? "degraded" mptbase_raid_process_event_data()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Dmac.c1644 * zero in VHT IE. Using it would result in degraded throughput. ath10k_peer_assoc_h_vht()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_gem.c4692 " graphics performance will be degraded.\n"); intel_enable_blt()
/linux-4.1.27/drivers/scsi/mpt2sas/
H A Dmpt2sas_scsih.c7571 "in degraded range. Check WarpDrive documentation " mpt2sas_scsih_event_callback()

Completed in 2132 milliseconds