diff options
author | Yunlei He <heyunlei@huawei.com> | 2018-04-18 11:06:39 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-05-31 11:31:46 -0700 |
commit | 054afda9991786ead2c2b57cdf3b28d4dd3709f2 (patch) | |
tree | 93d71cc38ebdd79e73f618afd235215095e573f9 /fs/f2fs/node.h | |
parent | d0891e84e1e61938aa8a3b75cb10a34769de022a (diff) |
f2fs: allocate hot_data for atomic write more strictly
If a file not set type as hot, has dirty pages more than
threshold 64 before starting atomic write, may be lose hot
flag.
v1->v2: move set FI_ATOMIC_FILE flag behind flush dirty pages too,
in case of dirty pages before starting atomic use atomic mode to
write back.
Signed-off-by: Yunlei He <heyunlei@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/node.h')
0 files changed, 0 insertions, 0 deletions