OSDN Git Service

md: wakeup thread upon rdev_dec_pending()
authorHannes Reinecke <hare@suse.de>
Thu, 26 Jul 2012 09:12:18 +0000 (11:12 +0200)
committerNeilBrown <neilb@suse.de>
Thu, 5 Feb 2015 22:32:57 +0000 (09:32 +1100)
commitdfe15ac1c6ad301b092ed295f0cfdb16cfaf5cfa
tree2b3fcf506f4956a34f709eef4c9bc9260e5ae788
parent6791875e2e5393845b9c781d2998481089735134
md: wakeup thread upon rdev_dec_pending()

After each call to rdev_dec_pending() we should wakeup the
md thread if the device is found to be faulty.
Otherwise we'll incur heavy delays on failing devices.

Signed-off-by: Neil Brown <nfbrown@suse.de>
Signed-off-by: Hannes Reinecke <hare@suse.de>
drivers/md/md.h