Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2019 16:20:50 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r348461 - stable/12/share/man/man9
Message-ID:  <201905311620.x4VGKoPi019516@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Fri May 31 16:20:50 2019
New Revision: 348461
URL: https://svnweb.freebsd.org/changeset/base/348461

Log:
  MFC r345202:
  
  VOP_INACTIVE(9): clarify wording
  
  Reviewed by:	kib, 0mp
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D19596

Modified:
  stable/12/share/man/man9/VOP_INACTIVE.9
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/share/man/man9/VOP_INACTIVE.9
==============================================================================
--- stable/12/share/man/man9/VOP_INACTIVE.9	Fri May 31 16:20:00 2019	(r348460)
+++ stable/12/share/man/man9/VOP_INACTIVE.9	Fri May 31 16:20:50 2019	(r348461)
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 27, 2014
+.Dd March 15, 2019
 .Dt VOP_INACTIVE 9
 .Os
 .Sh NAME
@@ -50,13 +50,16 @@ The vnode being reclaimed.
 .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.
+However, there is no guarantee that it will be called at all, for example if
+the last reference was dropped while the vnode lock could not be upgraded
+to exclusive without sleeping.
 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.
 .Pp
 .Fn VOP_RECLAIM
 is called when a vnode is being reused for a different file system.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905311620.x4VGKoPi019516>