summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/move.h
diff options
context:
space:
mode:
authorDaniel Hill <daniel@gluo.nz>2023-11-26 19:33:31 +1300
committerKent Overstreet <kent.overstreet@linux.dev>2024-01-01 11:47:39 -0500
commit0c069781ddfa4e31c169a8eced1ee90b8929d522 (patch)
tree42d4dd63da54901fd5386c306d9f8cc66ffc1882 /fs/bcachefs/move.h
parent74529338805d514a07ba4e6feb25997c4be3bddd (diff)
downloadlinux-0c069781ddfa4e31c169a8eced1ee90b8929d522.tar.gz
linux-0c069781ddfa4e31c169a8eced1ee90b8929d522.tar.bz2
linux-0c069781ddfa4e31c169a8eced1ee90b8929d522.zip
bcachefs: rebalance should wakeup on shutdown if disabled
Signed-off-by: Daniel Hill <daniel@gluo.nz> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/move.h')
-rw-r--r--fs/bcachefs/move.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/move.h b/fs/bcachefs/move.h
index 6a38fed85738..9baf3093a678 100644
--- a/fs/bcachefs/move.h
+++ b/fs/bcachefs/move.h
@@ -83,6 +83,7 @@ void bch2_moving_ctxt_init(struct moving_context *, struct bch_fs *,
struct write_point_specifier, bool);
struct moving_io *bch2_moving_ctxt_next_pending_write(struct moving_context *);
void bch2_moving_ctxt_do_pending_writes(struct moving_context *);
+void bch2_moving_ctxt_flush_all(struct moving_context *);
void bch2_move_ctxt_wait_for_io(struct moving_context *);
int bch2_move_ratelimit(struct moving_context *);