Commit Graph

44 Commits (f004d3ff4a95395f5ea3df9f26c8500bab3438e1)

Author SHA1 Message Date
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 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 11eadaed84 Removed InitOp. 2015-06-22 12:29:52 +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 e0db5cf622 Renamed existing debug logging functions. 2015-05-25 14:13:24 +10:00
Aaron Jacobs aa6498ca1b Added convert support. 2015-05-19 16:05:54 +10:00
Aaron Jacobs e9a77cf27d Added Convert support. 2015-05-19 15:34:14 +10:00
Aaron Jacobs fe90f319b3 Fixed a bug in handling of an unknown op type. 2015-05-05 12:40:37 +10:00
Aaron Jacobs 0c8f9cece8 Fix another osxfuse request ID reuse bug. 2015-05-05 11:47:05 +10:00
Aaron Jacobs 025ddafef1 Updated Convert. 2015-05-05 10:32:57 +10:00
Aaron Jacobs 2cde92d5de Defined new contract. 2015-05-05 10:29:48 +10:00
Aaron Jacobs ee8c1f0357 Use internalOp. 2015-05-05 10:21:21 +10:00
Aaron Jacobs 66dad039d2 Convert 2015-05-05 10:00:18 +10:00
Aaron Jacobs 6679631689 Refactored how op descriptions work. 2015-05-01 12:21:06 +10:00
Aaron Jacobs 0985694a4b Allow setting a parent context for all ops. 2015-05-01 11:17:15 +10:00
Aaron Jacobs cf9ed934d5 Added a hook for fixing op type descriptions. 2015-05-01 11:02:39 +10:00
Aaron Jacobs d599dcd23a Split up convert.go a bit. 2015-05-01 10:49:50 +10:00
Aaron Jacobs c2e9acdd0a Made built-in fuse logging less verbose. 2015-04-29 12:09:39 +10:00
Aaron Jacobs cad0c5fe50 Obtain file:line info in Connection.log. 2015-04-29 11:44:00 +10:00
Aaron Jacobs 1720b526fb Use Connection.log for ops, too. 2015-04-29 11:35:28 +10:00
Aaron Jacobs 380eba1dd5 Added a simple Logf implementation. To be improved. 2015-04-29 11:28:35 +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 9719d57fb6 Added connection support for ForgetInodeOp. 2015-03-31 09:58:43 +11:00
Aaron Jacobs ee7b064667 While I'm at it, also enable large reads.
For googlecloudplatform/gcsfuse#27.
2015-03-26 16:25:01 +11:00
Aaron Jacobs bc5f2bac2d Fixed SetInodeAttributesOp conversion. 2015-03-24 16:32:12 +11:00
Aaron Jacobs fb40c200a9 Fixed a panic. 2015-03-24 16:02:40 +11:00
Aaron Jacobs 58e8a310aa Log responses and errors. 2015-03-24 15:59:19 +11:00
Aaron Jacobs a6638727cc Fixed a silly bug. 2015-03-24 15:48:18 +11:00
Aaron Jacobs 9e25c19f66 LookUpInodeOp.Respond 2015-03-24 15:00:05 +11:00
Aaron Jacobs 537c4c3e06 Convert other types. 2015-03-24 14:56:41 +11:00
Aaron Jacobs 505033377d Handle RemoveRequest. 2015-03-24 14:51:07 +11:00
Aaron Jacobs fe76354f67 Filled in more ops. 2015-03-24 14:50:17 +11:00
Aaron Jacobs e21d3254d4 Filled in more ops. 2015-03-24 14:49:27 +11:00
Aaron Jacobs 1cfd10be87 Filled in LookUpInodeOp. 2015-03-24 14:48:42 +11:00
Aaron Jacobs 2167bec8a2 Fixed switch cases. 2015-03-24 14:48:19 +11:00
Aaron Jacobs ec64b2561c Added helpful TODOs. 2015-03-24 14:46:31 +11:00
Aaron Jacobs 2dfd8be146 Changed the contract. 2015-03-24 14:41:51 +11:00
Aaron Jacobs 2a6cbb7bd3 Added stubs for all types. 2015-03-24 14:40:58 +11:00
Aaron Jacobs 18d288f1d9 Implemented the default case. 2015-03-24 14:38:57 +11:00
Aaron Jacobs e4d3d0aa56 Implemented missing functions. 2015-03-24 14:38:18 +11:00
Aaron Jacobs 73732d4425 Refactored and started on Convert. 2015-03-24 14:36:44 +11:00
Aaron Jacobs 28f009d41b Declared a conversion interface. 2015-03-24 14:24:00 +11:00