update man page and fix code style issue
(cherry picked from commit 89a4a1b8f7
)
This commit is contained in:
parent
e8e5673d22
commit
7bc1383ac6
@ -353,6 +353,12 @@ the user).
|
|||||||
drive. To fix this, consult the docs for your chosen desktop.
|
drive. To fix this, consult the docs for your chosen desktop.
|
||||||
.RE
|
.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
|
.TP
|
||||||
\fBFileUmask\fR=\fImode\fR
|
\fBFileUmask\fR=\fImode\fR
|
||||||
Additional umask to apply to files in the \fBFuseMountName\fR directory.
|
Additional umask to apply to files in the \fBFuseMountName\fR directory.
|
||||||
|
@ -2200,7 +2200,8 @@ static void xfuse_cb_open(fuse_req_t req, fuse_ino_t ino,
|
|||||||
fip->fi = *fi;
|
fip->fi = *fi;
|
||||||
fip->inum = ino;
|
fip->inum = ino;
|
||||||
|
|
||||||
if (g_cfg->fuse_direct_io) {
|
if (g_cfg->fuse_direct_io)
|
||||||
|
{
|
||||||
fip->fi.direct_io = 1;
|
fip->fi.direct_io = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user