Alessio Balsini a9490d32bc
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: 179164095
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>
(cherry picked from commit bf5cb932f0e0dd028dcebf3a6c2fcfedb4fd8265)
Signed-off-by: alk3pInjection <webmaster@raspii.tech>
Signed-off-by: Forenche <prahul2003@gmail.com>
2022-04-02 13:39:56 +05:30
..
2019-10-11 19:10:13 +02:00
2020-04-03 08:18:27 +02:00
2020-07-29 09:11:55 +02:00
2019-08-06 19:05:23 +02:00
2020-06-25 15:41:52 +02:00
2019-12-05 15:48:19 +01:00
2020-07-24 10:08:39 +02:00
2019-12-17 21:13:36 +01:00
2022-04-02 13:21:35 +05:30
2020-07-01 12:51:55 +02:00
2022-04-02 12:30:38 +05:30
2019-04-22 13:52:47 +05:30
2020-08-13 13:44:59 -07:00
2022-04-02 13:39:53 +05:30
2020-05-20 12:15:34 +02:00
2020-03-11 18:02:43 +01:00
2022-04-02 13:31:28 +05:30
2022-04-02 12:30:35 +05:30
2020-08-13 13:44:59 -07:00
2020-05-03 08:51:19 +02:00