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:
36deb8b
)
b=22476 shrink dlm slab on servers even if __GFP_FS is not set
v1_8_3_53
author
Johann Lombardi
<johann@sun.com>
Fri, 4 Jun 2010 21:35:21 +0000
(23:35 +0200)
committer
Johann Lombardi
<johann@sun.com>
Fri, 4 Jun 2010 21:35:21 +0000
(23:35 +0200)
i=vitaly
i=oleg
lustre/ldlm/ldlm_pool.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_pool.c
b/lustre/ldlm/ldlm_pool.c
index
bc2ec69
..
57e63fb
100644
(file)
--- a/
lustre/ldlm/ldlm_pool.c
+++ b/
lustre/ldlm/ldlm_pool.c
@@
-1062,7
+1062,8
@@
static int ldlm_pools_shrink(ldlm_side_t client, int nr,
int total = 0, cached = 0, nr_ns;
struct ldlm_namespace *ns;
- if (nr != 0 && !(gfp_mask & __GFP_FS))
+ if (client == LDLM_NAMESPACE_CLIENT && nr != 0 &&
+ !(gfp_mask & __GFP_FS))
return -1;
if (nr != 0)