Add flushonclose feature

This commit is contained in:
Antonio SJ Musumeci 2023-10-23 22:32:42 -05:00
parent 7d6c8e9333
commit 6aa6452d3e
11 changed files with 196 additions and 3 deletions

View file

@ -275,6 +275,8 @@ fill_open(struct fuse_open_out *arg_,
arg_->open_flags |= FOPEN_CACHE_DIR;
if(ffi_->parallel_direct_writes)
arg_->open_flags |= FOPEN_PARALLEL_DIRECT_WRITES;
if(ffi_->noflush)
arg_->open_flags |= FOPEN_NOFLUSH;
}
int