diff options
author | Zahoor Mohamed <zahoor@zahoor.in> | 2017-03-23 21:56:06 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-03-23 21:56:06 +0800 |
commit | 11e7a712f469fb24ddb88ecebcefab6ed8880eb8 (patch) | |
tree | c052776c80475767eb7a038bef99ff784b071ef7 /vendor/bazil.org/fuse/fuse_darwin.go | |
parent | 61d2150a0750a554250c3bf090ef994be6c060f0 (diff) | |
download | go-tangerine-11e7a712f469fb24ddb88ecebcefab6ed8880eb8.tar go-tangerine-11e7a712f469fb24ddb88ecebcefab6ed8880eb8.tar.gz go-tangerine-11e7a712f469fb24ddb88ecebcefab6ed8880eb8.tar.bz2 go-tangerine-11e7a712f469fb24ddb88ecebcefab6ed8880eb8.tar.lz go-tangerine-11e7a712f469fb24ddb88ecebcefab6ed8880eb8.tar.xz go-tangerine-11e7a712f469fb24ddb88ecebcefab6ed8880eb8.tar.zst go-tangerine-11e7a712f469fb24ddb88ecebcefab6ed8880eb8.zip |
swarm/api: support mounting manifests via FUSE (#3690)
Diffstat (limited to 'vendor/bazil.org/fuse/fuse_darwin.go')
-rw-r--r-- | vendor/bazil.org/fuse/fuse_darwin.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/bazil.org/fuse/fuse_darwin.go b/vendor/bazil.org/fuse/fuse_darwin.go new file mode 100644 index 000000000..b58dca97d --- /dev/null +++ b/vendor/bazil.org/fuse/fuse_darwin.go @@ -0,0 +1,9 @@ +package fuse + +// Maximum file write size we are prepared to receive from the kernel. +// +// This value has to be >=16MB or OSXFUSE (3.4.0 observed) will +// forcibly close the /dev/fuse file descriptor on a Setxattr with a +// 16MB value. See TestSetxattr16MB and +// https://github.com/bazil/fuse/issues/42 +const maxWrite = 16 * 1024 * 1024 |