Commit Graph

157 Commits (d29e0a6f93c24611fb5fd21ee6ec0b9ca8842836)

Author SHA1 Message Date
Aaron Jacobs d29e0a6f93 SyncFileOp 2015-07-24 12:51:29 +10:00
Aaron Jacobs 5e97b58fcc WriteFileOp 2015-07-24 12:51:29 +10:00
Aaron Jacobs 8c9daf83da ReleaseDirHandleOp 2015-07-24 12:51:29 +10:00
Aaron Jacobs d1c1155861 ReleaseFileHandleOp 2015-07-24 12:51:29 +10:00
Aaron Jacobs 86c921d9eb OpenDirOp 2015-07-24 12:51:28 +10:00
Aaron Jacobs ecdc71b136 OpenFileOp 2015-07-24 12:51:28 +10:00
Aaron Jacobs 90aee4644b ReadDirOp 2015-07-24 12:51:28 +10:00
Aaron Jacobs fc142cb274 ReadFileOp 2015-07-24 12:51:28 +10:00
Aaron Jacobs 7133c835aa RmDirOp 2015-07-24 12:51:28 +10:00
Aaron Jacobs d8e3e30f99 UnlinkOp 2015-07-24 12:51:28 +10:00
Aaron Jacobs f667900499 RenameOp 2015-07-24 12:51:28 +10:00
Aaron Jacobs 88036b9232 CreateSymlinkOp 2015-07-24 12:51:28 +10:00
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 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 e6f7fe6013 Killed fuseops.OpHeader. 2015-07-24 09:38:40 +10:00
Aaron Jacobs 591350f2c6 Fixed duplicate package documentation. 2015-07-24 09:35:14 +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 c42ea09940 Update a reference to the now-gone flag. 2015-07-16 10:48:50 +10:00
Aaron Jacobs b6588a6d41 Added documentation for RenameOp. 2015-06-25 22:13:45 +10:00
Aaron Jacobs 515cdb41a8 Fixed a bug in memfs renaming. 2015-06-25 22:01:56 +10:00
Aaron Jacobs 4008a44fb6 Added another TODO. 2015-06-25 21:38:39 +10:00
Aaron Jacobs 9406c5bc29 Added more test names and TODOs. 2015-06-25 21:38:39 +10:00
Aaron Jacobs eeb412d406 Fixed a bug. 2015-06-25 21:38:39 +10:00
Aaron Jacobs b121025b48 Added Convert support. 2015-06-25 21:38:39 +10:00
Aaron Jacobs feb41dddfa Defined RenameOp. 2015-06-25 21:38:38 +10:00
Aaron Jacobs 91a3b44294 Improve error log output for unknown operations.
Previously:

    (unknown(inode=1)) error: function not implemented

Now:

    (*bazilfuse.GetxattrRequest(inode=1)) error: function not implemented

For GoogleCloudPlatform/gcsfuse#76.
2015-06-22 12:40:40 +10:00
Aaron Jacobs 11eadaed84 Removed InitOp. 2015-06-22 12:29:52 +10:00
Aaron Jacobs 119f9a18ce Changed the guidance for dealing with lookup counts at unmount time. 2015-06-09 11:04:26 +10:00
Aaron Jacobs 32fbc7f9e7 Fixed build errors.
Caused by jacobsa/bazilfuse@47700022b9.
2015-06-05 15:24:22 +10:00
Aaron Jacobs f650aab183 Updated fuseops.Convert. 2015-05-25 14:16:19 +10:00
Aaron Jacobs 41f376af5f Added commonOp.errorLogger. 2015-05-25 14:15:49 +10:00
Aaron Jacobs e0db5cf622 Renamed existing debug logging functions. 2015-05-25 14:13:24 +10:00
Aaron Jacobs bd4af3f5a5 Updated advice on create, symlink, and mkdir. 2015-05-21 15:30:08 +10:00
Aaron Jacobs a6e14f1878 Fixed a bug. 2015-05-19 16:08:13 +10:00
Aaron Jacobs aa6498ca1b Added convert support. 2015-05-19 16:05:54 +10:00