freebsd-nq/sys/fs
Alan Somers 91972cfcdd fusefs: update atime on reads when using cached attributes
When using cached attributes, whether or not the data cache is enabled,
fusefs must update a file's atime whenever it reads from it, so long as
it wasn't mounted with -o noatime.  Update it in-kernel, and flush it to
the server on close or during the next setattr operation.

The downside is that close() will now frequently trigger a FUSE_SETATTR
upcall.  But if you care about performance, you should be using
-o noatime anyway.

MFC after:	2 weeks
Reviewed by:	pfg
Differential Revision: https://reviews.freebsd.org/D33145
2021-11-28 18:53:31 -07:00
..
autofs vfs: remove cn_thread 2021-10-11 13:21:47 +00:00
cd9660 vfs: remove the unused thread argument from NDINIT* 2021-11-25 22:50:42 +00:00
cuse Fix for loading cuse.ko via rc.d . Make sure we declare the cuse(3) 2020-10-23 08:44:53 +00:00
deadfs vn_open(): If the vnode is reclaimed during open(2), do not return error. 2021-02-12 03:02:20 +02:00
devfs vfs: add vop_stdadd_writecount_nomsync 2021-11-26 12:06:08 +00:00
ext2fs vfs: remove the unused thread argument from NDINIT* 2021-11-25 22:50:42 +00:00
fdescfs fdescfs: plug a set-but-not-unused var 2021-11-24 21:25:24 +00:00
fifofs fifos: delegate unhandled kqueue filters to underlying filesystem 2021-10-12 02:43:07 -05:00
fuse fusefs: update atime on reads when using cached attributes 2021-11-28 18:53:31 -07:00
mntfs mntfs: lock mntfs pseudo devfs vnode properly 2021-11-13 01:00:41 +02:00
msdosfs vfs: remove the unused thread argument from NDINIT* 2021-11-25 22:50:42 +00:00
nfs nfs: Quiet a few "unused" warnings 2021-11-28 15:48:51 -08:00
nfsclient nfscl: Disable use of the LookupOpen RPC 2021-11-27 15:34:45 -08:00
nfsserver nfs: Quiet a few "unused" warnings 2021-11-28 15:48:51 -08:00
nullfs vfs: remove the unused thread argument from NDINIT* 2021-11-25 22:50:42 +00:00
procfs procfs_doprocfile(): simplify 2021-11-04 06:13:47 +02:00
pseudofs vfs: add vop_stdadd_writecount_nomsync 2021-11-26 12:06:08 +00:00
smbfs vfs: remove cn_thread 2021-10-11 13:21:47 +00:00
tmpfs vfs: replace the MNTK_TEXT_REFS flag with VIRF_TEXT_REF 2021-11-27 23:07:25 +00:00
udf vfs: remove the unused thread argument from NDINIT* 2021-11-25 22:50:42 +00:00
unionfs vfs: remove the unused thread argument from NDINIT* 2021-11-25 22:50:42 +00:00