crosvm/fuse/src
Chirantan Ekbote 2533dd15bf fuse: Set max_pages in InitOut
This field acts as a global upper bound on the size of any request so
read and write requests are truncated to fit this size even if
`max_readahead` and `max_write` are set to larger values.  Initialize
this field to the number of pages needed to fit the largest supported
requset size.

BUG=none
TEST=arc.PlayStore.vm

Change-Id: Ia82d3e5709971c642312c45b26c288a953dedb18
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3299973
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Chirantan Ekbote <chirantan@chromium.org>
2021-11-25 03:56:08 +00:00
..
filesystem.rs fs: Include Inode in ioctl parameters 2021-02-19 19:23:34 +00:00
fuzzing.rs fuse: supply a no-op Mapper for fuzzing 2021-01-15 17:14:01 +00:00
lib.rs fuse: convert to ThisError and sort 2021-09-02 21:00:21 +00:00
mount.rs fuse: support general mount options 2021-06-04 23:03:03 +00:00
server.rs fuse: Set max_pages in InitOut 2021-11-25 03:56:08 +00:00
sys.rs fuse: Set max_pages in InitOut 2021-11-25 03:56:08 +00:00
worker.rs Drain the read buffer of DevFuseReader 2021-08-24 18:41:30 +00:00