HomeFreeBSD

Stop ignoring ERELOOKUP from VOP_INACTIVE()

Description

Stop ignoring ERELOOKUP from VOP_INACTIVE()

When possible, relock the vnode and retry inactivation. Only vunref() is
required not to drop the vnode lock, so handle it specially by not retrying.

This is a part of the efforts to ensure that unlinked not referenced vnode
does not prevent inode from reusing.

Reviewed by: chs, mckusick
Tested by: pho
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation

Details

Provenance
kibAuthored on Jan 30 2021, 7:17 PM
Parents
rG6aed2435c8bf: ufs vnops: brace softdep_prelink() with DOINGSUJ instead of DOINGSOFTDEP
Branches
Unknown
Tags
Unknown