Re: [PATCH v3 0/5] ceph/libceph: killable sync waits and faster recovery after network disruption
From: Alex Markuze
Date: Tue Nov 24 2026 - 08:54:23 EST
Hi Ionut,
A normal final unmount calls sync_filesystem() from ceph_kill_sb(),
but ignores its return. If SIGKILL interrupts the new killable cap
flush wait while the MDS is unreachable, teardown can continue without
the flush being acknowledged. If the update never reaches the MDS and
the outage lasts through session close, the client can purge the flush,
losing a previously successful cached xattr update.
Please keep the OSD-then-MDS sync waits uninterruptible during normal
superblock teardown, including both sync_filesystem() calls. Keep the
sync()/syncfs() waits killable outside teardown and preserve the
existing forced-unmount abort behavior.
Thanks,
Alex