projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51fe033
)
bcachefs: evacuate_bucket() no longer calls verify_bucket_evacuated()
author
Kent Overstreet
<kent.overstreet@linux.dev>
Fri, 10 Mar 2023 22:40:21 +0000
(17:40 -0500)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:56 +0000
(17:09 -0400)
The copygc code itself now calls this when all moves from a given bucket
are complete.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/move.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/move.c
b/fs/bcachefs/move.c
index 3a650bc4173a4f8f946934dfd489350ea1081135..681d134f2e438405072e660bfaef958cf4532cae 100644
(file)
--- a/
fs/bcachefs/move.c
+++ b/
fs/bcachefs/move.c
@@
-818,14
+818,6
@@
next:
}
trace_evacuate_bucket(c, &bucket, dirty_sectors, bucket_size, fragmentation, ret);
-
- if (IS_ENABLED(CONFIG_BCACHEFS_DEBUG) && gen >= 0) {
- bch2_trans_unlock(trans);
- move_ctxt_wait_event(ctxt, NULL, list_empty(&ctxt->reads));
- closure_sync(&ctxt->cl);
- if (!ctxt->write_error)
- bch2_verify_bucket_evacuated(trans, bucket, gen);
- }
err:
bch2_bkey_buf_exit(&sk, c);
return ret;