mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 02:02:18 +00:00
a41e372b39
Former-commit-id: fa0dc873367b92a06b10fd989e3fec960c03065a [formerly e98efffa565ea6aa3eadeb19c2f9a66a56eb5ddd] Former-commit-id: ce6e4f01d12015e67a51aa7d928a6ab8e8eedeee
10 lines
338 B
Go
10 lines
338 B
Go
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
|