summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/btree_gc.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-04-12 04:39:39 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:08:20 +0200
commitd07343561e263fcbbdb8042f35ca29a602190e18 (patch)
tree5dbc1590f373699e01b1f319c072e14d6688d751 /fs/bcachefs/btree_gc.h
parentbcachefs: Journal replay refactoring (diff)
downloadlinux-d07343561e263fcbbdb8042f35ca29a602190e18.tar.xz
linux-d07343561e263fcbbdb8042f35ca29a602190e18.zip
bcachefs: Deduplicate keys in the journal before replay
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_gc.h')
-rw-r--r--fs/bcachefs/btree_gc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_gc.h b/fs/bcachefs/btree_gc.h
index b7982e64b235..bd5f2752954f 100644
--- a/fs/bcachefs/btree_gc.h
+++ b/fs/bcachefs/btree_gc.h
@@ -5,7 +5,9 @@
#include "btree_types.h"
void bch2_coalesce(struct bch_fs *);
-int bch2_gc(struct bch_fs *, struct list_head *, bool, bool);
+
+struct journal_keys;
+int bch2_gc(struct bch_fs *, struct journal_keys *, bool, bool);
void bch2_gc_thread_stop(struct bch_fs *);
int bch2_gc_thread_start(struct bch_fs *);
void bch2_mark_dev_superblock(struct bch_fs *, struct bch_dev *, unsigned);