diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-30 22:13:09 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-05 05:19:11 +0300 |
commit | f82755e4e8b83a4a98ebd6d819d716547fe11919 (patch) | |
tree | 4b91b447e899e17bf0098223e5ad813af6ae776c /fs/bcachefs/movinggc.c | |
parent | c4accde498dd7db8352d574958d19a5f710aba69 (diff) | |
download | linux-f82755e4e8b83a4a98ebd6d819d716547fe11919.tar.xz |
bcachefs: Data move path now uses bch2_trans_unlock_long()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/movinggc.c')
-rw-r--r-- | fs/bcachefs/movinggc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bcachefs/movinggc.c b/fs/bcachefs/movinggc.c index e0efa5282a77..4d955f3cc5b2 100644 --- a/fs/bcachefs/movinggc.c +++ b/fs/bcachefs/movinggc.c @@ -128,7 +128,7 @@ static void move_buckets_wait(struct moving_context *ctxt, kfree(i); } - bch2_trans_unlock(ctxt->trans); + bch2_trans_unlock_long(ctxt->trans); } static bool bucket_in_flight(struct buckets_in_flight *list, @@ -327,7 +327,7 @@ static int bch2_copygc_thread(void *arg) while (!ret && !kthread_should_stop()) { bool did_work = false; - bch2_trans_unlock(ctxt.trans); + bch2_trans_unlock_long(ctxt.trans); cond_resched(); if (!c->copy_gc_enabled) { |