Aaron Jacobs
5921525aab
Removed special handling of statfs.
8 years ago
Aaron Jacobs
4d5341f6ce
Added FileSystem.StatFS.
8 years ago
Aaron Jacobs
c49a7e13b7
Added and documented StatfsOp.
8 years ago
Aaron Jacobs
284ddf44b0
MemFSTest.Statfs
8 years ago
Aaron Jacobs
ee4f4770b6
Fixed some out of date lock annotations.
8 years ago
Aaron Jacobs
560105cab6
Fixed test failures on OS X.
8 years ago
Aaron Jacobs
8f220f0e15
Fixed an out of date description.
8 years ago
Aaron Jacobs
7aa89d4d1f
Added a missing full stop.
8 years ago
Aaron Jacobs
962e8e26d5
Enabled writeback caching by default.
...
This may bring significant performance improvements, but also comes with
some caveats. See the notes on MountConfig.DisableWritebackCaching for
details.
8 years ago
Aaron Jacobs
4f74c87df8
Updated a redundant code walk.
8 years ago
Aaron Jacobs
308cf97f7e
Described what happens on OS X.
8 years ago
Aaron Jacobs
182c96da07
Fixed cachingfs.
8 years ago
Aaron Jacobs
2e6836708e
Increased the slop in memfs_test.
8 years ago
Aaron Jacobs
89495b2e04
Allow opting out of writeback caching.
...
See the documentation on MountConfig.DisableWritebackCaching for
discussion.
8 years ago
Aaron Jacobs
f40a24c8d5
Pay attention to DisableWritebackCaching.
8 years ago
Aaron Jacobs
842af25013
Added and documented MountConfig.DisableWritebackCaching.
8 years ago
Aaron Jacobs
ed6f72d078
Updated a TODO.
8 years ago
Aaron Jacobs
b0a4566c53
Fixed flushfs for writback caching.
8 years ago
Aaron Jacobs
373004db87
Stop using a clock for memfs mtimes.
...
We can't do this now that the kernel chooses mtimes and sends setattr
requests due to our use of writeback caching.
8 years ago
Aaron Jacobs
e69b8a8c37
Implement setattr; otherwise closing after writing fails.
8 years ago
Aaron Jacobs
fee78b6548
Added comments for timeSlop.
8 years ago
Aaron Jacobs
eaa0177b80
Clean up mappings even on assertion failure.
8 years ago
Aaron Jacobs
0bc289ec1b
Fixed some more mtime assertions.
8 years ago
Aaron Jacobs
d6e247cc46
Fixed several mtime assertions.
8 years ago
Aaron Jacobs
a6dd3d2147
Fixed memfs_test.go.
8 years ago
Aaron Jacobs
eecd0fb964
Fixed inode.go.
8 years ago
Aaron Jacobs
9c33490a6c
Removed clocks from memfs.go.
8 years ago
Aaron Jacobs
de030d4a35
Improved setattr debug logging.
8 years ago
Aaron Jacobs
df888905ab
Set InitWritebackCache.
8 years ago
Aaron Jacobs
c7ea480a5c
Improved lookup logging.
8 years ago
Aaron Jacobs
355975cfca
Ignore vim swap files.
8 years ago
Aaron Jacobs
5348027205
Make sure the mount point exists before trying to mount.
...
Otherwise we get confusing EOF errors when we later call out to osxfuse.
8 years ago
Aaron Jacobs
3574e9aa49
Make sure the mount point exists up front.
8 years ago
Aaron Jacobs
21ac1b6da5
Moved Mount into its own file.
8 years ago
Aaron Jacobs
81de9fb6cc
Made the message shrinking API less confusing.
8 years ago
Aaron Jacobs
9a7512aac0
Improved debug logging for unknownOp.
8 years ago
Aaron Jacobs
5711e18bd0
Improved the readability of debug logging.
8 years ago
Aaron Jacobs
6450a1cbbf
Added special cases for ReadFile and WriteFile.
8 years ago
Aaron Jacobs
5c05a7c040
Refactored describeRequest.
8 years ago
Aaron Jacobs
41ea2b7530
Don't repeat the op when logging the response.
...
Doing so adds lots of visual clutter.
8 years ago
Aaron Jacobs
348ed9e731
Disabled async reads.
...
Allowing the kernel to send multiple reads for the same file handle
concurrently interferes with sequential read detection like that in
GoogleCloudPlatform/gcsfuse#103 .
8 years ago
Aaron Jacobs
b5c1fd6ddc
Fixed two issues with error responses to the kernel.
...
One of them caused the writeMessage error observed on OS X in
GoogleCloudPlatform/gcsfuse#101 .
8 years ago
Aaron Jacobs
1e2d4abaf9
Don't send error responses to the kernel for forget and interrupt.
...
It's not expecting them.
8 years ago
Aaron Jacobs
d205df3144
Don't return long error responses to ReadDir and ReadFile.
8 years ago
Aaron Jacobs
00b92df61c
Don't forget to close the opened files.
8 years ago
Aaron Jacobs
589f6c3c98
Added a test for various file system error conditions.
...
This reproduces the writeMessage errors from
GoogleCloudPlatform/gcsfuse#101 .
8 years ago
Aaron Jacobs
ad3a463488
Implemented dir methods.
8 years ago
Aaron Jacobs
7943ab5bf4
ErrorFSTest.ReadDir
8 years ago
Aaron Jacobs
e22f698dd3
ErrorFSTest.OpenDir
8 years ago
Aaron Jacobs
e6a4db9920
errorFS.ReadFile
8 years ago