Updated NewFileSystemServer docs.
parent
7ed1d0689d
commit
4d06d8aef8
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue