diff options
author | Yunlei He <[email protected]> | 2018-04-18 11:06:39 +0800 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2018-05-31 11:31:46 -0700 |
commit | 054afda9991786ead2c2b57cdf3b28d4dd3709f2 (patch) | |
tree | 93d71cc38ebdd79e73f618afd235215095e573f9 /lib/netdev-notifier-error-inject.c | |
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 <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions