Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a12662a
)
b=22476 shrink dlm slab on servers even if __GFP_FS is not set.
author
Vitaly Fertman
<Vitaly.Fertman@sun.com>
Thu, 26 Aug 2010 13:31:44 +0000
(17:31 +0400)
committer
Mikhail Pershin
<tappro@sun.com>
Sun, 29 Aug 2010 19:44:31 +0000
(23:44 +0400)
o=johann
i=vitaly
i=green
lustre/ldlm/ldlm_pool.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_pool.c
b/lustre/ldlm/ldlm_pool.c
index
98b9215
..
0433d27
100644
(file)
--- a/
lustre/ldlm/ldlm_pool.c
+++ b/
lustre/ldlm/ldlm_pool.c
@@
-1064,7
+1064,8
@@
static int ldlm_pools_shrink(ldlm_side_t client, int nr,
struct ldlm_namespace *ns;
void *cookie;
- if (nr != 0 && !(gfp_mask & __GFP_FS))
+ if (client == LDLM_NAMESPACE_CLIENT && nr != 0 &&
+ !(gfp_mask & __GFP_FS))
return -1;
CDEBUG(D_DLMTRACE, "Request to shrink %d %s locks from all pools\n",