HomeFreeBSD

nfscl: Fix GetACL so that it does not want a reply cached

Description

nfscl: Fix GetACL so that it does not want a reply cached

Without this patch, an NFSv4.1/4.2 GetACL RPC requests that
the session cache the reply. In some cases, the reply may
be too large to cache, resulting in a NFS4ERR_X
error from the server.

Since a GetACL is idempotent, disable reply caching for it,
by setting that it can generate a large reply.
Tested against a Linux server with a large ACL on a file.

MFC after: 2 weeks

Details

Provenance
rmacklemAuthored on Aug 4 2025, 11:36 PM
Parents
rG90b315233a33: id: revert to historical and documented behavior for `id`
Branches
Unknown
Tags
Unknown