Date: Fri, 15 Mar 2019 22:42:00 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 236560] [FUSE] fuse(4) ignores FOPEN_KEEP_CACHE Message-ID: <bug-236560-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236560 Bug ID: 236560 Summary: [FUSE] fuse(4) ignores FOPEN_KEEP_CACHE Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: asomers@FreeBSD.org If a fuse filesystem sets FOPEN_KEEP_CACHE in the response to FUSE_OPEN, th= en the kernel should not flush its read caches on subsequent open(2)s of the s= ame file. Our fuse(4) driver does indeed check for that flag in fuse_vnode_ope= n.=20 However, the check doesn't work, because the flag isn't saved from the prev= ious FUSE_OPEN. The flag is guaranteed to be unset in that code path. The solu= tion would be to save the open_flags in the vnode. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236560-227>