]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/f2fs/f2fs.h
f2fs: use __GFP_NOFAIL to avoid infinite loop
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 20 Aug 2015 15:51:56 +0000 (08:51 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 24 Aug 2015 16:37:21 +0000 (09:37 -0700)
commit80c545055dc7c1f7f487176fe0aac17896a4b7af
treeb8c4ffbb9aa10da0c26ab5f7caf264e68803b685
parentdac2ddefe62841efc0b6cdcb0bbf3e3594aa01bf
f2fs: use __GFP_NOFAIL to avoid infinite loop

__GFP_NOFAIL can avoid retrying the whole path of kmem_cache_alloc and
bio_alloc.
And, it also fixes the use cases of GFP_ATOMIC correctly.

Suggested-by: Chao Yu <chao2.yu@samsung.com>
Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h
fs/f2fs/node.c
fs/f2fs/segment.c