Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2019 15:11:36 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r348739 - projects/fuse2/sys/kern
Message-ID:  <201906061511.x56FBaI8039914@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Thu Jun  6 15:11:36 2019
New Revision: 348739
URL: https://svnweb.freebsd.org/changeset/base/348739

Log:
  [skip ci] Better comments for vlrureclaim
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  projects/fuse2/sys/kern/vfs_subr.c

Modified: projects/fuse2/sys/kern/vfs_subr.c
==============================================================================
--- projects/fuse2/sys/kern/vfs_subr.c	Thu Jun  6 15:07:49 2019	(r348738)
+++ projects/fuse2/sys/kern/vfs_subr.c	Thu Jun  6 15:11:36 2019	(r348739)
@@ -858,6 +858,12 @@ vattr_null(struct vattr *vap)
  * desirable to reuse such vnodes.  These conditions may cause the
  * number of vnodes to reach some minimum value regardless of what
  * you set kern.maxvnodes to.  Do not set kern.maxvnodes too low.
+ *
+ * @param mp		 Try to reclaim vnodes from this mountpoint
+ * @param reclaim_nc_src Only reclaim directories with outgoing namecache
+ * 			 entries if this argument is strue
+ * @param reclaim_free	 Only reclaim free vnodes if this is set.
+ * @return		 The number of vnodes that were reclaimed.
  */
 static int
 vlrureclaim(struct mount *mp, int reclaim_nc_src, int trigger)



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