f2fs: use IPU for cold files
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 5 Aug 2017 21:25:08 +0000 (14:25 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 15 Aug 2017 17:40:11 +0000 (10:40 -0700)
commit3537581a722402a1e6f0942cd0653035a9e09e21
treea9feafd55e260848b60cbf03dfdfa4ebd0b2785c
parent008396e1b026b3873091b555b808155da7d9d18f
f2fs: use IPU for cold files

We expect cold files write data sequentially, but sometimes some of small data
can be updated, which incurs fragmentation.
Let's avoid that.

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