HomeFreeBSD

fusefs: automatically update mtime and ctime on write

Description

fusefs: automatically update mtime and ctime on write

Writing should implicitly update a file's mtime and ctime. For fuse, the
server is supposed to do that. But the client needs to do it too, because
the FUSE_WRITE response does not include time attributes, and it's not
desirable to issue a GETATTR after every WRITE. When using the writeback
cache, there's another hitch: the kernel should ignore the mtime and ctime
fields in any GETATTR response for files with a dirty write cache.

Sponsored by: The FreeBSD Foundation

Details

Provenance
asomersAuthored on Jun 25 2019, 11:40 PM
Parents
rGf2704f05cbe8: fusefs: fix the tests for non-default values of MAXPHYS
Branches
Unknown
Tags
Unknown

Event Timeline