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:
Antonio SJ Musumeci 2025-03-30 16:30:36 -05:00
parent 7f410073d4
commit b7f7f7fa97
7 changed files with 27 additions and 19 deletions

View file

@ -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)