Commit Graph

36 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
Michael Stapelberg ae5da07e4c
remove naked returns across the code base (#75)
fixes #73
2020-01-28 10:10:08 +01:00
Ka-Hing Cheung 4ee1cf7f62 add support for fallocate (#66)
* Fallocate support

* use fallocate wrapper that works on darwin
2019-10-26 10:15:00 +02:00
Arran Walker 5ee7049312 replace imports of "golang.org/x/net/context" with "context" 2018-02-07 19:18:23 +00:00
Srdjan Rilak 1b4a34cc7b Add CreateLink implementation 2017-11-24 14:36:15 +01:00
Ka-Hing Cheung cbeaa55087 SetXattr support 2017-05-11 14:45:40 -07:00
Ka-Hing Cheung d20c4665c1 GetXattr/ListXattr implementation 2017-05-11 14:45:40 -07:00
Ka-Hing Cheung 8aade5c71f RemoveXattr implementation 2017-05-11 14:45:40 -07:00
Aaron Jacobs 47638fa8c7 Added FileSystem support. 2015-12-14 23:35:40 +00:00
Aaron Jacobs 4d5341f6ce Added FileSystem.StatFS. 2015-09-09 09:47:48 +10:00
Aaron Jacobs ea210ae2bb Fixed package fuseutil. 2015-07-27 15:15:07 +10:00
Aaron Jacobs 723fcb1d3e Added FileSystem support. 2015-06-25 21:38:39 +10:00
Aaron Jacobs e4cd605c76 Updated package fuseutil. 2015-06-22 12:30:17 +10:00
Aaron Jacobs 630f40de94 NotImplementedFileSystem.Destroy 2015-06-09 11:05:02 +10:00
Aaron Jacobs 1573b41ff3 Fixed NotImplementedFileSystem. 2015-06-05 14:14:49 +10:00
Aaron Jacobs 05091dee19 Added file system support. 2015-05-19 16:06:57 +10:00
Aaron Jacobs f71fe97d5e Added file system support. 2015-05-19 15:33:19 +10:00
Aaron Jacobs 6667a7f8f6 Fixed NotImplementedFileSystem. 2015-03-25 09:54:12 +11:00
Aaron Jacobs 579e3f648e Added NotImplementedFileSystem methods. 2015-03-25 09:20:54 +11:00
Aaron Jacobs 485f5d64fc Declared NotImplementedFileSystem. 2015-03-25 09:17:58 +11:00
Aaron Jacobs ddee157432 Deleted NotImplementedFileSystem. 2015-03-24 15:37:12 +11:00
Aaron Jacobs d3cb0c2ba9 NotImplementedFileSystem.SyncFile 2015-03-20 13:38:42 +11:00
Aaron Jacobs 2fcd202d66 NotImplementedFileSystem.FlushFile 2015-03-20 13:23:12 +11:00
Aaron Jacobs a113de2e87 Added NotImplementedFileSystem.Unlink. 2015-03-06 23:27:31 -06:00
Aaron Jacobs 528b112c72 Added NotImplementedFileSystem.SetInodeAttributes. 2015-03-06 05:45:45 +11:00
Aaron Jacobs 0e4bdb538a Added NotImplementedFileSystem.WriteFile. 2015-03-04 15:16:55 +11:00
Aaron Jacobs 1aba7cb8a8 Added NotImplementedFileSystem.CreateFile. 2015-03-04 14:55:50 +11:00
Aaron Jacobs b2a8322aaa Fixed copyright notices. 2015-03-04 08:27:42 +11:00
Aaron Jacobs 63408f6a0d Added an RmDir method. 2015-03-03 11:25:50 +11:00
Aaron Jacobs e612c866cb Declared a MkDir method. 2015-03-02 16:11:14 +11:00
Aaron Jacobs fff3a342db Added NotImplementedFileSystem support. 2015-02-27 15:25:39 +11:00
Aaron Jacobs 63b70540e3 Added an Init method. 2015-02-27 14:40:09 +11:00
Aaron Jacobs afe364822a Added a getattr method. 2015-02-27 13:32:04 +11:00
Aaron Jacobs ed1cf943b0 Made Release dir-specific too. 2015-02-27 13:29:02 +11:00
Aaron Jacobs 909297b87a Updated NotImplementedFileSystem. 2015-02-27 11:12:01 +11:00
Aaron Jacobs 923b2e69ea Moved NotImplementedFileSystem to reduce clutter. 2015-02-27 09:59:51 +11:00