]> git.baikalelectronics.ru Git - kernel.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)
commitc97a482ea5b230de4957ad6b4db72d7228c354a0
tree7860792d9a7b5043c043eea983d218591bbe06f5
parent500f69eb65c17af9a6d0db165e1f7b3f0c256a5e
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