Commit Graph

1040 Commits (3fe63db6fb6b8288631459284bc630d322709d67)

Author SHA1 Message Date
Aaron Jacobs f71fe97d5e Added file system support. 2015-05-19 15:33:19 +10:00
Aaron Jacobs 16155913c4 Added CreateSymlinkOp. 2015-05-19 15:31:53 +10:00
Aaron Jacobs e331443c2b Added symlink- and hard link-related tests. 2015-05-19 15:26:29 +10:00
Aaron Jacobs 35770118ce MemFSTest.ReadLink_NotASymlink 2015-05-19 15:26:25 +10:00
Aaron Jacobs 4537a6fb9b MemFSTest.ReadLink_NonExistent 2015-05-19 15:25:31 +10:00
Aaron Jacobs 2a58039db5 MemFSTest.CreateSymlink_AlreadyExists 2015-05-19 15:24:53 +10:00
Aaron Jacobs d2fd911271 Added two more names. 2015-05-19 15:22:50 +10:00
Aaron Jacobs 0a9c888d54 MemFSTest.CreateSymlink 2015-05-19 15:22:31 +10:00
Aaron Jacobs c478c23404 MemFSTest.HardLinks 2015-05-19 15:21:07 +10:00
Aaron Jacobs ba58fa8721 Added test names. 2015-05-19 15:18:50 +10:00
Aaron Jacobs 1d03f1695d Allow the user to set arbitrary mount options.
For GoogleCloudPlatform/gcsfuse#50.
2015-05-19 11:39:18 +10:00
Aaron Jacobs b65f337637 Allow setting a file system name. 2015-05-18 14:06:07 +10:00
Aaron Jacobs 54cb69c5ed Added support for mounting a file system in read-only mode.
For GoogleCloudPlatform/gcsfuse#48.
2015-05-18 10:22:00 +10:00
Aaron Jacobs abdc5138df Added documentation. 2015-05-18 10:21:33 +10:00
Aaron Jacobs 0c77f49eab Made a test work on both Linux and OS X. 2015-05-18 10:20:21 +10:00
Aaron Jacobs 3338682836 ReadOnlyTest.ReadDir 2015-05-18 10:16:49 +10:00
Aaron Jacobs 9e9c2ac2c9 ReadOnlyTest.StatFiles 2015-05-18 10:15:51 +10:00
Aaron Jacobs 7bef9dadfe Fixed tests to match real behavior. 2015-05-18 10:15:16 +10:00
Aaron Jacobs f547825dfa ReadOnlyTest.Chmod 2015-05-18 10:14:57 +10:00
Aaron Jacobs 039f159ab1 ReadOnlyTest.Chtimes 2015-05-18 10:14:19 +10:00
Aaron Jacobs dbc48cd39f ReadOnlyTest.OpenForWrite 2015-05-18 10:13:28 +10:00
Aaron Jacobs 87e443860a ReadOnlyTest.Mkdir 2015-05-18 10:11:21 +10:00
Aaron Jacobs 409c174eac ReadOnlyTest.CreateFile 2015-05-18 10:11:03 +10:00
Aaron Jacobs 59d54167fb Support read-only mode. 2015-05-18 10:09:06 +10:00
Aaron Jacobs 2931e283d2 ReadOnlyTest.ReadRoot 2015-05-18 10:07:41 +10:00
Aaron Jacobs fc1e4aab6b flushFS.ReadDir 2015-05-18 10:06:19 +10:00
Aaron Jacobs 2f2c40a367 Allow opening the root dir in flushfs. 2015-05-18 09:58:40 +10:00
Aaron Jacobs 9ee0e4a22f Started ReadOnlyTest.ReadRoot. 2015-05-18 09:57:05 +10:00
Aaron Jacobs 68a2e8a068 Added the mount_sample flag. 2015-05-18 09:55:39 +10:00
Aaron Jacobs 20ff8c6aec ReadOnlyTest.SetUp 2015-05-18 09:54:34 +10:00
Aaron Jacobs 7caa7e6e91 Added test names. 2015-05-18 09:52:10 +10:00
Aaron Jacobs 7ad99ec900 Added MountConfig.ReadOnly. 2015-05-18 09:49:37 +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 05bfe2677e Added support for kernel interrupt requests.
An interrupt for the kernel will cause the original op's context to be
cancelled.

For GoogleCloudPlatform/gcsfuse#41.
2015-05-05 12:42:11 +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 306840e4ce Wait less time, making the test faster. 2015-05-05 12:34:07 +10:00
Aaron Jacobs 130ddabc42 InterruptFSTest.InterruptedDuringRead 2015-05-05 12:32:36 +10:00
Aaron Jacobs 1236f0e278 Most of InterruptFSTest.InterruptedDuringRead. 2015-05-05 12:28:18 +10:00
Aaron Jacobs 98fe7cbb0d Handle interrupt requests. 2015-05-05 12:21:57 +10:00
Aaron Jacobs 0c8f9cece8 Fix another osxfuse request ID reuse bug. 2015-05-05 11:47:05 +10:00
Aaron Jacobs 7fd0abb1f5 Handle osxfuse's behavior of reusing "unique" IDs. 2015-05-05 11:44:54 +10:00
Aaron Jacobs 5649885523 Fixed a panic. 2015-05-05 10:42:17 +10:00
Aaron Jacobs 766ff1edf7 Connection.recordCancelFunc 2015-05-05 10:41:52 +10:00
Aaron Jacobs d22c1c64ae Arrange for a cancellation channel. 2015-05-05 10:41:09 +10:00
Aaron Jacobs 4fdecd8417 Use new beginOp/finishOp. 2015-05-05 10:36:38 +10:00
Aaron Jacobs 365f219704 New begin/finish interface. Not yet wired. 2015-05-05 10:34:40 +10:00
Aaron Jacobs be24b2b3e3 Signal in flight. 2015-05-05 10:34:40 +10:00
Aaron Jacobs 0b00132020 InterruptFS.ReadFile 2015-05-05 10:34:40 +10:00
Aaron Jacobs aeca4a00d5 Fixed a bug. 2015-05-05 10:34:40 +10:00