mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
remove defaults, hard code atomic_o_trunc, big_writes, and default_permissions
`defaults` is a value used by all filesystems and isn't passed through to mergerfs when mounting via the fstab or the mount command. This led to inconsistent application of options. atomic_o_trunc, big_writes, and default_permissions should be enabled all the time anyway and splice_* can lead to issues so they are not always enabled.
This commit is contained in:
parent
21d690a210
commit
c5b2415daf
5 changed files with 35 additions and 58 deletions
|
|
@ -28,10 +28,11 @@ namespace mergerfs
|
|||
{
|
||||
ugid::init();
|
||||
|
||||
conn->want |= FUSE_CAP_ASYNC_READ;
|
||||
conn->want |= FUSE_CAP_ATOMIC_O_TRUNC;
|
||||
conn->want |= FUSE_CAP_BIG_WRITES;
|
||||
conn->want |= FUSE_CAP_DONT_MASK;
|
||||
#ifdef FUSE_CAP_IOCTL_DIR
|
||||
conn->want |= FUSE_CAP_IOCTL_DIR;
|
||||
#endif
|
||||
|
||||
return &Config::get_writable();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue