f2fs: introduce async IPU policy
authorHou Pengyang <houpengyang@huawei.com>
Tue, 18 Apr 2017 11:57:16 +0000 (11:57 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 19 Apr 2017 18:00:46 +0000 (11:00 -0700)
commit04485987f05388ffec04cdab7808ba26db30c9b8
treec2303e587ea392ddbb4626c46e566b7eb661ecaf
parentd84d1cbdec6b5d9ba391079a111572197db66d54
f2fs: introduce async IPU policy

This patch introduces an ASYNC IPU policy.

Under senario of large # of async updating(e.g. log writing in Android),
disk would be seriously fragmented, and higher frequent gc would be triggered.

This patch uses IPU to rewrite the async update writting, since async is
NOT sensitive to io latency.

Signed-off-by: Hou Pengyang <houpengyang@huawei.com>
fs/f2fs/data.c
fs/f2fs/file.c
fs/f2fs/segment.h