Skip to content

Commit

Permalink
update man page and fix code style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bobcarroll committed Sep 25, 2024
1 parent 66e5eeb commit 89a4a1b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/man/sesman.ini.5.in
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,12 @@ the user).
drive. To fix this, consult the docs for your chosen desktop.
.RE

.TP
\fBFuseDirectIO\fR=\fI[false|true]\fR
Defaults to \fIfalse\fR. Set to \fItrue\fR to disable page caching in
FUSE when opening files on a redirected drive. Direct I/O can impact
the performance of file operations.

.TP
\fBFileUmask\fR=\fImode\fR
Additional umask to apply to files in the \fBFuseMountName\fR directory.
Expand Down
3 changes: 2 additions & 1 deletion sesman/chansrv/chansrv_fuse.c
Original file line number Diff line number Diff line change
Expand Up @@ -2200,7 +2200,8 @@ static void xfuse_cb_open(fuse_req_t req, fuse_ino_t ino,
fip->fi = *fi;
fip->inum = ino;

if (g_cfg->fuse_direct_io) {
if (g_cfg->fuse_direct_io)
{
fip->fi.direct_io = 1;
}

Expand Down

0 comments on commit 89a4a1b

Please sign in to comment.