• S
    [GFS2] Use vmalloc() in dir code · fe1bdedc
    Steven Whitehouse 提交于
    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: NSteven Whitehouse <swhiteho@redhat.com>
    fe1bdedc
ops_inode.c 26.0 KB