mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-22 07:56:32 -05:00
Change misc defaults
* category.create=pfrd * moveonenospc=pfrd * cache.files=off * parallel-direct-writes=true These changes were made to match the recommended settings for most users to reduce confusion.
This commit is contained in:
parent
7f410073d4
commit
b7f7f7fa97
7 changed files with 27 additions and 19 deletions
|
|
@ -31,11 +31,13 @@ MoveOnENOSPC::from_string(const std::string &s_)
|
|||
|
||||
rv = str::from(s_,&enabled);
|
||||
if((rv == 0) && (enabled == true))
|
||||
s = "mfs";
|
||||
s = "pfrd";
|
||||
ef((rv == 0) && (enabled == false))
|
||||
return (enabled = false,0);
|
||||
ef(rv != 0)
|
||||
s = s_;
|
||||
else
|
||||
return 0;
|
||||
return -EINVAL;
|
||||
|
||||
tmp = Policies::Create::find(s);
|
||||
if(tmp == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue