Aaron Jacobs
e8ddcd361c
Fixed kernel package name.
2015-07-24 09:42:42 +10:00
Aaron Jacobs
7b2b33d526
Fixed some build errors.
2015-07-24 09:42:42 +10:00
Aaron Jacobs
d87d15e893
Copied from jacobsa/bazilfuse@b378951 .
2015-07-24 09:42:41 +10:00
Aaron Jacobs
216fede41e
Copied from jacobsa/bazilfuse@b378951 .
2015-07-24 09:42:41 +10:00
Aaron Jacobs
df9f2b75f3
Removed fuseops.OpHeader.
...
This gave UID and GID information that wasn't obviously useful to the file
system, given that (by default at least) the file system can only be used by
the mounting user.
2015-07-24 09:38:48 +10:00
Aaron Jacobs
e6f7fe6013
Killed fuseops.OpHeader.
2015-07-24 09:38:40 +10:00
Aaron Jacobs
84c827f980
Stop using fuseops.Header in memfs.
2015-07-24 09:37:57 +10:00
Aaron Jacobs
591350f2c6
Fixed duplicate package documentation.
2015-07-24 09:35:14 +10:00
Aaron Jacobs
641f7b756d
Avoid a few per-op allocations.
2015-07-23 15:33:15 +10:00
Aaron Jacobs
7f2fe96fc5
Don't call Respond methods via reflect.Value.Call.
...
It allocates for each call, which is a drag.
2015-07-23 15:32:44 +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
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