pub fn subvol_sync_wait_one(fd: BorrowedFd<'_>, subvolid: u64) -> Result<()>Expand description
Wait for a specific deleted subvolume to be fully cleaned by the kernel.
Blocks until the background cleaner has finished removing the on-disk
data for the given subvolume ID. Returns Ok(()) both when the wait
completes and when the subvolume is already gone (ENOENT).
Useful after subvolume_delete when subsequent operations depend on
the subvolume being fully gone (e.g. qgroup staleness checks).
ยงErrors
Returns Err if the ioctl fails (other than ENOENT).