commit | a56c7c6fb3c60857c1335bcb8b914e6f65655486 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Oct 09 15:11:38 2015 -0700 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Mon Oct 12 13:38:03 2015 -0700 |
tree | b05bb39180addddee4376a8e6d6169776375eb62 | |
parent | 6e2c64ad7cebf8740c5e1241de374c6b6ea80f81 [diff] |
f2fs: set GFP_NOFS for grab_cache_page 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: Jaegeuk Kim <jaegeuk@kernel.org>