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>
This commit is contained in:
parent
ec438ac59d
commit
6e4d9bd110
|
@ -321,9 +321,9 @@ struct bkey_cached {
|
||||||
struct btree_bkey_cached_common c;
|
struct btree_bkey_cached_common c;
|
||||||
|
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
unsigned long btree_trans_barrier_seq;
|
||||||
u16 u64s;
|
u16 u64s;
|
||||||
bool valid;
|
bool valid;
|
||||||
u32 btree_trans_barrier_seq;
|
|
||||||
struct bkey_cached_key key;
|
struct bkey_cached_key key;
|
||||||
|
|
||||||
struct rhash_head hash;
|
struct rhash_head hash;
|
||||||
|
|
Loading…
Reference in New Issue