diff options
author | 2011-12-08 16:22:48 +1100 | |
---|---|---|
committer | 2011-12-08 16:22:48 +1100 | |
commit | 52c64152a935e63d9ff73ce823730c9a23dedbff (patch) | |
tree | 03de10a1899d74b42d00740437140a032686d011 /lib/mpi/mpiutil.c | |
parent | md: take a reference to mddev during sysfs access. (diff) | |
download | wireguard-linux-52c64152a935e63d9ff73ce823730c9a23dedbff.tar.xz wireguard-linux-52c64152a935e63d9ff73ce823730c9a23dedbff.zip |
md: bad blocks shouldn't cause a Blocked status on a Faulty device.
Once a device is marked Faulty the badblocks - whether acknowledged or
not - become irrelevant. So they shouldn't cause the device to be
marked as Blocked.
Without this patch, a process might write "-blocked" to clear the
Blocked status, but while that will correctly fail the device, it
won't remove the apparent 'blocked' status.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions