Commit Graph

139 Commits (7fb5d10b11ef4e72d6ecf9c4fe0a9e452e4f245c)

Author SHA1 Message Date
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
Aaron Jacobs 83baabeaf5 Added ReadSymlinkOp. 2015-05-19 16:05:01 +10:00
Aaron Jacobs 32c4d03ad1 Clarify that UnlinkOp applies to directories, too. 2015-05-19 16:02:20 +10:00
Aaron Jacobs e9a77cf27d Added Convert support. 2015-05-19 15:34:14 +10:00
Aaron Jacobs 16155913c4 Added CreateSymlinkOp. 2015-05-19 15:31:53 +10:00
Aaron Jacobs cb273d013a Moved per-PID tracing to Connection.
This lets it happen before per-request cancellation, which otherwise
causes all future ops to start cancelled after one finishes.
2015-05-05 15:06:01 +10:00
Aaron Jacobs a9b17361e8 Fixed a context propagation bug. 2015-05-05 14:49:59 +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 02983fd557 Added unknownOp. 2015-05-05 10:32:22 +10:00
Aaron Jacobs 2cde92d5de Defined new contract. 2015-05-05 10:29:48 +10:00
Aaron Jacobs bc6e09f86f toBazilfuseResponse methods. 2015-05-05 10:27:24 +10:00
Aaron Jacobs bc476921d5 Set bfResp. 2015-05-05 10:26:34 +10:00
Aaron Jacobs 2aed770c32 commonOp.Respond 2015-05-05 10:25:25 +10:00
Aaron Jacobs 9167630de5 Renamed methods. 2015-05-05 10:23:37 +10:00
Aaron Jacobs daa69251d1 Killed branches on err. 2015-05-05 10:22:46 +10:00
Aaron Jacobs ee8c1f0357 Use internalOp. 2015-05-05 10:21:21 +10:00
Aaron Jacobs 6c38037b11 Defined internalOp. 2015-05-05 10:20:03 +10:00