diff options
author | 2023-08-01 16:06:47 +0800 | |
---|---|---|
committer | 2023-08-16 12:39:24 +0200 | |
commit | b5a2a3a0b77668257fa72ee6bc0eac90493f13c1 (patch) | |
tree | 1af722dccb880d15708a07661c475eff695c828b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fuse: add a new fuse init flag to relax restrictions in no cache mode (diff) | |
download | wireguard-linux-b5a2a3a0b77668257fa72ee6bc0eac90493f13c1.tar.xz wireguard-linux-b5a2a3a0b77668257fa72ee6bc0eac90493f13c1.zip |
fuse: write back dirty pages before direct write in direct_io_relax mode
In direct_io_relax mode, there can be shared mmaped files and thus dirty
pages in its page cache. Therefore those dirty pages should be written
back to backend before direct io to avoid data loss.
Signed-off-by: Hao Xu <howeyxu@tencent.com>
Reviewed-by: Jiachen Zhang <zhangjiachen.jaycee@bytedance.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions