Page MenuHomeFreeBSD

D19596.id55115.diff
No OneTemporary

D19596.id55115.diff

Index: share/man/man9/VOP_INACTIVE.9
===================================================================
--- share/man/man9/VOP_INACTIVE.9
+++ share/man/man9/VOP_INACTIVE.9
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 27, 2014
+.Dd March 15, 2019
.Dt VOP_INACTIVE 9
.Os
.Sh NAME
@@ -50,13 +50,15 @@
.El
.Pp
.Fn VOP_INACTIVE
-is called when the kernel is no longer using the vnode.
+is usually called when the kernel is no longer using the vnode.
This may be
because the reference count reaches zero or it may be that the
file system is being forcibly unmounted while there are open files.
-It can be used to reclaim space for
+It can be used to reclaim space on the last close of an
.Sq open but deleted
-files.
+file.
+However, there is no guarantee that it will be called at all, for example if
+the last reference was dropped while the vnode could not be locked exclusively.
.Pp
.Fn VOP_RECLAIM
is called when a vnode is being reused for a different file system.

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 25, 5:07 PM (1 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24181908
Default Alt Text
D19596.id55115.diff (988 B)

Event Timeline