diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-04-15 22:37:53 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-04-16 18:45:35 +0200 |
commit | d0cae97cb600d84a7e00df6f83ab3b2f60d8d7f7 (patch) | |
tree | 5b57f4664b0f18b102cbf92e9ca05b0dc8d5e3e3 /fs/f2fs/checkpoint.c | |
parent | f2fs: change 0 to false for bool type (diff) | |
download | linux-d0cae97cb600d84a7e00df6f83ab3b2f60d8d7f7.tar.xz linux-d0cae97cb600d84a7e00df6f83ab3b2f60d8d7f7.zip |
f2fs: flush symlink path to avoid broken symlink after POR
This patch tries to avoid broken symlink case after POR in best effort.
This results in performance regression.
But, if f2fs has inline_data and the target path is under 3KB-sized long,
the page would be stored in its inode_block, so that there would be no
performance regression.
Note that, if user wants to keep this file atomically, it needs to trigger
dir->fsync.
And, there is still a hole to produce broken symlink.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/checkpoint.c')
0 files changed, 0 insertions, 0 deletions