Commit Graph

11 Commits (fcabfc89e991664e849c989acaa77ef01827ee43)

Author SHA1 Message Date
Vitaliy Filippov fcabfc89e9 Introduce VectoredReadOp
Read requests can now take vectored responses from the filesystem
implementation and send them to FUSE device via the writev() system call.

This allows file systems to send data without copying it into the
library-provided buffer if the data is already in memory.

The change also speeds up normal ReadFileOps as a side effect because
it removes extra memory allocations.
2021-09-01 14:14:15 +03:00
Andrew Gaul 7782064498
Calculate pageSize and bufSize at run-time (#102)
ARM-based macOS uses 16 KB pages instead of 4 KB.  Fixes
GoogleCloudPlatform/gcsfuse#548.
2021-08-11 21:31:10 +02:00
Michael Stapelberg ae5da07e4c
remove naked returns across the code base (#75)
fixes #73
2020-01-28 10:10:08 +01:00
Aaron Jacobs 59962d69e6 Fixed a bug. 2015-07-24 15:10:28 +10:00
Aaron Jacobs f2e8a5d806 Connection.readMessage 2015-07-24 15:04:28 +10:00
Aaron Jacobs 9ea4360f19 InMessage.Init 2015-07-24 14:57:18 +10:00
Aaron Jacobs b550b092fe Implemented some other InMessage methods. 2015-07-24 14:55:35 +10:00
Aaron Jacobs e0d989cba3 InMessage.Header 2015-07-24 14:52:54 +10:00
Aaron Jacobs b8110bf8a7 Added a buffer field. 2015-07-24 14:45:47 +10:00
Aaron Jacobs 64f4827424 Fixed some build errors. 2015-07-24 14:36:59 +10:00
Aaron Jacobs 2e8b1546be Declared InMessage. 2015-07-24 14:27:14 +10:00