Commit Graph

121 Commits (15b31ee0eefb13fd6ca8008c6cf1e9ec87b83160)

Author SHA1 Message Date
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 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 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 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 16155913c4 Added CreateSymlinkOp. 2015-05-19 15:31:53 +10:00
Aaron Jacobs 02983fd557 Added unknownOp. 2015-05-05 10:32:22 +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 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 4f1efbe41b Removed a bunch of boilerplate. 2015-05-05 10:01:17 +10:00
Aaron Jacobs ccde3b5ce3 Clarify concurrency of Respond. 2015-05-05 09:53:21 +10:00
Aaron Jacobs 93de940966 Added some vanity op descriptions. 2015-05-01 12:38:03 +10:00
Aaron Jacobs d31b0cbd81 Refactored op descriptions again. 2015-05-01 12:24:36 +10:00
Aaron Jacobs 63490e89bc Use the common response helper. 2015-05-01 11:00:12 +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 dbbb61ad10 Added a LogF method to Op. 2015-04-29 11:28:34 +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 7ed1d0689d Updated documentation in light of the investigation in issue #8. 2015-04-02 10:45:38 +11:00
Aaron Jacobs 3de0df2676 Added a note about serialization on SyncFileOp too. 2015-04-01 11:34:33 +11:00
Aaron Jacobs db2100ecbb Added some code investigation about fuse_flush not waiting for writes.
While I'm thinking about GoogleCloudPlatform/gcsfuse#23.
2015-04-01 11:29:32 +11:00
Aaron Jacobs 6b4a733e56 Added a citation. 2015-03-31 15:59:26 +11:00
Aaron Jacobs 2dd919f8f3 Fixed misspecification of forget behavior for the root inode. 2015-03-31 15:25:20 +11:00
Aaron Jacobs 9719d57fb6 Added connection support for ForgetInodeOp. 2015-03-31 09:58:43 +11:00
Aaron Jacobs ee2040958c The root inode ends with a lookup count of one, too. 2015-03-31 09:53:39 +11:00
Aaron Jacobs 36d7193638 Added a note about nlookup for the root inode.
For #7.
2015-03-30 16:35:17 +11:00
Aaron Jacobs 06bacc17a3 Documented the responses that increment the lookup count. 2015-03-30 15:59:41 +11:00
Aaron Jacobs a44e5edb46 Added more info on nlookup incrementing. 2015-03-30 15:54:44 +11:00
Aaron Jacobs bc03335bb2 Added additional field and better documentation for ForgetInodeOp. 2015-03-30 15:53:15 +11:00
Aaron Jacobs f0d9fada95 Fixed InitResponse logging. 2015-03-26 16:26:35 +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 5dbc3bcd61 Ask for large writes from the kernel.
For googlecloudplatform/gcsfuse#27.
2015-03-26 16:10:07 +11:00
Aaron Jacobs 2222e8d053 Specify that errors from Release{File,Dir}Handle ops are ignored.
Fixes #6.
2015-03-25 11:08:04 +11:00
Aaron Jacobs 48f58d3d69 Fixed MkDirOp.Respond. 2015-03-24 16:29:13 +11:00
Aaron Jacobs 77ad10c518 Fixed response output. 2015-03-24 16:01:53 +11:00
Aaron Jacobs 58e8a310aa Log responses and errors. 2015-03-24 15:59:19 +11:00
Aaron Jacobs 0252cb61e6 Defined Connection. 2015-03-24 15:19:42 +11:00
Aaron Jacobs 9952c9b462 Finished Respond methods. 2015-03-24 15:06:20 +11:00
Aaron Jacobs 630d02e199 More Respond methods. 2015-03-24 15:02:27 +11:00
Aaron Jacobs ccca7bbf35 GetInodeAttributesOp.Respond 2015-03-24 15:00:59 +11:00
Aaron Jacobs 9e25c19f66 LookUpInodeOp.Respond 2015-03-24 15:00:05 +11:00
Aaron Jacobs aba4e37d40 Made everything an op. 2015-03-24 14:45:35 +11:00
Aaron Jacobs 2dfd8be146 Changed the contract. 2015-03-24 14:41:51 +11:00
Aaron Jacobs 73732d4425 Refactored and started on Convert. 2015-03-24 14:36:44 +11:00
Aaron Jacobs bbc33f6317 Defined the Op interface. 2015-03-24 14:21:55 +11:00
Aaron Jacobs d611ddfab0 Fixed build errors. 2015-03-24 14:18:01 +11:00
Aaron Jacobs 9aff9a66a8 Finished porting methods. 2015-03-24 14:17:30 +11:00
Aaron Jacobs 680eaa899d Ported more methods. 2015-03-24 14:16:59 +11:00
Aaron Jacobs f4c58fac66 Ported more methods. 2015-03-24 14:15:33 +11:00
Aaron Jacobs e930166b68 Ported two more methods. 2015-03-24 14:13:59 +11:00
Aaron Jacobs 5203b8289a Ported two more methods. 2015-03-24 14:13:28 +11:00
Aaron Jacobs 39c6e2e5ce Ported LookUpInode. 2015-03-24 14:12:10 +11:00
Aaron Jacobs 9d282740dd Ported Init. 2015-03-24 14:11:28 +11:00
Aaron Jacobs d43618adec Refined a bunch of wording. 2015-03-24 14:11:07 +11:00
Aaron Jacobs d84933bedf Moved "simple types" to a separate file. 2015-03-24 14:05:56 +11:00
Aaron Jacobs 386855c559 Carved up FileSystem. 2015-03-24 14:02:10 +11:00
Aaron Jacobs 8e746f35b5 Updated the package statement. 2015-03-24 13:58:25 +11:00
Aaron Jacobs 84559e6234 Copied and pasted from file_system.go. 2015-03-24 13:57:43 +11:00