Commit Graph

666 Commits (0461ddac4f30ce53b60f2cbec0ae861705bf65af)

Author SHA1 Message Date
Aaron Jacobs 0461ddac4f Handle each op in its own goroutine. 2015-04-02 10:52:58 +11:00
Aaron Jacobs 4d06d8aef8 Updated NewFileSystemServer docs. 2015-04-02 10:50:44 +11:00
Aaron Jacobs 7ed1d0689d Updated documentation in light of the investigation in issue #8. 2015-04-02 10:45:38 +11:00
Aaron Jacobs dadff5d9b5 Disable annoying Apple Double files on OS X.
If these ever prove to be desirable, we can revert this or add a mount
option.
2015-04-01 13:25:16 +11:00
Aaron Jacobs 3de0df2676 Added a note about serialization on SyncFileOp too. 2015-04-01 11:34:33 +11:00
Aaron Jacobs db2100ecbb Added some code investigation about fuse_flush not waiting for writes.
While I'm thinking about GoogleCloudPlatform/gcsfuse#23.
2015-04-01 11:29:32 +11:00
Aaron Jacobs 3ccb5ca04d Added a "picky" version of ioutil.ReadDir.
For GoogleCloudPlatform/gcsfuse#30.
2015-04-01 09:16:20 +11:00
Aaron Jacobs 68c1be048a Don't forget to close the directory. 2015-04-01 09:15:45 +11:00
Aaron Jacobs 144a8d9fd9 Implemented ReadDirPicky. 2015-04-01 09:13:47 +11:00
Aaron Jacobs 40fdee8c78 Made tests pickier about ReadDir. 2015-04-01 09:05:26 +11:00
Aaron Jacobs 304ce5a08e Added a stub for a picky version of ioutil.ReadDir. 2015-04-01 08:46:18 +11:00
Aaron Jacobs e859e64179 fsImpl.Check: Bail out early on Linux.
To my great disappointment, I can't figure out a way to make this test
reliable on Linux. Hopefully the cited mailing list thread will come
through.
2015-03-31 16:01:22 +11:00
Aaron Jacobs 6b4a733e56 Added a citation. 2015-03-31 15:59:26 +11:00
Aaron Jacobs 2dd919f8f3 Fixed misspecification of forget behavior for the root inode. 2015-03-31 15:25:20 +11:00
Aaron Jacobs a336c82f2a Finished implementing forgetfs.
For #7.
2015-03-31 10:16:10 +11:00
Aaron Jacobs 074e69a3df fsImpl.MkDir 2015-03-31 10:15:46 +11:00
Aaron Jacobs 1bceb941b1 fsImpl.CreateFile 2015-03-31 10:15:06 +11:00
Aaron Jacobs 11878520a6 fsImpl.OpenDir 2015-03-31 10:11:00 +11:00
Aaron Jacobs 7f614f1faf Filled out the tests for forgetfs.
For #7.
2015-03-31 10:10:04 +11:00
Aaron Jacobs a31287ac35 ForgetFSTest.MkDir 2015-03-31 10:09:58 +11:00
Aaron Jacobs c0d3a195c6 ForgetFSTest.CreateFile 2015-03-31 10:09:09 +11:00
Aaron Jacobs ce13e404fd ForgetFSTest.Stat_ManyTimes 2015-03-31 10:07:43 +11:00
Aaron Jacobs a84040dc15 ForgetFSTest.Stat_Bar 2015-03-31 10:07:07 +11:00
Aaron Jacobs fb6dcee4d0 ForgetFSTest.Stat_Foo 2015-03-31 10:06:51 +11:00
Aaron Jacobs ea13e766fd ForgetFSTest.Open_ManyTimes 2015-03-31 10:06:06 +11:00
Aaron Jacobs a11be99f88 ForgetFSTest.Open_Bar 2015-03-31 10:04:29 +11:00
Aaron Jacobs 706617d03b Added connection support for ForgetInodeOp, and started testing.
For #7.
2015-03-31 10:02:37 +11:00
Aaron Jacobs fef47a3a32 fsImpl.ForgetInode 2015-03-31 10:01:09 +11:00
Aaron Jacobs 9719d57fb6 Added connection support for ForgetInodeOp. 2015-03-31 09:58:43 +11:00
Aaron Jacobs ee2040958c The root inode ends with a lookup count of one, too. 2015-03-31 09:53:39 +11:00
Aaron Jacobs 8e04b7d848 fsImpl.OpenFile 2015-03-31 09:50:01 +11:00
Aaron Jacobs 50cda17355 Fixed a panic. 2015-03-31 09:48:50 +11:00
Aaron Jacobs d0a8174ec0 fsImpl.LookUpInode. 2015-03-31 09:46:01 +11:00
Aaron Jacobs 541223bb07 fsImpl.GetInodeAttributes 2015-03-31 09:39:27 +11:00
Aaron Jacobs a573f6e575 The root inode begins with a lookup count of 1.
Cf. jacobsa/fuse@36d7193638
2015-03-30 16:36:28 +11:00
Aaron Jacobs ded5091c2e ForgetFSTest.Open_Foo 2015-03-30 16:35:37 +11:00
Aaron Jacobs f76439120c Check 2015-03-30 16:35:37 +11:00
Aaron Jacobs a787be87bb fsImpl.checkInvariants 2015-03-30 16:35:37 +11:00
Aaron Jacobs b2b1b6a4ef Added fsImpl members. 2015-03-30 16:35:37 +11:00
Aaron Jacobs a37b22d786 fsImpl.Init 2015-03-30 16:35:37 +11:00
Aaron Jacobs 42cefe94f7 Revised a plan. 2015-03-30 16:35:37 +11:00
Aaron Jacobs 8e8c391a21 Made a panic clearer. 2015-03-30 16:35:37 +11:00
Aaron Jacobs faba594f7f ForgetFSTest.SetUp 2015-03-30 16:35:37 +11:00
Aaron Jacobs 36643c8daf Added test names. 2015-03-30 16:35:36 +11:00
Aaron Jacobs d4e690f2f8 Added a test stub. 2015-03-30 16:35:36 +11:00
Aaron Jacobs 987e4f4087 Sketched forgetfs. 2015-03-30 16:35:36 +11:00
Aaron Jacobs 36d7193638 Added a note about nlookup for the root inode.
For #7.
2015-03-30 16:35:17 +11:00
Aaron Jacobs bd16024eec Nailed down the semantics of ForgetInodeOp.
For #7.
2015-03-30 16:00:21 +11:00
Aaron Jacobs 06bacc17a3 Documented the responses that increment the lookup count. 2015-03-30 15:59:41 +11:00
Aaron Jacobs a44e5edb46 Added more info on nlookup incrementing. 2015-03-30 15:54:44 +11:00