diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-10-28 19:33:59 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:30 -0400 |
commit | ff929515cc52ed693ff2116be3af9f32122e9b54 (patch) | |
tree | 275f7c6ab71076f6e6c40048d545b11a36df4e47 /fs/bcachefs/bcachefs.h | |
parent | c4e065c23c4ad464be2fb1c4dfa70090cc3d0c66 (diff) | |
download | lwn-ff929515cc52ed693ff2116be3af9f32122e9b54.tar.gz lwn-ff929515cc52ed693ff2116be3af9f32122e9b54.zip |
bcachefs: Trust btree alloc info at runtime
This lets us avoid a cache miss in the write path.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs.h')
-rw-r--r-- | fs/bcachefs/bcachefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/bcachefs.h b/fs/bcachefs/bcachefs.h index 093dc906353d..f8a040115fd1 100644 --- a/fs/bcachefs/bcachefs.h +++ b/fs/bcachefs/bcachefs.h @@ -499,6 +499,7 @@ enum { /* misc: */ BCH_FS_BDEV_MOUNTED, BCH_FS_FIXED_GENS, + BCH_FS_ALLOC_WRITTEN, BCH_FS_REBUILD_REPLICAS, BCH_FS_HOLD_BTREE_WRITES, }; |