summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/buckets.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-05-14 20:37:11 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:08:22 +0200
commit6fb076e60d65e574756cd1a4262c1c05b750ec21 (patch)
treea230de20d70f97167f28441d0c8ee87b228a586b /fs/bcachefs/buckets.h
parentbcachefs: improved btree locking tracepoints (diff)
downloadlinux-6fb076e60d65e574756cd1a4262c1c05b750ec21.tar.xz
linux-6fb076e60d65e574756cd1a4262c1c05b750ec21.zip
bcachefs: Fix spurious inconsistency in recovery
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/buckets.h')
-rw-r--r--fs/bcachefs/buckets.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/buckets.h b/fs/bcachefs/buckets.h
index 578019089a91..9f53fe6280f3 100644
--- a/fs/bcachefs/buckets.h
+++ b/fs/bcachefs/buckets.h
@@ -251,6 +251,7 @@ void bch2_mark_metadata_bucket(struct bch_fs *, struct bch_dev *,
#define BCH_BUCKET_MARK_GC (1 << 0)
#define BCH_BUCKET_MARK_NOATOMIC (1 << 1)
+#define BCH_BUCKET_MARK_ALLOC_READ (1 << 2)
int bch2_mark_key_locked(struct bch_fs *, struct bkey_s_c,
bool, s64, struct bch_fs_usage *,