commit | 054afda9991786ead2c2b57cdf3b28d4dd3709f2 | [log] [tgz] |
---|---|---|
author | Yunlei He <heyunlei@huawei.com> | Wed Apr 18 11:06:39 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Thu May 31 11:31:46 2018 -0700 |
tree | 93d71cc38ebdd79e73f618afd235215095e573f9 | |
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>