diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-20 21:13:20 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-20 21:15:51 +0200 |
commit | 6e4d9bd110e293513c3c2a3ff2dfa0a0735699e0 (patch) | |
tree | 1f225bb727101fbb47cefc0e72b1d0dfd7e43d78 /fs/bcachefs | |
parent | bcachefs: Fix missing call to bch2_fs_allocator_background_exit() (diff) | |
download | linux-6e4d9bd110e293513c3c2a3ff2dfa0a0735699e0.tar.xz linux-6e4d9bd110e293513c3c2a3ff2dfa0a0735699e0.zip |
bcachefs: bkey_cached.btree_trans_barrier_seq needs to be a ulong
this stores the SRCU sequence number, which we use to check if an SRCU
barrier has elapsed; this is a partial fix for the key cache shrinker
not actually freeing.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs')
-rw-r--r-- | fs/bcachefs/btree_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_types.h b/fs/bcachefs/btree_types.h index e0c982a4195c..c69b233c41bb 100644 --- a/fs/bcachefs/btree_types.h +++ b/fs/bcachefs/btree_types.h @@ -321,9 +321,9 @@ struct bkey_cached { struct btree_bkey_cached_common c; unsigned long flags; + unsigned long btree_trans_barrier_seq; u16 u64s; bool valid; - u32 btree_trans_barrier_seq; struct bkey_cached_key key; struct rhash_head hash; |