Aaron Jacobs
91a3b44294
Improve error log output for unknown operations.
...
Previously:
(unknown(inode=1)) error: function not implemented
Now:
(*bazilfuse.GetxattrRequest(inode=1)) error: function not implemented
For GoogleCloudPlatform/gcsfuse#76 .
2015-06-22 12:40:40 +10:00
Aaron Jacobs
23590532ff
Killed off InitOp.
...
This wasn't useful to users to begin with, and an API change in bazil.org/fuse
made it non-functional.
Fixes #10 .
2015-06-22 12:31:47 +10:00
Aaron Jacobs
3103bb22a1
Updated samples.
2015-06-22 12:31:25 +10:00
Aaron Jacobs
e59720bfb0
Updated a comment.
2015-06-22 12:31:06 +10:00
Aaron Jacobs
e4cd605c76
Updated package fuseutil.
2015-06-22 12:30:17 +10:00
Aaron Jacobs
11eadaed84
Removed InitOp.
2015-06-22 12:29:52 +10:00
Aaron Jacobs
ef728f8af2
Set max readahead to a large value when mounting.
...
For #10 .
2015-06-22 12:26:03 +10:00
Aaron Jacobs
1939992b46
Reference package syncutil in its new location.
2015-06-15 08:27:39 +10:00
Aaron Jacobs
6d19754c38
Reference package timeutil in its new location.
2015-06-15 08:11:28 +10:00
Aaron Jacobs
6292872c4e
Added a FileSystem.Destroy method, called after unmount.
...
Fixes #9 .
2015-06-09 13:29:00 +10:00
Aaron Jacobs
3cb67f5833
Tightened forgetfs's post-destruction check, now that we can.
2015-06-09 13:27:02 +10:00
Aaron Jacobs
43c8f9d8c2
Fixed a bug in forgetfs.
...
This manifested as ForgetFSTest.MkDir pacicking now and then in a manner
like this:
28e0a01a92/gistfile1.txt
2015-06-09 13:25:28 +10:00
Aaron Jacobs
0f62458e21
Destroy when done.
2015-06-09 11:11:52 +10:00
Aaron Jacobs
9cc2a6f450
Implemented Destroy for forgetfs.
2015-06-09 11:10:39 +10:00
Aaron Jacobs
630f40de94
NotImplementedFileSystem.Destroy
2015-06-09 11:05:02 +10:00
Aaron Jacobs
6fff9f3f20
Added FileSystem.Destroy.
2015-06-09 11:05:02 +10:00
Aaron Jacobs
c9c4a456b1
Removed the Linux destroy workaround.
2015-06-09 11:04:26 +10:00
Aaron Jacobs
119f9a18ce
Changed the guidance for dealing with lookup counts at unmount time.
2015-06-09 11:04:26 +10:00
Aaron Jacobs
c1d30a3823
Moved in-flight waiting from Connection into Server.
...
For #9 .
2015-06-09 11:03:33 +10:00
Aaron Jacobs
6c85a93914
Removed synchronization from Connection.Close.
2015-06-09 11:02:08 +10:00
Aaron Jacobs
5ae9856c29
Define that Server.ServeOps must wait for in-flights.
2015-06-09 11:01:11 +10:00
Aaron Jacobs
100c7af28a
Put a wait group in fileSystemServer.
2015-06-09 10:47:35 +10:00
Aaron Jacobs
683decb008
Work around a bug in systemd by always setting fsname.
...
See bazil/fuse#89 for more details.
2015-06-09 00:41:01 +00:00
Aaron Jacobs
32fbc7f9e7
Fixed build errors.
...
Caused by jacobsa/bazilfuse@47700022b9 .
2015-06-05 15:24:22 +10:00
Aaron Jacobs
8a8429af13
Changed the FileSystem interface to return error values.
...
For #9 .
2015-06-05 14:27:13 +10:00
Aaron Jacobs
5e2cea4b7a
Fixed interruptfs.
2015-06-05 14:24:14 +10:00
Aaron Jacobs
4cba8c73d1
Fixed flushfs.
2015-06-05 14:23:26 +10:00
Aaron Jacobs
ba71991231
Fixed hellofs.
2015-06-05 14:23:05 +10:00
Aaron Jacobs
ea1d0606dc
Fixed cachingfs.
2015-06-05 14:22:29 +10:00
Aaron Jacobs
afd13efb65
Fixed memfs.
2015-06-05 14:22:02 +10:00
Aaron Jacobs
b791d33db0
Fixed fileSystemServer.handleOp.
2015-06-05 14:20:39 +10:00
Aaron Jacobs
78b00c64d9
Removed RespondToOp.
2015-06-05 14:19:30 +10:00
Aaron Jacobs
f7952dbc64
Fixed forgetfs.
2015-06-05 14:18:39 +10:00
Aaron Jacobs
1573b41ff3
Fixed NotImplementedFileSystem.
2015-06-05 14:14:49 +10:00
Aaron Jacobs
48571ab6cb
Updated the FileSystem interface.
2015-06-05 14:13:59 +10:00
Aaron Jacobs
3d04b93c8e
Made more firm some wording about interrupt semantics.
...
Now that I have some references to cite.
2015-06-03 08:51:28 +10:00
Aaron Jacobs
d800860713
Added ENOTDIR.
2015-05-26 10:47:21 +10:00
Aaron Jacobs
c1f7e56cab
Support setting a logger for fuse errors (but not other debug info).
...
For GoogleCloudPlatform/gcsfuse#60 .
2015-05-25 14:23:25 +10:00
Aaron Jacobs
b4469b5cff
Renamed getLogger.
2015-05-25 14:19:28 +10:00
Aaron Jacobs
430fbb3099
Updated mounted_file_system.go.
2015-05-25 14:18:50 +10:00
Aaron Jacobs
438929753f
Updated newConnection.
2015-05-25 14:17:16 +10:00
Aaron Jacobs
f650aab183
Updated fuseops.Convert.
2015-05-25 14:16:19 +10:00
Aaron Jacobs
41f376af5f
Added commonOp.errorLogger.
2015-05-25 14:15:49 +10:00
Aaron Jacobs
e0db5cf622
Renamed existing debug logging functions.
2015-05-25 14:13:24 +10:00
Aaron Jacobs
df7aea90d2
Added MountConfig.ErrorLogger.
2015-05-25 14:09:23 +10:00
Aaron Jacobs
1731a357d7
Added a missing file.
2015-05-21 16:52:27 +10:00
Aaron Jacobs
aa62bac439
Made "create in parallel" tests reusable.
2015-05-21 15:43:41 +10:00
Aaron Jacobs
1e7620a379
Fixed up advice for handling already-exists cases when creating names.
...
Added tests that confirm behavior of "real" file systems, then made memfs make
those tests pass, too. Doing this by returning EEXIST appears to work on both
OS X and Linux, but I can't find documentation anywhere that says this is what
is expected.
More:
https://github.com/osxfuse/osxfuse/issues/209
http://stackoverflow.com/q/30364838/1505451
http://sourceforge.net/p/fuse/mailman/message/34130996/
2015-05-21 15:30:37 +10:00
Aaron Jacobs
bd4af3f5a5
Updated advice on create, symlink, and mkdir.
2015-05-21 15:30:08 +10:00
Aaron Jacobs
6777b1d99f
Gave mkdir and symlink the same concurrency issues treatment.
2015-05-21 15:22:30 +10:00