OSDN Git Service

f2fs: fix to add missing F2FS_IO_ALIGNED() condition
authorChao Yu <yuchao0@huawei.com>
Wed, 28 Aug 2019 09:33:38 +0000 (17:33 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 16 Sep 2019 15:38:49 +0000 (08:38 -0700)
commit8223ecc456d079ef9b7a1fed237134cf62e9e870
treebaa5c5baa2bba54e4cecc1599df0b37e8f1e039e
parent9720ee80aa183c6463b3e8c68f51eb979583d0ea
f2fs: fix to add missing F2FS_IO_ALIGNED() condition

In f2fs_allocate_data_block(), we will reset fio.retry for IO
alignment feature instead of IO serialization feature.

In addition, spread F2FS_IO_ALIGNED() to check IO alignment
feature status explicitly.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/segment.c