diff options
author | 2023-08-14 21:53:55 +0800 | |
---|---|---|
committer | 2023-08-17 21:11:30 -0700 | |
commit | 992db13a4aee766c8bfbf046ad15c2db5fa7cab8 (patch) | |
tree | 09c6fd0f533addccef1059d9c48efc2ab0dc8399 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | md/raid1: call free_r1bio() before allow_barrier() in raid_end_bio_io() (diff) | |
download | wireguard-linux-992db13a4aee766c8bfbf046ad15c2db5fa7cab8.tar.xz wireguard-linux-992db13a4aee766c8bfbf046ad15c2db5fa7cab8.zip |
md/raid1: free the r1bio before waiting for blocked rdev
Raid1 reshape will change mempool and r1conf::raid_disks which are
needed to free r1bio. allow_barrier() make a concurrent raid1_reshape()
possible. So, free the in-flight r1bio before waiting blocked rdev.
Fixes: 6bfe0b499082 ("md: support blocking writes to an array on device failure")
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Xueshi Hu <xueshi.hu@smartx.com>
Link: https://lore.kernel.org/r/20230814135356.1113639-3-xueshi.hu@smartx.com
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions