]> git.karo-electronics.de Git - karo-tx-linux.git/commit
raid5: handle expansion/resync case with stripe batching
authorshli@kernel.org <shli@kernel.org>
Mon, 15 Dec 2014 01:57:04 +0000 (12:57 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 8 Apr 2015 02:57:54 +0000 (12:57 +1000)
commit684d7ad52fb30c776ffe6247b990f381e52bfced
treea4ce8d6dae6fa3fd31caae345014866a15124fbc
parent2d31656218e60c03cbebb002f26b4e674754968d
raid5: handle expansion/resync case with stripe batching

expansion/resync can grab a stripe when the stripe is in batch list. Since all
stripes in batch list must be in the same state, we can't allow some stripes
run into expansion/resync. So we delay expansion/resync for stripe in batch
list.

Signed-off-by: Shaohua Li <shli@fusionio.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid5.c
drivers/md/raid5.h