f2fs: revert segment allocation for direct IO
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 11 Nov 2016 20:31:40 +0000 (12:31 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 25 Nov 2016 18:15:02 +0000 (10:15 -0800)
commit6ae1be13e85f4c42c8ca371fda50ae39eebbfd96
treee49c3623eac168bd4df034160c344dde41b94b06
parent206147112860418fa9363cf94ec2c172bdf4313a
f2fs: revert segment allocation for direct IO

Now we don't need to be too much careful about storage alignment for dio, since
its speed becomes quite fast and we'd better avoid any misalignment first.

Revert: 38aa0889b250 (f2fs: align direct_io'ed data to section)

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