diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-20 17:24:32 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-24 02:08:25 -0500 |
commit | 50e029c6390a6795869b742a5fce1e57d6a76c82 (patch) | |
tree | 072b0f894d0989609a47db26900eda354ca50bba /fs/bcachefs/move.h | |
parent | 6201d91ee32cf92e9bcca69a3cf73461827b5ce5 (diff) | |
download | lwn-50e029c6390a6795869b742a5fce1e57d6a76c82.tar.gz lwn-50e029c6390a6795869b742a5fce1e57d6a76c82.zip |
bcachefs: bch2_moving_ctxt_flush_all()
Introduce a new helper to flush all move IOs, and use it in a few places
where we should have been.
The new helper also drops btree locks before waiting on outstanding move
writes, avoiding potential deadlocks.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/move.h')
0 files changed, 0 insertions, 0 deletions