git: sys/vfs/fuse: Some mmap related fixes, issues with sshfs and FUSE_FORGET
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Mar 16 16:56:22 PDT 2024
commit 887de9e3548f7044c6016d8242b2070af67021b2
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sat Mar 16 16:53:22 2024 -0700
sys/vfs/fuse: Some mmap related fixes, issues with sshfs and FUSE_FORGET
* Only issue FUSE_FSYNC when there is a file-handle associated with
the fuse_node.
* Be sure to flush the VM object on inactive before releasing the
file handle (fixes issues with mmap()).
* Don't issue FUSE_FORGET for now, it seems to confuse sshfs so either
I'm doing something wrong or ... don't know.
Summary of changes:
sys/vfs/fuse/fuse_vnops.c | 53 ++++++++++++++++++++++++++++++++++-------------
1 file changed, 39 insertions(+), 14 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/887de9e3548f7044c6016d8242b2070af67021b2
--
DragonFly BSD source repository
More information about the Commits
mailing list