more appropriate log messages
Costa Tsaousis (ktsaou) committed
Nov 21, 2015 at 01:32 UTC
3723572f36edbc4582eae5c6c27d49e6d1754bc9
1 file changed
+6
-6
src/proc_net_rpc_nfsd.c
+6
-6
@@ -261,7 +261,7 @@ int do_proc_net_rpc_nfsd(int update_every, unsigned long long dt) {
261
unsigned long long sum = th_hist10 + th_hist20 + th_hist30 + th_hist40 + th_hist50 + th_hist60 + th_hist70 + th_hist80 + th_hist90 + th_hist100;
262
if(sum == 0ULL) {
263
if(!th_warning) {
264
- info("Disabling /proc/net/rpc/nfsd threads histogram. It seems useless on this machine. It will be enabled if it is found with data in it.");
264
+ info("Disabling /proc/net/rpc/nfsd threads histogram. It seems unused on this machine. It will be enabled automatically when found with data in it.");
265
th_warning = 1;
266
}
267
do_th = -1;
@@ -290,7 +290,7 @@ int do_proc_net_rpc_nfsd(int update_every, unsigned long long dt) {
290
unsigned long long sum = ra_hist10 + ra_hist20 + ra_hist30 + ra_hist40 + ra_hist50 + ra_hist60 + ra_hist70 + ra_hist80 + ra_hist90 + ra_hist100 + ra_none;
291
if(sum == 0ULL) {
292
if(!ra_warning) {
293
- info("Disabling /proc/net/rpc/nfsd read ahead histogram. It seems useless on this machine. It will be enabled if it is found with data in it.");
293
+ info("Disabling /proc/net/rpc/nfsd read ahead histogram. It seems unused on this machine. It will be enabled automatically when found with data in it.");
294
ra_warning = 1;
295
}
296
do_ra = -1;
@@ -341,7 +341,7 @@ int do_proc_net_rpc_nfsd(int update_every, unsigned long long dt) {
341
342
if(sum == 0ULL) {
343
if(!proc2_warning) {
344
- error("Disabling /proc/net/rpc/nfsd v2 procedure calls chart. It seems useless on this machine. It will be enabled if it is found with data in it.");
344
+ error("Disabling /proc/net/rpc/nfsd v2 procedure calls chart. It seems unused on this machine. It will be enabled automatically when found with data in it.");
345
proc2_warning = 1;
346
}
347
do_proc2 = 0;
@@ -362,7 +362,7 @@ int do_proc_net_rpc_nfsd(int update_every, unsigned long long dt) {
362
363
if(sum == 0ULL) {
364
if(!proc3_warning) {
365
- info("Disabling /proc/net/rpc/nfsd v3 procedure calls chart. It seems useless on this machine. It will be enabled if it is found with data in it.");
365
+ info("Disabling /proc/net/rpc/nfsd v3 procedure calls chart. It seems unused on this machine. It will be enabled automatically when found with data in it.");
366
proc3_warning = 1;
367
}
368
do_proc3 = 0;
@@ -383,7 +383,7 @@ int do_proc_net_rpc_nfsd(int update_every, unsigned long long dt) {
383
384
if(sum == 0ULL) {
385
if(!proc4_warning) {
386
- info("Disabling /proc/net/rpc/nfsd v4 procedure calls chart. It seems useless on this machine. It will be enabled if it is found with data in it.");
386
+ info("Disabling /proc/net/rpc/nfsd v4 procedure calls chart. It seems unused on this machine. It will be enabled automatically when found with data in it.");
387
proc4_warning = 1;
388
}
389
do_proc4 = 0;
@@ -404,7 +404,7 @@ int do_proc_net_rpc_nfsd(int update_every, unsigned long long dt) {
404
405
if(sum == 0ULL) {
406
if(!proc4ops_warning) {
407
- info("Disabling /proc/net/rpc/nfsd v4 operations chart. It seems useless on this machine. It will be enabled if it is found with data in it.");
407
+ info("Disabling /proc/net/rpc/nfsd v4 operations chart. It seems unused on this machine. It will be enabled automatically when found with data in it.");
408
proc4ops_warning = 1;
409
}
410
do_proc4ops = 0;