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)
committer0ranko0P <ranko0p@outlook.com>
Tue, 24 Dec 2019 20:42:27 +0000 (04:42 +0800)
commit71f501b05f4b216b9eb6ae7f720f18658a8cd681
tree1bf265aca004529c78623854b3ec7ec58ee23b83
parent9a9caa8c48c3f8c086f8b1dbbb61e0e1d3e56d7e
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