Files
kernel_arpi/fs
Alessio Balsini 5f339265fd FROMLIST: fuse: Introduce passthrough for mmap
Enabling FUSE passthrough for mmap-ed operations not only affects
performance, but has also been shown as mandatory for the correct
functioning of FUSE passthrough.
yanwu noticed [1] that a FUSE file with passthrough enabled may suffer
data inconsistencies if the same file is also accessed with mmap. What
happens is that read/write operations are directly applied to the lower
file system (and its cache), while mmap-ed operations are affecting the
FUSE cache.

Extend the FUSE passthrough implementation to also handle memory-mapped
FUSE file, to both fix the cache inconsistencies and extend the
passthrough performance benefits to mmap-ed operations.

[1] https://lore.kernel.org/lkml/20210119110654.11817-1-wu-yan@tcl.com/

Bug: 168023149
Link: https://lore.kernel.org/lkml/20210125153057.3623715-9-balsini@android.com/
Signed-off-by: Alessio Balsini <balsini@android.com>
Change-Id: Ifad4698b0380f6e004c487940ac6907b9a9f2964
Signed-off-by: Alessio Balsini <balsini@google.com>
2021-01-26 13:34:42 +00:00
..
2021-01-13 14:59:18 +01:00
2021-01-04 09:06:42 +09:00
2020-12-15 22:46:19 -08:00
2020-08-04 21:02:38 -04:00
2020-07-31 08:16:01 +02:00
2020-08-19 14:14:19 +02:00
2021-01-25 12:32:26 -08:00
2020-07-31 08:16:00 +02:00
2020-09-26 22:55:05 -04:00
2020-12-01 14:53:39 -07:00
2020-12-01 14:53:39 -07:00
2020-06-25 14:25:32 +02:00
2020-07-31 08:16:01 +02:00