Disable large_read fuse option, since it's not used in new fuse versions anyhow and makes problems when fuse is run in user mode linux.
This commit is contained in:
parent
f4b1a7eced
commit
d2cecb4ecc
@ -250,8 +250,9 @@ vector<char *> Fuse::_build_argv(const bf::path &mountdir, const vector<string>
|
||||
_add_fuse_option_if_not_exists(&argv, "subtype", _fstype);
|
||||
_add_fuse_option_if_not_exists(&argv, "fsname", _fsname.get_value_or(_fstype));
|
||||
// TODO Also set read/write size for osxfuse. The options there are called differently.
|
||||
argv.push_back(_create_c_string("-o"));
|
||||
argv.push_back(_create_c_string("large_read")); // large_read possibly not necessary because reads are large anyhow, but it doesn't hurt.
|
||||
// large_read not necessary because reads are large anyhow. This option is only important for 2.4.
|
||||
//argv.push_back(_create_c_string("-o"));
|
||||
//argv.push_back(_create_c_string("large_read"));
|
||||
argv.push_back(_create_c_string("-o"));
|
||||
argv.push_back(_create_c_string("big_writes"));
|
||||
return argv;
|
||||
|
Loading…
x
Reference in New Issue
Block a user