diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-15 15:17:03 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-30 10:35:46 -0500 |
commit | ab923031ceb95ec50ef33ccadf28663c660aa94c (patch) | |
tree | 940a07b53d7ec155924f5c242ea41d6b0c9905db /fs/gfs2 | |
parent | b98c95af01c10827e3443157651eb469071391a3 (diff) | |
download | kernel_samsung_tuna-ab923031ceb95ec50ef33ccadf28663c660aa94c.zip kernel_samsung_tuna-ab923031ceb95ec50ef33ccadf28663c660aa94c.tar.gz kernel_samsung_tuna-ab923031ceb95ec50ef33ccadf28663c660aa94c.tar.bz2 |
[GFS2] Fix memory allocation in glock.c
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>
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/glock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 746347a..edc21c8 100644 --- 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); |