]> git.karo-electronics.de Git - mv-sheeva.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)
commit9283d8c5af4cdcb809e655acdf4be368afec8b58
treed4baa86260792a10782808e51d5468e145358980
parent8bd2f0a05b361e07d48bb34398593f5f523946b3
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