Home
last modified time | relevance | path

Searched refs:degraded (Results 1 – 25 of 29) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/md/
H A Dmd-multipath.c144 conf->raid_disks - mddev->degraded); in multipath_status()
162 if (conf->raid_disks - mddev->degraded <= 1) { in multipath_error()
178 mddev->degraded++; in multipath_error()
186 conf->raid_disks - mddev->degraded); in multipath_error()
199 pr_debug(" --- wd:%d rd:%d\n", conf->raid_disks - conf->mddev->degraded, in print_multipath_conf()
235 mddev->degraded--; in multipath_add_disk()
403 mddev->degraded = conf->raid_disks - working_disks; in multipath_run()
416 mdname(mddev), conf->raid_disks - mddev->degraded, in multipath_run()
H A Draid0.c604 if (mddev->degraded != 1) { in raid0_takeover_raid45()
607 mddev->degraded); in raid0_takeover_raid45()
657 if (mddev->degraded != (mddev->raid_disks>>1)) { in raid0_takeover_raid10()
669 mddev->degraded = 0; in raid0_takeover_raid10()
686 if ((mddev->raid_disks - 1) != mddev->degraded) { in raid0_takeover_raid1()
H A Draid1.c385 if (r1_bio->mddev->degraded == conf->raid_disks || in raid1_end_read_request()
386 (r1_bio->mddev->degraded == conf->raid_disks-1 && in raid1_end_read_request()
1513 conf->raid_disks - mddev->degraded > 1) in raid1_write_request()
1583 conf->raid_disks - mddev->degraded); in raid1_status()
1608 && (conf->raid_disks - mddev->degraded) == 1) { in raid1_error()
1621 mddev->degraded++; in raid1_error()
1633 mdname(mddev), conf->raid_disks - mddev->degraded); in raid1_error()
1645 pr_debug(" --- wd:%d rd:%d\n", conf->raid_disks - conf->mddev->degraded, in print_conf()
1718 mddev->degraded -= count; in raid1_spare_active()
1811 mddev->degraded < conf->raid_disks) { in raid1_remove_disk()
[all …]
H A Draid10.c1556 conf->geo.raid_disks - mddev->degraded); in raid10_status()
1640 mddev->degraded++; in raid10_error()
1653 mdname(mddev), conf->geo.raid_disks - mddev->degraded); in raid10_error()
1666 pr_debug(" --- wd:%d rd:%d\n", conf->geo.raid_disks - conf->mddev->degraded, in print_conf()
1731 mddev->degraded -= count; in raid10_spare_active()
2724 if (mddev->degraded) in raid10d()
3298 &sync_blocks, mddev->degraded) && in raid10_sync_request()
3832 mddev->degraded = 0; in raid10_run()
3850 mddev->degraded++; in raid10_run()
3869 mdname(mddev), conf->geo.raid_disks - mddev->degraded, in raid10_run()
[all …]
H A Draid5.c636 int degraded, degraded2; in raid5_calc_degraded() local
640 degraded = 0; in raid5_calc_degraded()
646 degraded++; in raid5_calc_degraded()
660 degraded++; in raid5_calc_degraded()
664 return degraded; in raid5_calc_degraded()
685 if (degraded2 > degraded) in raid5_calc_degraded()
687 return degraded; in raid5_calc_degraded()
692 int degraded = conf->mddev->degraded; in has_failed() local
698 degraded = raid5_calc_degraded(conf); in has_failed()
700 return degraded > conf->max_degraded; in has_failed()
[all …]
H A Dmd-bitmap.h258 int md_bitmap_start_sync(struct bitmap *bitmap, sector_t offset, sector_t *blocks, int degraded);
H A Dmd-bitmap.c1483 if (success && !bitmap->mddev->degraded && in md_bitmap_endwrite()
1512 int degraded) in __bitmap_start_sync() argument
1529 if (!degraded) { /* don't set/clear bits if degraded */ in __bitmap_start_sync()
1540 int degraded) in md_bitmap_start_sync() argument
1555 &blocks1, degraded); in md_bitmap_start_sync()
1928 if (mddev->degraded == 0 in md_bitmap_load()
2573 if (mddev->degraded) in can_clear_store()
H A Dmd.h410 int degraded; /* whether md should consider member
H A Ddm-raid.c1720 if (rs->md.degraded) { in rs_check_takeover()
1790 mddev->degraded = 1; in rs_check_takeover()
2018 else if (mddev->degraded) in rs_check_reshape()
2789 mddev->degraded = rs->delta_disks < 0 ? -rs->delta_disks : rs->delta_disks; in rs_prepare_reshape()
H A Dmd.c2774 if (mddev->degraded) in md_update_sb()
2910 if (mddev->degraded) in add_bound_rdev()
4059 mddev->degraded = 0; in level_store()
4999 return sprintf(page, "%d\n", mddev->degraded); in degraded_show()
5001 static struct md_sysfs_entry md_degraded = __ATTR_RO(degraded);
6024 if (mddev->degraded) in md_run()
6058 if (mddev->degraded && !mddev->ro) in md_run()
6214 mddev->degraded = 0; in md_clean()
8003 if (mddev->degraded) in md_error()
9383 mddev->degraded != mddev->raid_disks) { in md_reap_sync_thread()
[all …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/md/
H A Draid5-ppl.rst8 in degraded state, there is no way to recalculate parity, because one of the
10 array or using it is as degraded - data calculated from parity for array blocks
13 this, md by default does not allow starting a dirty degraded array.
H A Draid5-cache.rst29 unclean shutdown. We call an array degraded if it has inconsistent data. MD
37 shutdown even the array is degraded. Thus the cache can close the 'write hole'.
/OK3568_Linux_fs/kernel/Documentation/admin-guide/
H A Dmd.rst89 Boot time assembly of degraded/dirty arrays
92 If a raid5 or raid6 array is both dirty and degraded, it could have
95 is degraded means that some datablocks are missing and cannot reliably
107 when set to 1, bypassed the checks and will allows dirty degraded
110 So, to boot with a root filesystem of a dirty degraded raid 5 or 6, use::
399 degraded array, or if the array becomes degraded during a write.
401 once the array becomes non-degraded, and this fact has been
663 degraded
665 arrays is degraded. So an optimal array will show ``0``. A
H A Dras.rst51 case, do a preventive maintenance to replace a degraded component while
H A Dkernel-parameters.txt3382 performance of saving the states is degraded because
/OK3568_Linux_fs/kernel/Documentation/networking/
H A Dipvlan.rst131 puts the NIC in promiscuous mode and degraded performance is a concern.
/OK3568_Linux_fs/kernel/Documentation/scsi/
H A DChangeLog.megaraid_sas105 1. Fix reglockFlags for degraded raid5/6 for MR 9360/9380.
130 1. Fix FastPath I/O to work with degraded RAID 1.
/OK3568_Linux_fs/kernel/Documentation/PCI/
H A Dpcieaer-howto.rst107 of those errors, which may result in degraded performance or function
/OK3568_Linux_fs/kernel/Documentation/networking/device_drivers/ethernet/chelsio/
H A Dcxgb.rst341 is handling 10Gb networking can switch between CPUs causing degraded
/OK3568_Linux_fs/kernel/Documentation/admin-guide/device-mapper/
H A Dcache.rst212 passthrough a degraded mode useful for various cache coherency
/OK3568_Linux_fs/kernel/Documentation/driver-api/
H A Ddevice_link.rst139 in a degraded mode (reduced feature set or performance) when those resources
/OK3568_Linux_fs/kernel/arch/x86/math-emu/
H A DREADME289 give much degraded precision. For example, the integer number
/OK3568_Linux_fs/kernel/Documentation/arm64/
H A Dacpi_object_usage.rst657 system can continue correct operation, even if possibly degraded. The NMI is
/OK3568_Linux_fs/kernel/Documentation/trace/
H A Dftrace.rst1262 will be critically degraded. Remember to disable
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/info/
H A Dcpp.info4297 tracks tokens locations in a degraded mode for the sake of minimal

12