Redo r331328. We need to fix not only type but also format. While
here again notice that we are fixing regression from r331106.
This commit is contained in:
parent
3ef748bde0
commit
b14bf58088
@ -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, &numfreebuffers, 0,
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user