svn commit: r364188 - stable/12/sys/kern

Mark Johnston markj at FreeBSD.org
Thu Aug 13 13:58:22 UTC 2020


Author: markj
Date: Thu Aug 13 13:58:21 2020
New Revision: 364188
URL: https://svnweb.freebsd.org/changeset/base/364188

Log:
  MFC r363959:
  Remove the vfs.reassignbufcalls counter and sysctl.

Modified:
  stable/12/sys/kern/vfs_subr.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/kern/vfs_subr.c
==============================================================================
--- stable/12/sys/kern/vfs_subr.c	Thu Aug 13 10:24:45 2020	(r364187)
+++ stable/12/sys/kern/vfs_subr.c	Thu Aug 13 13:58:21 2020	(r364188)
@@ -205,15 +205,6 @@ static counter_u64_t recycles_count;
 SYSCTL_COUNTER_U64(_vfs, OID_AUTO, recycles, CTLFLAG_RD, &recycles_count,
     "Number of vnodes recycled to meet vnode cache targets");
 
-/*
- * Various variables used for debugging the new implementation of
- * reassignbuf().
- * XXX these are probably of (very) limited utility now.
- */
-static int reassignbufcalls;
-SYSCTL_INT(_vfs, OID_AUTO, reassignbufcalls, CTLFLAG_RW, &reassignbufcalls, 0,
-    "Number of calls to reassignbuf");
-
 static counter_u64_t free_owe_inact;
 SYSCTL_COUNTER_U64(_vfs, OID_AUTO, free_owe_inact, CTLFLAG_RD, &free_owe_inact,
     "Number of times free vnodes kept on active list due to VFS "
@@ -2544,7 +2535,6 @@ reassignbuf(struct buf *bp)
 
 	vp = bp->b_vp;
 	bo = bp->b_bufobj;
-	++reassignbufcalls;
 
 	CTR3(KTR_BUF, "reassignbuf(%p) vp %p flags %X",
 	    bp, bp->b_vp, bp->b_flags);


More information about the svn-src-stable-12 mailing list