svn commit: r348739 - projects/fuse2/sys/kern
Alan Somers
asomers at FreeBSD.org
Thu Jun 6 15:11:37 UTC 2019
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)
More information about the svn-src-projects
mailing list