summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/btree_gc.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-08-05 22:08:44 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:10:10 +0200
commit401585fe87c2359f7aa24a309ec90e2589da9b46 (patch)
tree0cd91d890b896f62b56911660e68f6521da1a522 /fs/bcachefs/btree_gc.c
parentbcachefs: sb-clean.c (diff)
downloadlinux-401585fe87c2359f7aa24a309ec90e2589da9b46.tar.xz
linux-401585fe87c2359f7aa24a309ec90e2589da9b46.zip
bcachefs: btree_journal_iter.c
Split out a new file from recovery.c for managing the list of keys we read from the journal: before journal replay finishes the btree iterator code needs to be able to iterate over and return keys from the journal as well, so there's a fair bit of code here. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_gc.c')
-rw-r--r--fs/bcachefs/btree_gc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/btree_gc.c b/fs/bcachefs/btree_gc.c
index 1a749d4be5b9..dac2eb76c985 100644
--- a/fs/bcachefs/btree_gc.c
+++ b/fs/bcachefs/btree_gc.c
@@ -9,6 +9,7 @@
#include "alloc_foreground.h"
#include "bkey_methods.h"
#include "bkey_buf.h"
+#include "btree_journal_iter.h"
#include "btree_key_cache.h"
#include "btree_locking.h"
#include "btree_update_interior.h"