crosvm/fuse/src
Victor Hsieh 67dc513aa1 fuse: disambiguate max_read and max_write
The max_read and max_write in worker::start_message_loop are confusing.
The max_read defines the amount of data the filesystem should be fed /
read from /def/fuse, during the write(2) operation to the filesystem.
The meaning is oppposite to the mount option max_read, which is for the
actual read operation.

This change adds API doc, fix the new API, and renames variables to
disambiguate them.  With the new API, the meaning should be more
intuitive and consistent.

Bug: 220386264
Test: use in Android
Change-Id: Ifa77cb3c291626fdbb8a28f36cf2a44dd859f70f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3526527
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Victor Hsieh <victorhsieh@chromium.org>
2022-03-17 22:01:02 +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: disambiguate max_read and max_write 2022-03-17 22:01:02 +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 fuse: disambiguate max_read and max_write 2022-03-17 22:01:02 +00:00