]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid5: never wait for bad-block acks on failed device.
authorNeilBrown <neilb@suse.de>
Thu, 8 Dec 2011 05:27:57 +0000 (16:27 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 8 Dec 2011 05:27:57 +0000 (16:27 +1100)
commit287ce3ca2bb689a9da94713def35d1867cbf3e68
treed4baa86260792a10782808e51d5468e145358980
parent377a06a1951ab18dcccf5dd33711b04d53132135
md/raid5: never wait for bad-block acks on failed device.

Once a device is failed we really want to completely ignore it.
It should go away soon anyway.

In particular the presence of bad blocks on it should not cause us to
block as we won't be trying to write there anyway.

So as soon as we can check if a device is Faulty, do so and pretend
that it is already gone if it is Faulty.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid5.c