Skip to content
  • Steven Whitehouse's avatar
    [GFS2] Use vmalloc() in dir code · fe1bdedc
    Steven Whitehouse authored
    
    
    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>
    fe1bdedc