diff options
| author | Yunlei He <heyunlei@huawei.com> | 2018-11-06 10:25:29 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-01-02 15:59:02 -0800 |
| commit | 225132593f4b4d4a42f6e83d9a074ca3184af7c4 (patch) | |
| tree | 2b4f1e1a6036a357034489db4c5a7c1f67a384d5 /include/linux/timerqueue.h | |
| parent | 81f26294b698985062e8346ea64906102be6814e (diff) | |
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 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
