projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b98c95a
)
[GFS2] Fix memory allocation in glock.c
author
Steven Whitehouse
<swhiteho@redhat.com>
Wed, 15 Nov 2006 20:17:03 +0000
(15:17 -0500)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Thu, 30 Nov 2006 15:35:46 +0000
(10:35 -0500)
Change from GFP_KERNEL to GFP_NOFS as this was causing a
slow down when trying to push inodes from cache.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/glock.c
b/fs/gfs2/glock.c
index
746347a
..
edc21c8
100644
(file)
--- a/
fs/gfs2/glock.c
+++ b/
fs/gfs2/glock.c
@@
-769,7
+769,7
@@
restart:
} else {
spin_unlock(&gl->gl_spin);
- new_gh = gfs2_holder_get(gl, state, LM_FLAG_TRY, GFP_
KERNEL
);
+ new_gh = gfs2_holder_get(gl, state, LM_FLAG_TRY, GFP_
NOFS
);
if (!new_gh)
return;
set_bit(HIF_DEMOTE, &new_gh->gh_iflags);