svn commit: r331344 - head/sys/kern

Gleb Smirnoff glebius at FreeBSD.org
Thu Mar 22 05:26:28 UTC 2018


Author: glebius
Date: Thu Mar 22 05:26:27 2018
New Revision: 331344
URL: https://svnweb.freebsd.org/changeset/base/331344

Log:
  Redo r331328. We need to fix not only type but also format. While
  here again notice that we are fixing regression from r331106.

Modified:
  head/sys/kern/vfs_bio.c

Modified: head/sys/kern/vfs_bio.c
==============================================================================
--- head/sys/kern/vfs_bio.c	Thu Mar 22 05:07:57 2018	(r331343)
+++ head/sys/kern/vfs_bio.c	Thu Mar 22 05:26:27 2018	(r331344)
@@ -262,17 +262,17 @@ SYSCTL_PROC(_vfs, OID_AUTO, numdirtybuffers,
 static int lodirtybuffers;
 SYSCTL_PROC(_vfs, OID_AUTO, lodirtybuffers,
     CTLTYPE_INT|CTLFLAG_MPSAFE|CTLFLAG_RW, &lodirtybuffers,
-    __offsetof(struct bufdomain, bd_lodirtybuffers), sysctl_bufdomain_int, "L",
+    __offsetof(struct bufdomain, bd_lodirtybuffers), sysctl_bufdomain_int, "I",
     "How many buffers we want to have free before bufdaemon can sleep");
 static int hidirtybuffers;
 SYSCTL_PROC(_vfs, OID_AUTO, hidirtybuffers,
     CTLTYPE_INT|CTLFLAG_MPSAFE|CTLFLAG_RW, &hidirtybuffers,
-    __offsetof(struct bufdomain, bd_hidirtybuffers), sysctl_bufdomain_int, "L",
+    __offsetof(struct bufdomain, bd_hidirtybuffers), sysctl_bufdomain_int, "I",
     "When the number of dirty buffers is considered severe");
 int dirtybufthresh;
 SYSCTL_PROC(_vfs, OID_AUTO, dirtybufthresh,
     CTLTYPE_INT|CTLFLAG_MPSAFE|CTLFLAG_RW, &dirtybufthresh,
-    __offsetof(struct bufdomain, bd_dirtybufthresh), sysctl_bufdomain_int, "L",
+    __offsetof(struct bufdomain, bd_dirtybufthresh), sysctl_bufdomain_int, "I",
     "Number of bdwrite to bawrite conversions to clear dirty buffers");
 static int numfreebuffers;
 SYSCTL_INT(_vfs, OID_AUTO, numfreebuffers, CTLFLAG_RD, &numfreebuffers, 0,
@@ -280,12 +280,12 @@ SYSCTL_INT(_vfs, OID_AUTO, numfreebuffers, CTLFLAG_RD,
 static int lofreebuffers;
 SYSCTL_PROC(_vfs, OID_AUTO, lofreebuffers,
     CTLTYPE_INT|CTLFLAG_MPSAFE|CTLFLAG_RW, &lofreebuffers,
-    __offsetof(struct bufdomain, bd_lofreebuffers), sysctl_bufdomain_int, "L",
+    __offsetof(struct bufdomain, bd_lofreebuffers), sysctl_bufdomain_int, "I",
    "Target number of free buffers");
 static int hifreebuffers;
 SYSCTL_PROC(_vfs, OID_AUTO, hifreebuffers,
     CTLTYPE_INT|CTLFLAG_MPSAFE|CTLFLAG_RW, &hifreebuffers,
-    __offsetof(struct bufdomain, bd_hifreebuffers), sysctl_bufdomain_int, "L",
+    __offsetof(struct bufdomain, bd_hifreebuffers), sysctl_bufdomain_int, "I",
    "Threshold for clean buffer recycling");
 static counter_u64_t getnewbufcalls;
 SYSCTL_COUNTER_U64(_vfs, OID_AUTO, getnewbufcalls, CTLFLAG_RD,


More information about the svn-src-head mailing list