Commit Graph

1113 Commits (95647107067fb77dfe3462ec9f331d40979937c2)

Author SHA1 Message Date
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
Aaron Jacobs c7c0b23bc0 Fixed up memfs.go. 2015-06-25 21:37:29 +10:00
Aaron Jacobs a365c6c2cb Removed inode.mu. 2015-06-25 21:35:09 +10:00
Aaron Jacobs bb3046cdaa Unified a duplicate pair of methods in memfs. 2015-06-25 16:16:48 +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 23590532ff Killed off InitOp.
This wasn't useful to users to begin with, and an API change in bazil.org/fuse
made it non-functional.

Fixes #10.
2015-06-22 12:31:47 +10:00
Aaron Jacobs 3103bb22a1 Updated samples. 2015-06-22 12:31:25 +10:00
Aaron Jacobs e59720bfb0 Updated a comment. 2015-06-22 12:31:06 +10:00
Aaron Jacobs e4cd605c76 Updated package fuseutil. 2015-06-22 12:30:17 +10:00
Aaron Jacobs 11eadaed84 Removed InitOp. 2015-06-22 12:29:52 +10:00
Aaron Jacobs ef728f8af2 Set max readahead to a large value when mounting.
For #10.
2015-06-22 12:26:03 +10:00
Aaron Jacobs 1939992b46 Reference package syncutil in its new location. 2015-06-15 08:27:39 +10:00
Aaron Jacobs 6d19754c38 Reference package timeutil in its new location. 2015-06-15 08:11:28 +10:00
Aaron Jacobs 6292872c4e Added a FileSystem.Destroy method, called after unmount.
Fixes #9.
2015-06-09 13:29:00 +10:00
Aaron Jacobs 3cb67f5833 Tightened forgetfs's post-destruction check, now that we can. 2015-06-09 13:27:02 +10:00
Aaron Jacobs 43c8f9d8c2 Fixed a bug in forgetfs.
This manifested as ForgetFSTest.MkDir pacicking now and then in a manner
like this:

    28e0a01a92/gistfile1.txt
2015-06-09 13:25:28 +10:00
Aaron Jacobs 0f62458e21 Destroy when done. 2015-06-09 11:11:52 +10:00
Aaron Jacobs 9cc2a6f450 Implemented Destroy for forgetfs. 2015-06-09 11:10:39 +10:00
Aaron Jacobs 630f40de94 NotImplementedFileSystem.Destroy 2015-06-09 11:05:02 +10:00
Aaron Jacobs 6fff9f3f20 Added FileSystem.Destroy. 2015-06-09 11:05:02 +10:00
Aaron Jacobs c9c4a456b1 Removed the Linux destroy workaround. 2015-06-09 11:04:26 +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 c1d30a3823 Moved in-flight waiting from Connection into Server.
For #9.
2015-06-09 11:03:33 +10:00
Aaron Jacobs 6c85a93914 Removed synchronization from Connection.Close. 2015-06-09 11:02:08 +10:00
Aaron Jacobs 5ae9856c29 Define that Server.ServeOps must wait for in-flights. 2015-06-09 11:01:11 +10:00
Aaron Jacobs 100c7af28a Put a wait group in fileSystemServer. 2015-06-09 10:47:35 +10:00