HomeFreeBSD

nfsd: Make the pNFS server update Change for Setxattr/Rmxattr

Description

nfsd: Make the pNFS server update Change for Setxattr/Rmxattr

When the NFS server does the Setxattr or Rmxattr operation,
the Change attribute (va_filerev) needs to be updated.

Without this patch, that was not happening for the
pNFS server configuration. This patch does a Setattr
against the DS file to make the Change attribute
change.

This bug was discovered during a recent IETF NFSv4 testing
event, where the Change attribute wasn't changed in the
operation reply.

(cherry picked from commit ae7816576e44412a8ae9daa92c210a6ba4f269dc)

Details

Provenance
rmacklemAuthored on Oct 18 2022, 10:47 PM
Parents
rGa265108447f9: nfsd: Make Setxattr/Removexattr NFSv4.2 ops IO_SYNC
Branches
Unknown
Tags
Unknown