]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fusefs: recycle vnodes after their last unlink
authorasomers <asomers@FreeBSD.org>
Thu, 27 Jun 2019 20:18:12 +0000 (20:18 +0000)
committerasomers <asomers@FreeBSD.org>
Thu, 27 Jun 2019 20:18:12 +0000 (20:18 +0000)
commiteb943e2bbb8548cfe7d3a89b3af7b6fe0de09fe6
treed6ff33d827db666a4bb3fd6281382d14a7cee9c9
parentbf0e04cba2d0cb61baf21ccf0a3e09841a5dd3cc
fusefs: recycle vnodes after their last unlink

Previously fusefs would never recycle vnodes.  After VOP_INACTIVE, they'd
linger around until unmount or the vnlru reclaimed them.  This commit
essentially actives and inlines the old reclaim_revoked sysctl, and fixes
some issues dealing with the attribute cache and multiply linked files.

Sponsored by: The FreeBSD Foundation
UPDATING
share/man/man5/fusefs.5
sys/fs/fuse/fuse_internal.c
sys/fs/fuse/fuse_vnops.c
tests/sys/fs/fusefs/rmdir.cc
tests/sys/fs/fusefs/unlink.cc