]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
f2fs: skip encrypted inode in ASYNC IPU policy
authorHou Pengyang <houpengyang@huawei.com>
Fri, 21 Apr 2017 12:41:48 +0000 (12:41 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 24 Apr 2017 20:13:24 +0000 (13:13 -0700)
commit4086d3f61b6573f65ddc13fc375c0c7b0ac482a0
treee3768d31da70fa22b4db03f351407879f20d503d
parenta788189305df9fa617e5e26dc0914d80d981cd57
f2fs: skip encrypted inode in ASYNC IPU policy

Async request may be throttled in block layer, so page for async may keep WRITE_BACK
for a long time.

For encrytped inode, we need wait on page writeback no matter if the device supports
BDI_CAP_STABLE_WRITES. This may result in a higher waiting page writeback time for
async encrypted inode page.

This patch skips IPU for encrypted inode's updating write.

Signed-off-by: Hou Pengyang <houpengyang@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.h