summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/bcachefs_format.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-03-31 22:24:45 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:09:59 +0200
commit62a03559d667c1b0552a692ac01c576358847318 (patch)
tree3873884189ec483d5e0ddf1072aade78f883c9db /fs/bcachefs/bcachefs_format.h
parentbcachefs: use reservation for log messages during recovery (diff)
downloadlinux-62a03559d667c1b0552a692ac01c576358847318.tar.xz
linux-62a03559d667c1b0552a692ac01c576358847318.zip
bcachefs: Rip out code for storing backpointers in alloc keys
We don't store backpointers in alloc keys anymore, since we gained the btree write buffer. This patch drops support for backpointers in alloc keys, and revs the on disk format version so that we know a fsck is required. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs_format.h')
-rw-r--r--fs/bcachefs/bcachefs_format.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/bcachefs_format.h b/fs/bcachefs/bcachefs_format.h
index aae658d17797..013d5e185d97 100644
--- a/fs/bcachefs/bcachefs_format.h
+++ b/fs/bcachefs/bcachefs_format.h
@@ -1558,7 +1558,8 @@ struct bch_sb_field_journal_seq_blacklist {
x(unwritten_extents, 24) \
x(bucket_gens, 25) \
x(lru_v2, 26) \
- x(fragmentation_lru, 27)
+ x(fragmentation_lru, 27) \
+ x(no_bps_in_alloc_keys, 28)
enum bcachefs_metadata_version {
bcachefs_metadata_version_min = 9,