Updated NewFileSystemServer docs.

geesefs-0-30-9
Aaron Jacobs 2015-04-02 10:50:44 +11:00
parent 7ed1d0689d
commit 4d06d8aef8
1 changed files with 6 additions and 6 deletions

View File

@ -55,12 +55,12 @@ type FileSystem interface {
// method.Respond with the resulting error. Unsupported ops are responded to // method.Respond with the resulting error. Unsupported ops are responded to
// directly with ENOSYS. // directly with ENOSYS.
// //
// FileSystem methods are called ine exactly the order of supported ops // Each call to a FileSystem method is made on its own goroutine, and is free
// received by the connection, on a single goroutine. The methods should // to block.
// probably not block, instead continuing long-running operations in the //
// background. It is safe to naively do so, because the kernel guarantees to // (It is safe to naively process ops concurrently because the kernel
// serialize operations that the user expects to happen in order (cf. // guarantees to serialize operations that the user expects to happen in order,
// http://goo.gl/jnkHPO, fuse-devel thread "Fuse guarantees on concurrent // cf. http://goo.gl/jnkHPO, fuse-devel thread "Fuse guarantees on concurrent
// requests"). // requests").
func NewFileSystemServer(fs FileSystem) fuse.Server { func NewFileSystemServer(fs FileSystem) fuse.Server {
return fileSystemServer{fs} return fileSystemServer{fs}