Commit Graph

43 Commits (master)

Author SHA1 Message Date
Eric Gouyer 5e958a41f6 add support for retrieving UID GID PID for each fuseops, ala FUSE-C fuse_get_context() 2022-10-16 10:46:58 +02:00
Arran Walker 5ee7049312 replace imports of "golang.org/x/net/context" with "context" 2018-02-07 19:18:23 +00:00
Aaron Jacobs dc1be2d5b8 Update documentation for Go style. 2017-01-03 10:47:18 +11:00
Aaron Jacobs 21ac1b6da5 Moved Mount into its own file. 2015-08-11 10:54:52 +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 81dee67b51 Use package fuseshim in package fuse. 2015-07-24 09:42:42 +10:00
Aaron Jacobs f004d3ff4a Avoid calling Logf on the hot path when logging is disabled.
The call to commonOp.Logf in sendBazilfuseResponse is extremely hot for
allocations, presumably because it needs to allocate an argument slice.
It is normally not needed at all, so why pay for it?
2015-07-22 21:45:49 +10:00
Aaron Jacobs cea9394fd7 Use MountConfig.DebugLogger. 2015-07-16 10:47:42 +10:00
Aaron Jacobs d914c05369 Added MountConfig.DebugLogger. 2015-07-16 10:46:59 +10:00
Aaron Jacobs e59720bfb0 Updated a comment. 2015-06-22 12:31:06 +10:00
Aaron Jacobs ef728f8af2 Set max readahead to a large value when mounting.
For #10.
2015-06-22 12:26:03 +10:00
Aaron Jacobs 0f62458e21 Destroy when done. 2015-06-09 11:11:52 +10:00
Aaron Jacobs 5ae9856c29 Define that Server.ServeOps must wait for in-flights. 2015-06-09 11:01:11 +10:00
Aaron Jacobs 683decb008 Work around a bug in systemd by always setting fsname.
See bazil/fuse#89 for more details.
2015-06-09 00:41:01 +00:00
Aaron Jacobs 430fbb3099 Updated mounted_file_system.go. 2015-05-25 14:18:50 +10:00
Aaron Jacobs 41f376af5f Added commonOp.errorLogger. 2015-05-25 14:15:49 +10:00
Aaron Jacobs df7aea90d2 Added MountConfig.ErrorLogger. 2015-05-25 14:09:23 +10:00
Aaron Jacobs 1d03f1695d Allow the user to set arbitrary mount options.
For GoogleCloudPlatform/gcsfuse#50.
2015-05-19 11:39:18 +10:00
Aaron Jacobs b65f337637 Allow setting a file system name. 2015-05-18 14:06:07 +10:00
Aaron Jacobs abdc5138df Added documentation. 2015-05-18 10:21:33 +10:00
Aaron Jacobs 59d54167fb Support read-only mode. 2015-05-18 10:09:06 +10:00
Aaron Jacobs 7ad99ec900 Added MountConfig.ReadOnly. 2015-05-18 09:49:37 +10:00
Aaron Jacobs 0985694a4b Allow setting a parent context for all ops. 2015-05-01 11:17:15 +10:00
Aaron Jacobs 6305cb930b Synchronize on ops in flight in tear-down, fixing forgetfs_test. 2015-04-02 11:10:55 +11:00
Aaron Jacobs dadff5d9b5 Disable annoying Apple Double files on OS X.
If these ever prove to be desirable, we can revert this or add a mount
option.
2015-04-01 13:25:16 +11:00
Aaron Jacobs e2a8e77cdc Replaced MountedFileSystem.Unmount with a free function. 2015-03-25 10:15:43 +11:00
Aaron Jacobs cfc692da07 Made Server an interface, for expandability. 2015-03-24 16:08:42 +11:00
Aaron Jacobs 210a91dd93 Updated mounted_file_system.go. 2015-03-24 15:34:50 +11:00
Aaron Jacobs 9f9e950d17 Updated Mount. 2015-03-24 15:16:55 +11:00
Aaron Jacobs 94292e49fe Started on mounted_file_system.go. 2015-03-24 15:12:21 +11:00
Aaron Jacobs 0d8ca8e6fb Improved wording around EnableVnodeCaching. 2015-03-17 16:39:48 +11:00
Aaron Jacobs b9b5a4f5fc Updated MountConfig.bazilfuseOptions. 2015-03-17 16:22:19 +11:00
Aaron Jacobs 2f64ad7f08 Added MountConfig.EnableVnodeCaching. 2015-03-17 16:19:13 +11:00
Aaron Jacobs 7572e06a1f Set default_permissions when mounting. 2015-03-17 16:06:27 +11:00
Aaron Jacobs 8adb300b78 There are no supported options for now. 2015-03-17 15:25:48 +11:00
Aaron Jacobs 5129322fc2 Reworked the public interface for mount options. 2015-03-17 15:25:06 +11:00
Aaron Jacobs 2d10e03395 Switched import paths to the bazilfuse fork. 2015-03-17 15:03:11 +11:00
Aaron Jacobs b2a8322aaa Fixed copyright notices. 2015-03-04 08:27:42 +11:00
Aaron Jacobs 139cb4e968 Use the name bazilfuse. 2015-02-27 09:32:18 +11:00
Aaron Jacobs 90ef75da6f Renamed package fuseutil -> fuse. 2015-02-27 08:57:18 +11:00
Aaron Jacobs 915afb6308 Imported without modification from github.com/jacobsa/gcsfuse/fuseutil.
At commit 90c8d87fe8701d2335671eb01cbc1d70f655c87f.

I'm splitting this out because it's large and more generally useful.
2015-02-27 08:54:16 +11:00