]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make the pNFS NFSv4.1 client return a Flexible File layout upon error.
authorrmacklem <rmacklem@FreeBSD.org>
Sun, 17 Jun 2018 16:30:06 +0000 (16:30 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Sun, 17 Jun 2018 16:30:06 +0000 (16:30 +0000)
commit68d85e7cefdae3e41a819583ce95cabb835de316
tree4b199b23fbbcd99f56f208e5283a315f61db7723
parentfceb879fc925f4b8ed15128c1cf97a7d1c8f2b16
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