Skip to content

Commit

Permalink
Merge pull request #639 from trapexit/args
Browse files Browse the repository at this point in the history
accept old arguments for backwards compatibility
  • Loading branch information
trapexit authored Jun 11, 2019
2 parents 5d013f4 + 5ca928e commit 72ac1fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/option_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,10 @@ parse_and_process_arg(Config &config,
return (config.async_read=true,0);
else if(arg == "sync_read")
return (config.async_read=false,0);
else if(arg == "atomic_o_trunc")
return 0;
else if(arg == "big_writes")
return 0;

return 1;
}
Expand Down Expand Up @@ -367,6 +371,8 @@ parse_and_process_kv_arg(Config &config,
rv = parse_and_process(value,config.auto_cache);
else if(key == "async_read")
rv = parse_and_process(value,config.async_read);
else if(key == "max_write")
rv = 0;
else if(key == "fuse_msg_size")
rv = parse_and_process(value,config.fuse_msg_size,
1,
Expand Down

0 comments on commit 72ac1fc

Please sign in to comment.