HomeFreeBSD

nfscl: Add a LayoutError RPC for NFSv4.2 pNFS mounts

Description

nfscl: Add a LayoutError RPC for NFSv4.2 pNFS mounts

If a pNFS server's DS runs out of disk space, it replies
NFSERR_NOSPC to the client doing writing. For the Linux
client, it then sends a LayoutError RPC to the MDS server to
tell it about the error. This patch adds the same to the
FreeBSD NFSv4.2 pNFS client, to maintain Linux compatible
behaviour, particlularily for non-FreeBSD pNFS servers.

(cherry picked from commit 44744f75386e2102584acbca24fbe67de16051ca)

Details

Provenance
rmacklemAuthored on Nov 11 2021, 11:43 PM
Parents
rG354988ca3f9d: nfsd: Fix the NFSv4.2 pNFS MDS server for NFSERR_NOSPC via LayoutError
Branches
Unknown
Tags
Unknown