Whamcloud - gitweb
LU-10862 ldlm: remove trace from ldlm_pool_{count,skrink}() 20/31820/2
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 28 Mar 2018 21:21:25 +0000 (16:21 -0500)
committerOleg Drokin <green@whamcloud.com>
Fri, 4 Jan 2019 04:46:36 +0000 (04:46 +0000)
The trace in ldlm_pool_{count,shrink}() is too noisy given its
information value so remove it.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Iefed8000368c66b678aeae203e3afed06faa75c4
Test-Parameters: trivial
Reviewed-on: https://review.whamcloud.com/31820
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
lustre/ldlm/ldlm_pool.c

index d9c55e0..5460d53 100644 (file)
@@ -1090,9 +1090,6 @@ static unsigned long ldlm_pools_count(enum ldlm_side client, gfp_t gfp_mask)
        if (client == LDLM_NAMESPACE_CLIENT && !(gfp_mask & __GFP_FS))
                return 0;
 
        if (client == LDLM_NAMESPACE_CLIENT && !(gfp_mask & __GFP_FS))
                return 0;
 
-       CDEBUG(D_DLMTRACE, "Request to count %s locks from all pools\n",
-              client == LDLM_NAMESPACE_CLIENT ? "client" : "server");
-
        /*
         * Find out how many resources we may release.
         */
        /*
         * Find out how many resources we may release.
         */
@@ -1215,9 +1212,6 @@ static int ldlm_pools_shrink(enum ldlm_side client, int nr, gfp_t gfp_mask)
            !(gfp_mask & __GFP_FS))
                return -1;
 
            !(gfp_mask & __GFP_FS))
                return -1;
 
-       CDEBUG(D_DLMTRACE, "Request to shrink %d %s locks from all pools\n",
-              nr, client == LDLM_NAMESPACE_CLIENT ? "client" : "server");
-
        total = ldlm_pools_count(client, gfp_mask);
 
        if (nr == 0 || total == 0)
        total = ldlm_pools_count(client, gfp_mask);
 
        if (nr == 0 || total == 0)