fuse_darwin.go 338 B

12345678910
  1. package fuse
  2. // Maximum file write size we are prepared to receive from the kernel.
  3. //
  4. // This value has to be >=16MB or OSXFUSE (3.4.0 observed) will
  5. // forcibly close the /dev/fuse file descriptor on a Setxattr with a
  6. // 16MB value. See TestSetxattr16MB and
  7. // https://github.com/bazil/fuse/issues/42
  8. const maxWrite = 16 * 1024 * 1024