On Mon, Jul 07, 2025 at 01:03:22PM -0700, Viacheslav Dubeyko wrote: > spin_lock(&dentry->d_lock); > - di->flags &= ~CEPH_DENTRY_ASYNC_UNLINK; > + clear_bit(CEPH_DENTRY_ASYNC_UNLINK_BIT, &di->flags); > + /* ensure modified bit is visible */ > + smp_mb__after_atomic(); > wake_up_bit(&di->flags, CEPH_DENTRY_ASYNC_UNLINK_BIT); Seems like you're open-coding clear_and_wake_up_bit()?