summaryrefslogtreecommitdiff
path: root/fs/bcachefs/buckets_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-08-27 17:45:42 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-06-20 22:27:31 -0400
commitd39168206d45e86cf37bdd01718b541822f9e3c8 (patch)
treee7662a0890cb2defbe18b9a86ce277cf9b3379df /fs/bcachefs/buckets_types.h
parent223adcaae6542ed3522e81c823de6fec77255ddc (diff)
bcachefs: Refactor bch2_alloc_write()
Major simplification - gets rid of the need for marking buckets as dirty, instead we write buckets if the in memory mark is different from what's in the btree. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/buckets_types.h')
-rw-r--r--fs/bcachefs/buckets_types.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/buckets_types.h b/fs/bcachefs/buckets_types.h
index efed658abc6a..7ab9aa641c95 100644
--- a/fs/bcachefs/buckets_types.h
+++ b/fs/bcachefs/buckets_types.h
@@ -15,7 +15,6 @@ struct bucket_mark {
u8 gen;
u8 data_type:3,
owned_by_allocator:1,
- dirty:1,
journal_seq_valid:1,
stripe:1;
u16 dirty_sectors;