diff options
author | Yunlei He <heyunlei@huawei.com> | 2018-11-06 05:25:29 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-11-27 02:53:56 +0300 |
commit | b61ac5b720146c619c7cdf17eff2551b934399e5 (patch) | |
tree | 6f4e1ab189e5e8a3446380ffd39539321de32d3a /fs/f2fs/debug.c | |
parent | 155c62fe9c5fe510746d06d12bc28d3084e63687 (diff) | |
download | linux-b61ac5b720146c619c7cdf17eff2551b934399e5.tar.xz |
f2fs: move dir data flush to write checkpoint process
This patch move dir data flush to write checkpoint process, by
doing this, it may reduce some time for dir fsync.
pre:
-f2fs_do_sync_file enter
-file_write_and_wait_range <- flush & wait
-write_checkpoint
-do_checkpoint <- wait all
-f2fs_do_sync_file exit
now:
-f2fs_do_sync_file enter
-write_checkpoint
-block_operations <- flush dir & no wait
-do_checkpoint <- wait all
-f2fs_do_sync_file exit
Signed-off-by: Yunlei He <heyunlei@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/debug.c')
0 files changed, 0 insertions, 0 deletions