Commit Graph

542 Commits (e55b2926d81aa59c28d49c4d4661e9d08ec4475f)

Author SHA1 Message Date
Aaron Jacobs e55b2926d8 Updated doc.go. 2015-03-24 15:09:18 +11:00
Aaron Jacobs 2ece3e8c5e Deleted the FileSystem interface. 2015-03-24 15:07:48 +11:00
Aaron Jacobs d44e63937d Finished filling out the fuseops package, for #3. 2015-03-24 15:06:33 +11:00
Aaron Jacobs 9952c9b462 Finished Respond methods. 2015-03-24 15:06:20 +11:00
Aaron Jacobs 630d02e199 More Respond methods. 2015-03-24 15:02:27 +11:00
Aaron Jacobs ccca7bbf35 GetInodeAttributesOp.Respond 2015-03-24 15:00:59 +11:00
Aaron Jacobs 9e25c19f66 LookUpInodeOp.Respond 2015-03-24 15:00:05 +11:00
Aaron Jacobs 537c4c3e06 Convert other types. 2015-03-24 14:56:41 +11:00
Aaron Jacobs 505033377d Handle RemoveRequest. 2015-03-24 14:51:07 +11:00
Aaron Jacobs fe76354f67 Filled in more ops. 2015-03-24 14:50:17 +11:00
Aaron Jacobs e21d3254d4 Filled in more ops. 2015-03-24 14:49:27 +11:00
Aaron Jacobs 1cfd10be87 Filled in LookUpInodeOp. 2015-03-24 14:48:42 +11:00
Aaron Jacobs 2167bec8a2 Fixed switch cases. 2015-03-24 14:48:19 +11:00
Aaron Jacobs ec64b2561c Added helpful TODOs. 2015-03-24 14:46:31 +11:00
Aaron Jacobs aba4e37d40 Made everything an op. 2015-03-24 14:45:35 +11:00
Aaron Jacobs 2dfd8be146 Changed the contract. 2015-03-24 14:41:51 +11:00
Aaron Jacobs 2a6cbb7bd3 Added stubs for all types. 2015-03-24 14:40:58 +11:00
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