diff options
author | Yu Kuai <yukuai3@huawei.com> | 2023-10-10 23:19:56 +0800 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2023-10-10 18:49:51 -0700 |
commit | bc08041b32abe6c9824f78735bac22018eabfc06 (patch) | |
tree | c732d23943973d2433cb531169934d0297280590 /drivers/md/md.h | |
parent | b42cd7b3a20db692a8d24c2c756ad5008729976b (diff) | |
download | linux-stable-bc08041b32abe6c9824f78735bac22018eabfc06.tar.gz linux-stable-bc08041b32abe6c9824f78735bac22018eabfc06.tar.bz2 linux-stable-bc08041b32abe6c9824f78735bac22018eabfc06.zip |
md: suspend array in md_start_sync() if array need reconfiguration
So that io won't concurrent with array reconfiguration, and it's safe to
suspend the array directly because normal io won't rely on
md_start_sync().
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20231010151958.145896-18-yukuai1@huaweicloud.com
Diffstat (limited to 'drivers/md/md.h')
0 files changed, 0 insertions, 0 deletions