summaryrefslogtreecommitdiff
path: root/libbcachefs/bcachefs.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-02-20 18:55:08 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-02-20 20:03:34 -0500
commitda6a35689518599b381c285cd9505ab8d58f7c73 (patch)
tree20ae5acb9ca8f8a89a45aa52a092be8d13f29d74 /libbcachefs/bcachefs.h
parent46a6b9210c927ab46fd1227cb6f641be0b4a7505 (diff)
Update bcachefs sources to 8e1519ccb6 bcachefs: Add tracepoint & counter for btree split race
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/bcachefs.h')
-rw-r--r--libbcachefs/bcachefs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libbcachefs/bcachefs.h b/libbcachefs/bcachefs.h
index b10e39d8..7f9c1087 100644
--- a/libbcachefs/bcachefs.h
+++ b/libbcachefs/bcachefs.h
@@ -940,8 +940,11 @@ struct bch_fs {
GENRADIX(struct stripe) stripes;
GENRADIX(struct gc_stripe) gc_stripes;
+ struct hlist_head ec_stripes_new[32];
+ spinlock_t ec_stripes_new_lock;
+
ec_stripes_heap ec_stripes_heap;
- spinlock_t ec_stripes_heap_lock;
+ struct mutex ec_stripes_heap_lock;
/* ERASURE CODING */
struct list_head ec_stripe_head_list;