Commit Graph

1438 Commits (b6e2754edfa8ac864bd26efe8541ebf2ee6563eb)

Author SHA1 Message Date
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
Aaron Jacobs 5eb7759880 Killed off the --fuse.debug flag. 2015-07-16 10:52:18 +10:00
Aaron Jacobs e1eaeb5b64 Fix debug logging for in-process tests. 2015-07-16 10:52:06 +10:00
Aaron Jacobs 528f3d1d06 Fix debug logging for subprocess tests. 2015-07-16 10:51:08 +10:00
Aaron Jacobs c42ea09940 Update a reference to the now-gone flag. 2015-07-16 10:48:50 +10:00
Aaron Jacobs d38b2cdb6f Killed debug.go. 2015-07-16 10:47:56 +10:00
Aaron Jacobs cea9394fd7 Use MountConfig.DebugLogger. 2015-07-16 10:47:42 +10:00
Aaron Jacobs d914c05369 Added MountConfig.DebugLogger. 2015-07-16 10:46:59 +10:00
Aaron Jacobs 069fff34a5 Added a rename op.
For GoogleCloudPlatform/gcsfuse#81.
2015-06-25 22:15:31 +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 a4e7cab07d Filled out memfs rename tests. 2015-06-25 21:58:17 +10:00
Aaron Jacobs 1878a13850 MemFSTest.RenameNonExistentFile 2015-06-25 21:58:10 +10:00
Aaron Jacobs 7fb4f4d34f MemFSTest.RenameOverExisting_WrongType 2015-06-25 21:57:17 +10:00
Aaron Jacobs a28c3afdfd MemFSTest.RenameOverExistingDirectory 2015-06-25 21:54:38 +10:00
Aaron Jacobs 76b311bdc2 MemFSTest.RenameOverExistingFile 2015-06-25 21:51:36 +10:00
Aaron Jacobs 542984f5bd MemFSTest.RenameIntoFileSystem 2015-06-25 21:48:45 +10:00
Aaron Jacobs a69cbc2139 MemFSTest.RenameOutOfFileSystem 2015-06-25 21:47:31 +10:00
Aaron Jacobs af38b8f8e5 MemFSTest.RenameAcrossDirs_Directory 2015-06-25 21:45:12 +10:00
Aaron Jacobs 361e9e61f6 MemFSTest.RenameAcrossDirs_File 2015-06-25 21:43:01 +10:00
Aaron Jacobs bde0d1be29 MemFSTest.RenameWithinDir_SameName 2015-06-25 21:40:54 +10:00
Aaron Jacobs 6ec382c952 Added another test name. 2015-06-25 21:40:53 +10:00
Aaron Jacobs 7b0dfea7dd Added a test stub. 2015-06-25 21:40:53 +10:00
Aaron Jacobs f7f7ac8ff6 Fixed build errors. 2015-06-25 21:40:42 +10:00
Aaron Jacobs 99080585ce Fixed a test bug. 2015-06-25 21:39:10 +10:00
Aaron Jacobs 7c97a95067 Strengthened some tests. 2015-06-25 21:39:10 +10:00
Aaron Jacobs 5532e21b56 Fixed build errors. 2015-06-25 21:39:10 +10:00
Aaron Jacobs 1d764bcde0 Mostly implemented Rename. 2015-06-25 21:38:39 +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 8ba8c0bf24 Oops, forgot fileSystemServer.handleOp. 2015-06-25 21:38:39 +10:00
Aaron Jacobs f31cd5eb0a Added a snooping implementation. 2015-06-25 21:38:39 +10:00
Aaron Jacobs 723fcb1d3e Added FileSystem support. 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 45ab98457f Improved rename tests. 2015-06-25 21:38:38 +10:00
Aaron Jacobs 3440c23dd2 MemFSTest.RenameWithinDir_Directory 2015-06-25 21:38:38 +10:00
Aaron Jacobs 60383de712 MemFSTest.RenameWithinDir_File 2015-06-25 21:38:38 +10:00
Aaron Jacobs 044aa10a41 Declared test names. 2015-06-25 21:38:38 +10:00
Aaron Jacobs 10b71ca55f Simplified memfs locking. 2015-06-25 21:37:46 +10:00