]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1d0a5b5f7932dbea5c36a21cf160ae6d76453a98
treec2303e587ea392ddbb4626c46e566b7eb661ecaf
parentfa3159d2d9979657a543a6f328e7d8b94b49b4ad
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