diff options
author | Xueshi Hu <[email protected]> | 2023-08-14 21:53:55 +0800 |
---|---|---|
committer | Song Liu <[email protected]> | 2023-08-17 21:11:30 -0700 |
commit | 992db13a4aee766c8bfbf046ad15c2db5fa7cab8 (patch) | |
tree | 09c6fd0f533addccef1059d9c48efc2ab0dc8399 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | c5d736f548ec5aab7e877872417ac23a5c42f1fd (diff) |
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 <[email protected]>
Signed-off-by: Xueshi Hu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions