diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-10-10 00:11:38 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-10-12 22:38:03 +0200 |
commit | a56c7c6fb3c60857c1335bcb8b914e6f65655486 (patch) | |
tree | b05bb39180addddee4376a8e6d6169776375eb62 /fs/f2fs/segment.c | |
parent | f2fs: fix SSA updates resulting in corruption (diff) | |
download | linux-a56c7c6fb3c60857c1335bcb8b914e6f65655486.tar.xz linux-a56c7c6fb3c60857c1335bcb8b914e6f65655486.zip |
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>
Diffstat (limited to 'fs/f2fs/segment.c')
0 files changed, 0 insertions, 0 deletions