Commit fe1bdedc authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

[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: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 4d8012b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment