Commit Graph

575 Commits (79ec56b9fa10706a36f1df53a125cd663d8b65c0)

Author SHA1 Message Date
Aaron Jacobs 18d288f1d9 Implemented the default case. 2015-03-24 14:38:57 +11:00
Aaron Jacobs e4d3d0aa56 Implemented missing functions. 2015-03-24 14:38:18 +11:00
Aaron Jacobs 73732d4425 Refactored and started on Convert. 2015-03-24 14:36:44 +11:00
Aaron Jacobs 28f009d41b Declared a conversion interface. 2015-03-24 14:24:00 +11:00
Aaron Jacobs bbc33f6317 Defined the Op interface. 2015-03-24 14:21:55 +11:00
Aaron Jacobs 194d73e5d4 Added op structs, to replace requests and responses for #3. 2015-03-24 14:18:23 +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
Aaron Jacobs 9037c45993 Added tests and documentation for msync(2) behavior. 2015-03-24 13:50:10 +11:00
Aaron Jacobs 32da7d5015 FsyncErrorTest.Msync 2015-03-24 13:49:44 +11:00
Aaron Jacobs 366567acf6 Updated some wording. 2015-03-24 13:47:59 +11:00
Aaron Jacobs c4c7ce568c Added a callout to msync for SyncFile. 2015-03-24 13:46:35 +11:00
Aaron Jacobs dd25450c72 Wrote a novel on mmap'd files. 2015-03-24 13:45:56 +11:00
Aaron Jacobs a0d210e535 Updated msync tests after setting MS_SYNC. 2015-03-24 13:36:33 +11:00
Aaron Jacobs 80c462596d Oops, set MS_SYNC or Linux does nothing. 2015-03-24 13:32:41 +11:00
Aaron Jacobs 917735c39e Added documentation about the safe way to close a mapping. 2015-03-24 13:06:41 +11:00
Aaron Jacobs 97c18fea3e Updated the reference for the assertion about munmap.
The link points here:

    http://sourceforge.net/p/fuse/mailman/message/33627382/

This is a fuse-devel thread titled "munmap(2) and fuse flush requests"
by me on 2015-03-23.
2015-03-24 13:04:53 +11:00
Aaron Jacobs 3aaca555a4 NoErrorsTest.Mmap_WithMsync_CloseBeforeMunmap 2015-03-24 13:01:32 +11:00
Aaron Jacobs 2f5062ac6c Oops, msync helper is broken. 2015-03-24 13:00:18 +11:00
Aaron Jacobs 331695907b Oops, forgot to msync. 2015-03-24 12:58:59 +11:00
Aaron Jacobs 597e126409 NoErrorsTest.Mmap_WithMsync_MunmapBeforeClose 2015-03-24 12:57:38 +11:00
Aaron Jacobs 0888482d8a Implemented msync helper. 2015-03-24 12:56:01 +11:00
Aaron Jacobs edd7a48815 Declared msync-related tests. 2015-03-24 12:53:40 +11:00
Aaron Jacobs a032446479 Removed GOMAXPROCS-related workarounds.
These are no longer needed as of the work in #4.
2015-03-24 12:53:12 +11:00
Aaron Jacobs 02eb1c8e32 Added flushfs tests involving fdatasync and directories.
For GoogleCloudPlatform/gcsfuse#13.
2015-03-24 12:33:22 +11:00
Aaron Jacobs 9689fd896f Fixed fdatasync build errors on linux. 2015-03-24 12:32:56 +11:00
Aaron Jacobs 690a8214c2 Added a missing file. 2015-03-24 12:31:50 +11:00
Aaron Jacobs e4e12848fb Fixed fdatasync build errors on darwin. 2015-03-24 12:31:16 +11:00
Aaron Jacobs cf22c43238 Removed redundant checks that don't work for all error types. 2015-03-24 12:26:22 +11:00
Aaron Jacobs e74d8b6a85 Added a --debug flag. 2015-03-24 12:25:27 +11:00
Aaron Jacobs db0ab82bdd FsyncErrorTest.Fdatasync 2015-03-24 12:24:00 +11:00
Aaron Jacobs 51f6b01135 NoErrorsTest.Fdatasync 2015-03-24 12:22:25 +11:00
Aaron Jacobs 5f3f94992c Undid debugging changes. 2015-03-24 12:04:47 +11:00
Aaron Jacobs fddf222e4f Declared fdatasync tests. 2015-03-24 12:04:16 +11:00
Aaron Jacobs 096c3fa695 Added a test for directories. 2015-03-24 12:02:48 +11:00
Aaron Jacobs 38862e8650 Set GOMAXPROCS=2 in mount_sample to help flush out issues like #4. 2015-03-24 11:53:32 +11:00
Aaron Jacobs 53bae01f57 Run the flushfs test in a subprocess to eliminate page fault deadlocks.
For #4.
2015-03-24 11:42:01 +11:00
Aaron Jacobs 4584e4de8f Be consistent about file names. 2015-03-24 11:27:58 +11:00
Aaron Jacobs 12b184c011 Clean up after the tool binary. 2015-03-24 11:27:18 +11:00