Commit Graph

1438 Commits (b6e2754edfa8ac864bd26efe8541ebf2ee6563eb)

Author SHA1 Message Date
Aaron Jacobs 91664cfc31 Fixed maxReadahead. 2015-07-24 16:03:24 +10:00
Aaron Jacobs 2860526871 Updated newConnection. 2015-07-24 16:01:45 +10:00
Aaron Jacobs baa7c29fad Use the mount helper in Mount. 2015-07-24 15:56:54 +10:00
Aaron Jacobs d2b9accc31 Moved MountConfig into a separate file. 2015-07-24 15:55:03 +10:00
Aaron Jacobs cd6c68c83f Fixed some build errors. 2015-07-24 15:54:02 +10:00
Aaron Jacobs 19934c68be Touched up callMount. 2015-07-24 15:51:18 +10:00
Aaron Jacobs a9693474e8 Fixed a build error. 2015-07-24 15:48:23 +10:00
Aaron Jacobs eda994c2e6 Gave openOSXFUSEDev a makeover. 2015-07-24 15:48:17 +10:00
Aaron Jacobs 1bb0fd4724 Trimmed a bit. 2015-07-24 15:45:34 +10:00
Aaron Jacobs 56758cb302 Gave mount a makeover. 2015-07-24 15:45:16 +10:00
Aaron Jacobs 695b70b1e6 Pasted the implementation from bazilfuse. 2015-07-24 15:40:35 +10:00
Aaron Jacobs 89c74b0dc8 Upated the license file. 2015-07-24 15:40:31 +10:00
Aaron Jacobs e3c4479719 Removed a few dependencies on fuseshim.Conn. 2015-07-24 15:35:58 +10:00
Aaron Jacobs a721a505bf Document the reason for a restriction. 2015-07-24 15:35:31 +10:00
Aaron Jacobs cd47dbb4b8 Refactored fields a bit. 2015-07-24 15:32:50 +10:00
Aaron Jacobs ee2b961839 Don't depend on fuseshim.Conn for sending messages. 2015-07-24 15:31:16 +10:00
Aaron Jacobs 32418239ae Removed read locks around the device.
We require no conrrent calls to ReadOp, and that ServeOps doesn't return
until all ops have been responded to, so I believe this should be safe.
In particular, fuseshim uses the locks only to exclude reads and writes
during closing, not for anything else.
2015-07-24 15:26:07 +10:00
Aaron Jacobs 876746fcd2 Don't depend on fuseshim.FileMode. 2015-07-24 15:23:11 +10:00
Aaron Jacobs c69cd3b527 Don't depend on fuseshim.Message. 2015-07-24 15:21:03 +10:00
Aaron Jacobs 4de334e034 Fixed a bug related to EINTR. 2015-07-24 15:20:43 +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 59962d69e6 Fixed a bug. 2015-07-24 15:10:28 +10:00
Aaron Jacobs a1dadab66e Fixed a bug. 2015-07-24 15:07:55 +10:00
Aaron Jacobs 7a5761a67c Fixed some TODOs. 2015-07-24 15:05:27 +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 d93a81b046 Defined the constant for Linux, too. 2015-07-24 14:46:45 +10:00
Aaron Jacobs b8110bf8a7 Added a buffer field. 2015-07-24 14:45:47 +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 0370159a68 Export some fields of fuseshim.Conn. 2015-07-24 14:29:31 +10:00
Aaron Jacobs 2e8b1546be Declared InMessage. 2015-07-24 14:27:14 +10:00
Aaron Jacobs 2199f98f19 Rename buffer.Buffer to buffer.OutMessage.
In preparation for adding an InMessage.
2015-07-24 14:12:27 +10:00
Aaron Jacobs 34bba99216 Fixed a bunch of build errors. 2015-07-24 14:12:12 +10:00
Aaron Jacobs b3d13508fb Renamed to OutMessage. 2015-07-24 14:11:03 +10:00
Aaron Jacobs 5166631830 Renamed to out_message.go. 2015-07-24 14:09:11 +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 24a6daeaeb Stop using fuseshim.Buffer. 2015-07-24 13:47:00 +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
Aaron Jacobs 9c1134ca3f Added a Buffer type. 2015-07-24 13:36:53 +10:00
Aaron Jacobs 3fe63db6fb Pasted from package fuseshim. 2015-07-24 13:26:25 +10:00
Aaron Jacobs 27eba3068c Fixed several issues that only showed up on Linux. 2015-07-24 13:24:12 +10:00