Skip to content
Commit 80c54505 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

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: default avatarChao Yu <chao2.yu@samsung.com>
Reviewed-by: default avatarChao Yu <chao2.yu@samsung.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent dac2ddef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment