Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-10862 ldlm: remove trace from ldlm_pool_{count,skrink}()
[fs/lustre-release.git]
/
lustre
/
ldlm
/
ldlm_pool.c
diff --git
a/lustre/ldlm/ldlm_pool.c
b/lustre/ldlm/ldlm_pool.c
index
d9c55e0
..
5460d53
100644
(file)
--- a/
lustre/ldlm/ldlm_pool.c
+++ b/
lustre/ldlm/ldlm_pool.c
@@
-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)