HomeFreeBSD

Make the pNFS NFSv4.1 client return a Flexible File layout upon error.

Description

Make the pNFS NFSv4.1 client return a Flexible File layout upon error.

The Flexible File layout LayoutReturn operation has argument fields where
an I/O error encountered when attempting I/O on a DS can be reported back
to the MDS.
This patch adds code to the client to do this for the Flexible File layout
mirrored case.
This patch should only affect mounts using the "pnfs" option against servers
that support the Flexible File layout.

MFC after: 2 weeks

Details

Provenance
rmacklemAuthored on
Parents
rS335285: audit(4): Add tests for a few syscalls in the ad class
Branches
Unknown
Tags
Unknown