diff options
author | Shaohua Li <shli@fb.com> | 2016-08-30 19:29:33 +0200 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2016-08-31 18:05:23 +0200 |
commit | ad5b0f7685dbfc4730987cd16af3c5ebe8133f10 (patch) | |
tree | 84a2c04da9521953b1883b04bc9b54a51d600a4c /drivers/md/dm-delay.c | |
parent | raid5-cache: fix a deadlock in superblock write (diff) | |
download | linux-ad5b0f7685dbfc4730987cd16af3c5ebe8133f10.tar.xz linux-ad5b0f7685dbfc4730987cd16af3c5ebe8133f10.zip |
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>
Diffstat (limited to 'drivers/md/dm-delay.c')
0 files changed, 0 insertions, 0 deletions