Changes for src/client/fuse/fuse_client.cpp: 27 added lines, 12 removed lines.
Original line number
Diff line number
Diff line
@@ -90,6 +90,7 @@ get_inode(fuse_ino_t ino) {
staticvoid
remove_inode_by_path(conststd::stringpath){
std::lock_guard<std::mutex>lk(ino_mutex);
autoit_src=path_map.find(path);
if(it_src!=path_map.end()){
path_map.erase(it_src);
@@ -143,16 +144,21 @@ static void
passthrough_ll_help(void){
printf(" -o writeback Enable writeback\n"
" -o no_writeback Disable write back\n"
" -o direct_io Enables direct io\n"
" -o direct_io Enables direct io and bypasses page cache (can boost performance a lot)\n"
" -o no_direct_io Disable direct io\n"
" -o max_readahead=0 Amount of allowed readaheads in bytes\n"
" -o max_read=0 Preferred read buffer size, depends on kernel, default: 0 for unlimited. You have to set -o max_read2 to the same value. This is due to fuse internal logic\n"
" -o max_read2=0 Preferred read buffer size, depends on kernel, default: 0 for unlimited. You have to set -o max_read to the same value. This is due to fuse internal logic\n"
" -o max_write=0 Preferred write buffer size, depends on kernel, default: 0 for unlimited.\n"
" -o big_writes Enables to write >= 128KiB in one request. Default for FUSE >= 3\n"