f2fs: fix to avoid triggering IO in write path
If we are in write IO path, we need to avoid using GFP_KERNEL. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
@@ -656,7 +656,7 @@ retry:
|
||||
struct bio *bio = NULL;
|
||||
|
||||
ret = f2fs_read_multi_pages(cc, &bio, cc->cluster_size,
|
||||
&last_block_in_bio, false);
|
||||
&last_block_in_bio, false, true);
|
||||
f2fs_destroy_compress_ctx(cc);
|
||||
if (ret)
|
||||
goto release_pages;
|
||||
|
Reference in New Issue
Block a user