f2fs: add roll-forward recovery process for encrypted dentry
authorShuoran Liu <liushuoran@huawei.com>
Mon, 29 Aug 2016 03:27:56 +0000 (11:27 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 8 Sep 2016 00:27:40 +0000 (17:27 -0700)
commite7ba108a06216dae89a64c0243560502276b92d8
treeee03ce54770cc7de009a11b4efd961671131fd18
parentbbf156f7afa7f3cc07177f1119878f6f60855fd1
f2fs: add roll-forward recovery process for encrypted dentry

Add roll-forward recovery process for encrypted dentry, so the first fsync
issued to an encrypted file does not need writing checkpoint.

This improves the performance of the following test at thousands of small
files: open -> write -> fsync -> close

Signed-off-by: Shuoran Liu <liushuoran@huawei.com>
Acked-by: Chao Yu <yuchao0@huawei.com>
[Jaegeuk Kim: modify kernel message to show encrypted names]
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/dir.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/recovery.c