diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-04-18 10:09:15 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-04-18 10:09:15 -0400 |
commit | fe1bdedc6c16adedc6fd3636185ea91596b1d6eb (patch) | |
tree | 4d68a40c1a2db670e71952003e5fb09a95123975 /fs/gfs2/meta_io.c | |
parent | 4d8012b60e0f0e0217e65f67da7d97276d1824e9 (diff) |
[GFS2] Use vmalloc() in dir code
When allocating memory to sort directory entries, use vmalloc()
rather than kmalloc() since for larger directories, the required
size can easily be graeter than the 128k maximum of kmalloc().
Also adding the first steps towards getting the AOP_TRUNCATED_PAGE
return code get in the glock code by flagging all places where we
request a glock and we are holding a page lock.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/meta_io.c')
-rw-r--r-- | fs/gfs2/meta_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/meta_io.c b/fs/gfs2/meta_io.c index 4a6aacf294d5..74cf28e77b47 100644 --- a/fs/gfs2/meta_io.c +++ b/fs/gfs2/meta_io.c | |||
@@ -881,7 +881,7 @@ void gfs2_meta_syncfs(struct gfs2_sbd *sdp) | |||
881 | gfs2_ail1_start(sdp, DIO_ALL); | 881 | gfs2_ail1_start(sdp, DIO_ALL); |
882 | if (gfs2_ail1_empty(sdp, DIO_ALL)) | 882 | if (gfs2_ail1_empty(sdp, DIO_ALL)) |
883 | break; | 883 | break; |
884 | msleep(100); | 884 | msleep(10); |
885 | } | 885 | } |
886 | } | 886 | } |
887 | 887 | ||