diff options
author | Bob Peterson <rpeterso@redhat.com> | 2013-05-30 15:48:56 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2013-06-03 17:39:44 +0200 |
commit | e8830d8856e3ad61067dd46c05438b0d75a0441a (patch) | |
tree | 33756e349db97fffa55aac324135c7aff914f70b /.mailmap | |
parent | GFS2: Increase i_writecount during gfs2_setattr_size (diff) | |
download | linux-e8830d8856e3ad61067dd46c05438b0d75a0441a.tar.xz linux-e8830d8856e3ad61067dd46c05438b0d75a0441a.zip |
GFS2: Fall back to vmalloc if kmalloc fails for dir hash tables
This version has one more correction: the vmalloc calls are replaced
by __vmalloc calls to preserve the GFP_NOFS flag.
When GFS2's directory management code allocates buffers for a
directory hash table, if it can't get the memory it needs, it
currently gives a bad return code. Rather than giving an error,
this patch allows it to use virtual memory rather than kernel
memory for the hash table. This should make it possible for
directories to function properly, even when kernel memory becomes
very fragmented.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions