]> git.kernelconcepts.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>
Tue, 21 Apr 2015 22:00:41 +0000 (08:00 +1000)
commitdabc4ec6ba72418ebca6bf1884f344bba40c8709
tree7860792d9a7b5043c043eea983d218591bbe06f5
parent72ac733015bbdc0356ba3e92c52137a265910a91
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