summaryrefslogtreecommitdiff
path: root/fs/bcachefs/bcachefs.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-11-18 23:20:21 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:08:12 -0400
commit61274e9d45547e741cfafc80fb78a81275c8394a (patch)
tree2c2945bd5ad3b97894f1c666991c39b8b7a4ac85 /fs/bcachefs/bcachefs.h
parenta9ec3454011f218e583832d93244057257c7dfe2 (diff)
downloadlwn-61274e9d45547e741cfafc80fb78a81275c8394a.tar.gz
lwn-61274e9d45547e741cfafc80fb78a81275c8394a.zip
bcachefs: Allocator startup improvements
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs.h')
-rw-r--r--fs/bcachefs/bcachefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/bcachefs.h b/fs/bcachefs/bcachefs.h
index b33fbf709705..cdea3a1d9176 100644
--- a/fs/bcachefs/bcachefs.h
+++ b/fs/bcachefs/bcachefs.h
@@ -394,6 +394,7 @@ struct bch_dev {
*/
struct bucket_array __rcu *buckets;
unsigned long *buckets_dirty;
+ unsigned long *buckets_written;
/* most out of date gen in the btree */
u8 *oldest_gens;
struct rw_semaphore bucket_lock;