commit | ad5b0f7685dbfc4730987cd16af3c5ebe8133f10 | [log] [tgz] |
---|---|---|
author | Shaohua Li <shli@fb.com> | Tue Aug 30 10:29:33 2016 -0700 |
committer | Shaohua Li <shli@fb.com> | Wed Aug 31 09:05:23 2016 -0700 |
tree | 84a2c04da9521953b1883b04bc9b54a51d600a4c | |
parent | 8e018c21da3febb558586b48c8db0d6d66cb6593 [diff] |
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>