raid5: guarantee enough stripes to avoid reshape hang
authorShaohua Li <shli@fb.com>
Tue, 30 Aug 2016 17:29:33 +0000 (10:29 -0700)
committerShaohua Li <shli@fb.com>
Wed, 31 Aug 2016 16:05:23 +0000 (09:05 -0700)
commitad5b0f7685dbfc4730987cd16af3c5ebe8133f10
tree84a2c04da9521953b1883b04bc9b54a51d600a4c
parent8e018c21da3febb558586b48c8db0d6d66cb6593
raid5: guarantee enough stripes to avoid reshape hang

If there aren't enough stripes, reshape will hang. We have a check for
this in new reshape, but miss it for reshape resume, hence we could see
hang in reshape resume. This patch forces enough stripes existed if
reshape resumes.

Reviewed-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid5.c
This page took 0.024087 seconds and 5 git commands to generate.