diff options
author | 2023-08-14 21:53:56 +0800 | |
---|---|---|
committer | 2023-08-17 21:11:30 -0700 | |
commit | c069da449a13669ffa754fd971747e7e17e7d691 (patch) | |
tree | 223fa12fa569a3f120905bcf13aeff2e5cc305f3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | md/raid1: free the r1bio before waiting for blocked rdev (diff) | |
download | wireguard-linux-c069da449a13669ffa754fd971747e7e17e7d691.tar.xz wireguard-linux-c069da449a13669ffa754fd971747e7e17e7d691.zip |
md/raid1: hold the barrier until handle_read_error() finishes
handle_read_error() will call allow_barrier() to match the former barrier
raising. However, it should put the allow_barrier() at the end to avoid a
concurrent raid reshape.
Fixes: 689389a06ce7 ("md/raid1: simplify handle_read_error().")
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Xueshi Hu <xueshi.hu@smartx.com>
Link: https://lore.kernel.org/r/20230814135356.1113639-4-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