diff options
author | Yu Kuai <yukuai3@huawei.com> | 2023-10-10 18:19:50 +0300 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2023-10-11 04:49:50 +0300 |
commit | cfa078c8b80d0daf8f2fd4a2ab8e26fa8c33bca1 (patch) | |
tree | 6340aaca669b9cd4f4c0798e01137a36528eda9c /scripts/lib/kdoc/kdoc_files.py | |
parent | 205669f37770772c1ae8c2dac1eba6da521a8b77 (diff) | |
download | linux-cfa078c8b80d0daf8f2fd4a2ab8e26fa8c33bca1.tar.xz |
md: use new apis to suspend array for adding/removing rdev from state_store()
User can write 'remove' and 're-add' to trigger array reconfiguration
through sysfs, suspend array in this case so that io won't concurrent
with array reconfiguration.
And now that all the caller of add_bound_rdev() alread suspend the
array, remove mddev_suspend/resume() from add_bound_rdev() as well.
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20231010151958.145896-12-yukuai1@huaweicloud.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions