aboutsummaryrefslogtreecommitdiff
path: root/fs/bcachefs/recovery.c
diff options
context:
space:
mode:
authorGravatar Kent Overstreet <kent.overstreet@linux.dev> 2023-08-27 18:27:41 -0400
committerGravatar Kent Overstreet <kent.overstreet@linux.dev> 2023-10-22 17:10:12 -0400
commitaaad530ac6b1c836de4a29d227ab68be97e39a73 (patch)
tree0055c4852c1d71ad2ef96e36ed0c691aa1d24a8f /fs/bcachefs/recovery.c
parentbcachefs: New io_misc.c helpers (diff)
downloadlinux-aaad530ac6b1c836de4a29d227ab68be97e39a73.tar.gz
linux-aaad530ac6b1c836de4a29d227ab68be97e39a73.tar.bz2
linux-aaad530ac6b1c836de4a29d227ab68be97e39a73.zip
bcachefs: BTREE_ID_logged_ops
Add a new btree for long running logged operations - i.e. for logging operations that we can't do within a single btree transaction, so that they can be resumed if we crash. Keys in the logged operations btree will represent operations in progress, with the state of the operation stored in the value. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/recovery.c')
-rw-r--r--fs/bcachefs/recovery.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/recovery.c b/fs/bcachefs/recovery.c
index 30efb3c90560..f5f6eea2cbae 100644
--- a/fs/bcachefs/recovery.c
+++ b/fs/bcachefs/recovery.c
@@ -20,6 +20,7 @@
#include "journal_reclaim.h"
#include "journal_seq_blacklist.h"
#include "lru.h"
+#include "logged_ops.h"
#include "move.h"
#include "quota.h"
#include "recovery.h"