Commit Graph

1078 Commits (695b70b1e63da3b0ad1f6f1afe0d23d5fe5cce29)

Author SHA1 Message Date
Aaron Jacobs bf11280dcd CreateFileOp 2015-07-24 12:51:28 +10:00
Aaron Jacobs 39b2936592 MkDirOp 2015-07-24 12:51:28 +10:00
Aaron Jacobs 091d0e967c ForgetInodeOp 2015-07-24 12:51:28 +10:00
Aaron Jacobs a30301af46 SetInodeAttributesOp 2015-07-24 12:51:27 +10:00
Aaron Jacobs 93a670bc8c GetInodeAttributesOp 2015-07-24 12:51:27 +10:00
Aaron Jacobs f70c00c1ed LookUpInodeOp 2015-07-24 12:51:27 +10:00
Aaron Jacobs 7fb5d10b11 Begin on Convert. 2015-07-24 12:51:27 +10:00
Aaron Jacobs 8a92167cc8 Updated the signature of fuseops.Convert. 2015-07-24 12:51:27 +10:00
Aaron Jacobs de61f1bdca Export a Destroy method. 2015-07-24 12:51:27 +10:00
Aaron Jacobs c18d5a42e6 Split out message reading in preparation for reusing it. 2015-07-24 12:51:27 +10:00
Aaron Jacobs deded00e91 Export Message. 2015-07-24 12:51:27 +10:00
Aaron Jacobs e01202779d Deleted a broken test. 2015-07-24 12:51:12 +10:00
Aaron Jacobs f4231ede4b Copied over the juicy bits of bazilfuse, and made them work. 2015-07-24 09:42:43 +10:00
Aaron Jacobs aa32dd928b Fixed some more references to bazilfuse. 2015-07-24 09:42:43 +10:00
Aaron Jacobs dd005502f0 Fixed a build error. 2015-07-24 09:42:43 +10:00
Aaron Jacobs 61d71f86ba Fixed some package names. 2015-07-24 09:42:43 +10:00
Aaron Jacobs 38685c9ea2 Copied some missing files from from jacobsa/bazilfuse@b378951. 2015-07-24 09:42:43 +10:00
Aaron Jacobs b8bf3cacb4 Fixed some build errors. 2015-07-24 09:42:43 +10:00
Aaron Jacobs 8e0cba22dd Unexported unused Flags fields. 2015-07-24 09:42:43 +10:00
Aaron Jacobs 4dc22ba2e7 Use package fuseshim in package fuseops. 2015-07-24 09:42:42 +10:00
Aaron Jacobs 81dee67b51 Use package fuseshim in package fuse. 2015-07-24 09:42:42 +10:00
Aaron Jacobs 8c94df5ce9 Made package fuseshim build. 2015-07-24 09:42:42 +10:00
Aaron Jacobs b14b41f3f5 Fixed more build errors. 2015-07-24 09:42:42 +10:00
Aaron Jacobs bd41a4e788 Fixed more build errors. 2015-07-24 09:42:42 +10:00
Aaron Jacobs 4dd9732c5b Copied a missing file from from jacobsa/bazilfuse@b378951. 2015-07-24 09:42:42 +10:00
Aaron Jacobs ca5f985182 Fixed more errors. 2015-07-24 09:42:42 +10:00
Aaron Jacobs d6a582c6a5 Fixed more shim errors. 2015-07-24 09:42:42 +10:00
Aaron Jacobs f0fb8be9b4 Fixed some fuseshim build errors. 2015-07-24 09:42:42 +10:00
Aaron Jacobs 4bc4c23872 Fixed Protocol layering. 2015-07-24 09:42:42 +10:00
Aaron Jacobs e8ddcd361c Fixed kernel package name. 2015-07-24 09:42:42 +10:00
Aaron Jacobs 7b2b33d526 Fixed some build errors. 2015-07-24 09:42:42 +10:00
Aaron Jacobs d87d15e893 Copied from jacobsa/bazilfuse@b378951. 2015-07-24 09:42:41 +10:00
Aaron Jacobs 216fede41e Copied from jacobsa/bazilfuse@b378951. 2015-07-24 09:42:41 +10:00
Aaron Jacobs df9f2b75f3 Removed fuseops.OpHeader.
This gave UID and GID information that wasn't obviously useful to the file
system, given that (by default at least) the file system can only be used by
the mounting user.
2015-07-24 09:38:48 +10:00
Aaron Jacobs e6f7fe6013 Killed fuseops.OpHeader. 2015-07-24 09:38:40 +10:00
Aaron Jacobs 84c827f980 Stop using fuseops.Header in memfs. 2015-07-24 09:37:57 +10:00
Aaron Jacobs 591350f2c6 Fixed duplicate package documentation. 2015-07-24 09:35:14 +10:00
Aaron Jacobs 641f7b756d Avoid a few per-op allocations. 2015-07-23 15:33:15 +10:00
Aaron Jacobs 7f2fe96fc5 Don't call Respond methods via reflect.Value.Call.
It allocates for each call, which is a drag.
2015-07-23 15:32:44 +10:00
Aaron Jacobs 894e5ffba2 Fill in bfReq fields. 2015-07-22 22:27:48 +10:00
Aaron Jacobs 422fe4db37 Implemented respond methods. 2015-07-22 22:26:58 +10:00
Aaron Jacobs 2c1ba6d729 LookUpInodeOp.respond 2015-07-22 22:23:47 +10:00
Aaron Jacobs 2366f698e2 Added bfReq members. 2015-07-22 22:23:11 +10:00
Aaron Jacobs aff2fc2f9e Ripped out the toBazilfuseResponse logic from commonOp. 2015-07-22 22:19:49 +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 4b1e4b55f9 Embed the bazilfuse response object within ReadFileOp.
This saves an allocation that is very much on the hot path in a
read-heavy load.
2015-07-22 21:32:10 +10:00
Aaron Jacobs 3755e07da2 Enabled Travis CI. 2015-07-21 21:55:40 +10:00
Aaron Jacobs 1a3bd0eae3 Killed a few stale features and removed a global debug flag.
For GoogleCloudPlatform/gcsfuse#89.
2015-07-16 10:55:54 +10:00
Aaron Jacobs f0f62136a7 Killed the stale random delays feature. 2015-07-16 10:55:38 +10:00
Aaron Jacobs b44d345076 Killed the per-PID tracing feature.
This was a cute hack, but I haven't used it in awhile, and it won't work
(for gcsfuse at least) as of the changes for
GoogleCloudPlatform/gcsfuse#89.
2015-07-16 10:54:34 +10:00