Re: [PATCH] bcache: wait for RCU grace period before rehashing btree node
From: Bilal Hashim
Date: Thu Dec 03 2026 - 19:44:52 EST
Hi Coly,
I'm a real person, sorry for the overly formal patch wording — I'm still
getting used to kernel mailing list conventions.
I ran into the hlist_del_init_rcu() / hlist_add_head_rcu() reuse in
mca_alloc() while reading through the btree cache path and tested the
change in QEMU with lockdep enabled. If synchronize_rcu() here isn't
acceptable due to latency or if there's a better way to handle this
in bcache, I'm happy to look into an alternative approach or drop it
based on your feedback.
Thanks,
Bilal