Home
last modified time | relevance | path

Searched refs:fail_last_dev (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/
H A Dmd.h509 bool fail_last_dev:1; member
H A Dmd.c5470 return sprintf(page, "%d\n", mddev->fail_last_dev); in fail_last_dev_show()
5474 * Setting fail_last_dev to true to allow last device to be forcibly removed
5487 if (value != mddev->fail_last_dev) in fail_last_dev_store()
5488 mddev->fail_last_dev = value; in fail_last_dev_store()
5493 __ATTR(fail_last_dev, S_IRUGO | S_IWUSR, fail_last_dev_show,
H A Draid1.c1602 * else if it is the last working disks with "fail_last_dev == false", in raid1_error()
1607 if (test_bit(In_sync, &rdev->flags) && !mddev->fail_last_dev in raid1_error()
H A Draid10.c1642 * else if it is the last working disks with "fail_last_dev == false", in raid10_error()
1647 if (test_bit(In_sync, &rdev->flags) && !mddev->fail_last_dev in raid10_error()
/kernel/linux/linux-6.6/drivers/md/
H A Dmd.h547 bool fail_last_dev:1; member
H A Dmd.c5442 return sprintf(page, "%d\n", mddev->fail_last_dev); in fail_last_dev_show()
5446 * Setting fail_last_dev to true to allow last device to be forcibly removed
5459 if (value != mddev->fail_last_dev) in fail_last_dev_store()
5460 mddev->fail_last_dev = value; in fail_last_dev_store()
5465 __ATTR(fail_last_dev, S_IRUGO | S_IWUSR, fail_last_dev_show,
H A Draid1.c1645 * &mddev->fail_last_dev is off.
1658 if (!mddev->fail_last_dev) { in raid1_error()
H A Draid10.c2030 * &mddev->fail_last_dev is off.
2042 if (!mddev->fail_last_dev) { in raid10_error()

Completed in 45 milliseconds