HomeFreeBSD

nfscl: Only update atime for Copy when noatime is not specified

Description

nfscl: Only update atime for Copy when noatime is not specified

Commit 57ce37f9dcd0 modified the NFSv4.2 Copy operation so that
it will update atime on the infd file whenever possible.
This is done by adding a Setattr of TimeAccess for the
input file.

This patch disables this change for the case of an NFSv4.2
mount with the "noatime" mount option, which avoids the
additional Setattr of TimeAccess operation.

MFC after: 1 week

Details

Provenance
rmacklemAuthored on Jan 12 2024, 12:38 AM
Parents
rGd06a00963b7f: find: add SIGINFO handler
Branches
Unknown
Tags
Unknown