summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid10.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-07-03 04:13:29 +0200
committerNeilBrown <neilb@suse.de>2012-07-03 04:13:29 +0200
commit5f066c632fcfd2a33f2eb7077c15c630e9f5ea5b (patch)
tree9a659a20661d4a2b13f796cd2409879c0596b5c1 /drivers/md/raid10.c
parentmd:Add blk_plug in sync_thread. (diff)
downloadlinux-5f066c632fcfd2a33f2eb7077c15c630e9f5ea5b.tar.xz
linux-5f066c632fcfd2a33f2eb7077c15c630e9f5ea5b.zip
md/raid5: fix refcount problem when blocked_rdev is set.
commit 43220aa0f22cd3ce5b30246d50ccd696d119edea md/raid5: fix a hang on device failure. fixed a hang, but introduced a refcounting in-balance so that if the presence of bad-blocks ever caused an rdev to be 'blocked' we would increment the refcount on the rdev and never decrement it. So added the needed rdev_dec_pending when md_wait_for_blocked_rdev is not called. Reported-by: majianpeng <majianpeng@gmail.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid10.c')
0 files changed, 0 insertions, 0 deletions