• Badari Pulavarty's avatar
    [PATCH] Add nobh_writepage() support · a61faa62
    Badari Pulavarty authored
    Add nobh_wripage() support for the filesystems which uses
    nobh_prepare_write/nobh_commit_write().
    
    Idea here is to reduce unnecessary bufferhead creation/attachment to the
    page through pageout()->block_write_full_page().  nobh_wripage() tries to
    operate by directly creating bios, but it falls back to
    __block_write_full_page() if it can't make progress.
    
    Note that this is not really generic routine and can't be used for
    filesystems which uses page->Private for anything other than buffer heads.
    Signed-off-by: default avatarBadari Pulavarty <pbadari@us.ibm.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    a61faa62
inode.c 37.1 KB