Vitaliy Filippov
694c1bf9db
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.
2022-02-01 21:14:40 +03:00
Jakob Waibel
ffd6c474e8
docs: add missing “kernel” ( #117 )
2021-11-25 17:36:55 +01:00
Tetsuo Kiso
7c4418392f
Add gofmt CI step ( #115 )
2021-11-08 15:02:43 +01:00
Mei Gui
36e01f1b3a
Add pid in all fuse ops ( #92 )
...
Expose PID as metadata in CreateFile, OpenFile and FlushFile operations
This will help us with kahing/goofys#273
Co-authored-by: Sai Teja Suram <pratap130492@gmail.com>
Co-authored-by: Sai Teja Suram <pts@avah.dev>
2020-10-28 08:51:23 +01:00
Ka-Hing Cheung
4898d79241
plumb through Fd in setattr ( #67 )
...
this allows us to distinguish between truncate vs ftruncate
2019-12-11 09:49:03 +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
Srdjan Rilak
1b4a34cc7b
Add CreateLink implementation
2017-11-24 14:36:15 +01:00
Ka-Hing Cheung
d650fe34ba
added tests and enhanced comments
2017-05-11 14:45:40 -07: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
Ben Sidhom
b289b8e423
Address doc comment.
2017-05-09 07:47:28 +10:00
Ben Sidhom
5f27f3f261
Add comment to read op semantics for direct io
2017-05-09 07:47:28 +10:00
Ben Sidhom
025868ecf2
Add direct io option for file operations
2017-05-09 07:47:28 +10:00
Aaron Jacobs
a067b22c1d
Fix issues around statfs(2) changes with osxfuse 3.
...
Tested on OS X 10.11.6 (15G1004) with osxfuse 3.5.2.
2016-10-16 09:12:42 +01:00
Aaron Jacobs
b2c3396382
Update state around "close without msyc" behavior on OS X.
2016-10-16 08:56:51 +01:00
Aaron Jacobs
15b31ee0ee
Added MkNodeOp.
2015-12-14 23:30:42 +00:00
Aaron Jacobs
6565b52bcb
Fixed the documentation to match reality on darwin.
2015-09-10 13:51:07 +10:00
Aaron Jacobs
7c543380ea
Add tests for the newly-documented behavior on Darwin.
2015-09-10 13:41:26 +10:00
Aaron Jacobs
81c3047f0f
Revised the public StatFSOp docs for the BlockSize/IoSize split.
2015-09-10 13:31:04 +10:00
Aaron Jacobs
ca114f296a
Fixed most tests on Linux.
2015-09-09 12:21:47 +00:00
Aaron Jacobs
c96d308a7a
Set f_frsize, fixing free space calculation by `df` on OS X.
2015-09-09 22:04:10 +10:00
Aaron Jacobs
4d5341f6ce
Added FileSystem.StatFS.
2015-09-09 09:47:48 +10:00
Aaron Jacobs
c49a7e13b7
Added and documented StatfsOp.
2015-09-09 09:46:24 +10:00
Aaron Jacobs
4f74c87df8
Updated a redundant code walk.
2015-08-12 12:41:29 +10:00
Aaron Jacobs
eacbdb8d51
Disabled a test for a feature that doesn't work on OS X.
2015-07-29 16:24:47 +10:00
Aaron Jacobs
7fae3a996b
Added OpenFileOp.KeepPageCache.
2015-07-29 05:51:20 +00:00
Aaron Jacobs
6d01ffa44f
Replaced AppendDirent with WriteDirent.
2015-07-29 10:08:16 +10:00
Aaron Jacobs
f5d80cf9ab
Defined the new API for ReadFileOp and ReadDirOp.
2015-07-29 09:48:18 +10:00
Aaron Jacobs
e59dbd14f4
Killed methods.
2015-07-27 15:42:02 +10:00
Aaron Jacobs
56b1f10c47
Killed unexported fields.
2015-07-27 15:41:46 +10:00
Aaron Jacobs
dfadf1e8df
Deleted Op.
2015-07-27 15:40:36 +10:00
Aaron Jacobs
ff06adf431
Trimmed the Op interface.
2015-07-27 14:24:45 +10:00
Aaron Jacobs
efeaec5ec7
Deleted internal ops.
2015-07-27 14:23:09 +10:00
Aaron Jacobs
dce2ceffdb
Deleted old kernelResponse methods.
2015-07-27 14:22:59 +10:00
Aaron Jacobs
a07a396c6a
Added support for init ops.
2015-07-24 16:35:14 +10:00
Aaron Jacobs
34bba99216
Fixed a bunch of build errors.
2015-07-24 14:12:12 +10:00
Aaron Jacobs
3720ab2963
Updated a TODO.
2015-07-24 13:48:10 +10:00
Aaron Jacobs
2c346ca77f
Fixed kernelResponse methods.
2015-07-24 13:46:18 +10:00
Aaron Jacobs
ab8c5728eb
Fixed some size-related bugs on Linux.
2015-07-24 13:08:26 +10:00
Aaron Jacobs
d9c8d95df7
Fixed a panic.
2015-07-24 12:51:33 +10:00
Aaron Jacobs
ff42037981
Changed method order.
2015-07-24 12:51:32 +10:00
Aaron Jacobs
497407fde2
Better debug logging for getattr.
2015-07-24 12:51:32 +10:00
Aaron Jacobs
22c5b466f6
Fixed a bug.
2015-07-24 12:51:32 +10:00
Aaron Jacobs
987b494dca
Finished with kernelResponse methods.
2015-07-24 12:51:32 +10:00
Aaron Jacobs
b7d2d61e21
More kernelResponse methods.
2015-07-24 12:51:31 +10:00
Aaron Jacobs
350f75b812
CreateFileOp.kernelResponse
2015-07-24 12:51:31 +10:00
Aaron Jacobs
4ce589bcf1
SetInodeAttributesOp.kernelResponse
2015-07-24 12:51:31 +10:00
Aaron Jacobs
c59b546a87
GetInodeAttributesOp.kernelResponse
2015-07-24 12:51:31 +10:00
Aaron Jacobs
99efba2200
LookUpInodeOp.kernelResponse
2015-07-24 12:51:31 +10:00