diff options
author | Xueshi Hu <xueshi.hu@smartx.com> | 2023-08-14 21:53:54 +0800 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2023-08-17 21:11:30 -0700 |
commit | c5d736f548ec5aab7e877872417ac23a5c42f1fd (patch) | |
tree | c4bc06b37fe9a90d97bbad343abd35e8ad8bf632 /scripts/bpf_doc.py | |
parent | ec14a87ee1999b19d8b7ed0fa95fea80644624ae (diff) |
md/raid1: call free_r1bio() before allow_barrier() in raid_end_bio_io()
After allow_barrier, a concurrent raid1_reshape() will replace old mempool
and r1conf::raid_disks. Move allow_barrier() to the end of raid_end_bio_io(),
so that r1bio can be freed safely.
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Xueshi Hu <xueshi.hu@smartx.com>
Link: https://lore.kernel.org/r/20230814135356.1113639-2-xueshi.hu@smartx.com
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions