]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make the pNFS NFSv4.1 client return a Flexible File layout upon error.
authorRick Macklem <rmacklem@FreeBSD.org>
Sun, 17 Jun 2018 16:30:06 +0000 (16:30 +0000)
committerRick Macklem <rmacklem@FreeBSD.org>
Sun, 17 Jun 2018 16:30:06 +0000 (16:30 +0000)
commit2bad64241cdd06131955e25542a878deaa4ac2dd
tree4b199b23fbbcd99f56f208e5283a315f61db7723
parent49f526501dc7eb2caa8251c803902cbb95a9cb57
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
sys/fs/nfs/nfs_var.h
sys/fs/nfs/nfsclstate.h
sys/fs/nfsclient/nfs_clrpcops.c
sys/fs/nfsclient/nfs_clstate.c