Commit 8760d543 authored by Paul Lawrence's avatar Paul Lawrence Committed by fengqi
Browse files

ANDROID: fuse-bpf: Ignore readaheads unless they go to the daemon



readpages will be triggered on the fuse fs in passthrough mode though
system calls like fadvise. If the daemon isn't aware of the file, this
will likely cause a hang.

For the moment, simply ignore fadvise in this situation

Bug: 301201239
Bug: 318481331
Test: fuse_test, atest ScopedStorageDeviceTest both pass
Signed-off-by: default avatarPaul Lawrence <paullawrence@google.com>
Change-Id: I524a84aeeb1b1593e51264fcc37f7cfa66757168
(cherry picked from commit cfdfc17a)
parent 1dec0fcf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment