diff options
| author | Miklos Szeredi <[email protected]> | 2019-05-28 11:22:50 +0000 |
|---|---|---|
| committer | Miklos Szeredi <[email protected]> | 2019-05-28 11:22:50 +0000 |
| commit | a2bc92362941006830afa3dfad6caec1f99acbf5 (patch) | |
| tree | 67bfa4c3dd3517520f7edeecdf4ef51e93362429 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | fuse: add FUSE_WRITE_KILL_PRIV (diff) | |
| download | kernel-a2bc92362941006830afa3dfad6caec1f99acbf5.tar.gz kernel-a2bc92362941006830afa3dfad6caec1f99acbf5.zip | |
fuse: fix copy_file_range() in the writeback case
Prior to sending COPY_FILE_RANGE to userspace filesystem, we must flush all
dirty pages in both the source and destination files.
This patch adds the missing flush of the source file.
Tested on libfuse-3.5.0 with:
libfuse/example/passthrough_ll /mnt/fuse/ -o writeback
libfuse/test/test_syscalls /mnt/fuse/tmp/test
Fixes: 88bc7d5097a1 ("fuse: add support for copy_file_range()")
Cc: <[email protected]> # v4.20
Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
