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
Parents
rS349395: Disconnect EFI HTTP support
Branches
Unknown
Tags
Unknown