Searched hist:e254de6bcf3f5b6e78a92ac95fb91acef8adfe1a (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | raid5-log.h | diff e254de6bcf3f5b6e78a92ac95fb91acef8adfe1a Wed Aug 29 13:05:42 CDT 2018 Shaohua Li <shli@fb.com> md/raid5-cache: disable reshape completely
We don't support reshape yet if an array supports log device. Previously we determine the fact by checking ->log. However, ->log could be NULL after a log device is removed, but the array is still marked to support log device. Don't allow reshape in this case too. User can disable log device support by setting 'consistency_policy' to 'resync' then do reshape.
Reported-by: Xiao Ni <xni@redhat.com> Tested-by: Xiao Ni <xni@redhat.com> Signed-off-by: Shaohua Li <shli@fb.com>
|
H A D | raid5.c | diff e254de6bcf3f5b6e78a92ac95fb91acef8adfe1a Wed Aug 29 13:05:42 CDT 2018 Shaohua Li <shli@fb.com> md/raid5-cache: disable reshape completely
We don't support reshape yet if an array supports log device. Previously we determine the fact by checking ->log. However, ->log could be NULL after a log device is removed, but the array is still marked to support log device. Don't allow reshape in this case too. User can disable log device support by setting 'consistency_policy' to 'resync' then do reshape.
Reported-by: Xiao Ni <xni@redhat.com> Tested-by: Xiao Ni <xni@redhat.com> Signed-off-by: Shaohua Li <shli@fb.com>
|