HomeFreeBSD

MFC r348737:

Description

MFC r348737:

Add a testing facility to manually reclaim a vnode

Add the debug.try_reclaim_vnode sysctl. When a pathname is written to it, it
will be reclaimed, as long as it isn't already or doomed. The purpose is to
gain test coverage for vnode reclamation, which is otherwise hard to
achieve.

Add the debug.ftry_reclaim_vnode sysctl. It does the same thing, except
that its argument is a file descriptor instead of a pathname.

Reviewed by: kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D20519

Details

Provenance
asomersAuthored on
Reviewer
kib
Differential Revision
D20519: Add a debugging facility to manually reclaim a vnode
Parents
rS349306: MFC r348316:
Branches
Unknown
Tags
Unknown