diff options
author | Xueshi Hu <xueshi.hu@smartx.com> | 2023-08-14 21:53:56 +0800 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2023-08-17 21:11:30 -0700 |
commit | c069da449a13669ffa754fd971747e7e17e7d691 (patch) | |
tree | 223fa12fa569a3f120905bcf13aeff2e5cc305f3 /scripts/gdb/linux/mm.py | |
parent | 992db13a4aee766c8bfbf046ad15c2db5fa7cab8 (diff) |
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 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions