crosvm/fuse
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
..
src fuse: Set max_pages in InitOut 2021-11-25 03:56:08 +00:00
Cargo.toml enumn: switch to upstream crates.io version 2021-11-15 21:03:25 +00:00