Whamcloud - gitweb
LU-2799 ptlrpc: reduce verbosity of warning
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Sat, 16 Feb 2013 15:07:22 +0000 (10:07 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 23 Apr 2013 05:48:31 +0000 (01:48 -0400)
Reduce verbosity of a warning about large number of threads that the
user can change and should not change.

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: I2713a0629da5c7d4d1a8a6c0d4c35cdea765e5f0
Reviewed-on: http://review.whamcloud.com/5447
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Hudson
Reviewed-by: Prakash Surya <surya1@llnl.gov>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/ptlrpc/service.c

index 65ffcaa..c141f49 100644 (file)
@@ -603,10 +603,10 @@ ptlrpc_server_nthreads_check(struct ptlrpc_service *svc,
        svc->srv_nthrs_cpt_init = init;
 
        if (nthrs * svc->srv_ncpts > tc->tc_nthrs_max) {
-               LCONSOLE_WARN("%s: This service may have more threads (%d) "
-                             "than the given soft limit (%d)\n",
-                             svc->srv_name, nthrs * svc->srv_ncpts,
-                             tc->tc_nthrs_max);
+               CDEBUG(D_OTHER, "%s: This service may have more threads (%d) "
+                      "than the given soft limit (%d)\n",
+                      svc->srv_name, nthrs * svc->srv_ncpts,
+                      tc->tc_nthrs_max);
        }
 #endif
 }