Commit Graph

246 Commits (b6e2754edfa8ac864bd26efe8541ebf2ee6563eb)

Author SHA1 Message Date
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 dc1be2d5b8 Update documentation for Go style. 2017-01-03 10:47:18 +11: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 a99d69abce Fixed a couple of out of date references. 2015-07-27 15:44:54 +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 b1b941d450 Deleted commonOp. 2015-07-27 15:40: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 cf97f40c33 Moved over convert.go. 2015-07-27 14:20:54 +10:00
Aaron Jacobs a4ffa71f0b Use uint32 for Nlink, matching fuse.
Cf. https://github.com/torvalds/linux/blob/00c570f/include/uapi/linux/fuse.h#L159
2015-07-27 13:29:29 +10:00
Aaron Jacobs a07a396c6a Added support for init ops. 2015-07-24 16:35:14 +10:00
Aaron Jacobs 876746fcd2 Don't depend on fuseshim.FileMode. 2015-07-24 15:23:11 +10:00
Aaron Jacobs 816f77d732 Fixed a bug. 2015-07-24 15:13:26 +10:00
Aaron Jacobs 36b7b6ab0e Fixed a bug. 2015-07-24 15:11:31 +10:00
Aaron Jacobs ca4f55538f Fixed remaining build errors. 2015-07-24 14:41:59 +10:00
Aaron Jacobs eb177d5cf4 Fixed a bunch more. 2015-07-24 14:40:43 +10:00
Aaron Jacobs 64f4827424 Fixed some build errors. 2015-07-24 14:36:59 +10:00
Aaron Jacobs 3b9092aca5 Use InMessage in several places. 2015-07-24 14:33:27 +10:00
Aaron Jacobs 34bba99216 Fixed a bunch of build errors. 2015-07-24 14:12:12 +10:00
Aaron Jacobs 6dd4bf3b90 Stop referring to fuseshim.RootID. 2015-07-24 14:05:13 +10:00
Aaron Jacobs 964ae1b4e5 Don't rely on fuseshim for errors. 2015-07-24 14:02:55 +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 7784641da1 Use buffer in commonOp.Respond. 2015-07-24 13:41:05 +10:00