HomeFreeBSD

If the vfs.ffs.dotrimcons sysctl option is enabled while a file

Description

If the vfs.ffs.dotrimcons sysctl option is enabled while a file
deletion is active, specifically after a call to ffs_blkrelease_start()
but before the call to ffs_blkrelease_finish(), ffs_blkrelease_start()
will have handed out SINGLETON_KEY rather than starting a collection
sequence. Thus if we get a SINGLETON_KEY passed to ffs_blkrelease_finish(),
we just return rather than trying to finish the nonexistent sequence.

Reported by: Warner Losh (imp@)
Sponsored by: Netflix

Details

Provenance
mckusickAuthored on
Parents
rS341610: tag bmake-20180919
Branches
Unknown
Tags
Unknown