diff options
author | Daniel Hill <daniel@gluo.nz> | 2023-11-26 19:33:31 +1300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 11:47:39 -0500 |
commit | 0c069781ddfa4e31c169a8eced1ee90b8929d522 (patch) | |
tree | 42d4dd63da54901fd5386c306d9f8cc66ffc1882 /fs/bcachefs/move.c | |
parent | 74529338805d514a07ba4e6feb25997c4be3bddd (diff) | |
download | linux-stable-0c069781ddfa4e31c169a8eced1ee90b8929d522.tar.gz linux-stable-0c069781ddfa4e31c169a8eced1ee90b8929d522.tar.bz2 linux-stable-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.c')
-rw-r--r-- | fs/bcachefs/move.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/move.c b/fs/bcachefs/move.c index 638603d774b5..847ab0eba2da 100644 --- a/fs/bcachefs/move.c +++ b/fs/bcachefs/move.c @@ -159,7 +159,7 @@ void bch2_move_ctxt_wait_for_io(struct moving_context *ctxt) atomic_read(&ctxt->write_sectors) != sectors_pending); } -static void bch2_moving_ctxt_flush_all(struct moving_context *ctxt) +void bch2_moving_ctxt_flush_all(struct moving_context *ctxt) { move_ctxt_wait_event(ctxt, list_empty(&ctxt->reads)); bch2_trans_unlock_long(ctxt->trans); |