• J
    f2fs: set GFP_NOFS for grab_cache_page · a56c7c6f
    Jaegeuk Kim 提交于
    For normal inodes, their pages are allocated with __GFP_FS, which can cause
    filesystem calls when reclaiming memory.
    This can incur a dead lock condition accordingly.
    
    So, this patch addresses this problem by introducing
    f2fs_grab_cache_page(.., bool for_write), which calls
    grab_cache_page_write_begin() with AOP_FLAG_NOFS.
    Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
    a56c7c6f
file.c 39.7 KB