NFSv4.1: mark deviceid invalid on filelayout DS connection errors
authorAndy Adamson <andros@netapp.com>
Fri, 27 Apr 2012 21:53:46 +0000 (17:53 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 19 May 2012 21:54:20 +0000 (17:54 -0400)
commite7dd79af01e7ca932c5168a708e77750659f7a9e
treedfacd16bce6df877ecae697cd7dbf5f8e0561872
parent98fc685ae2aa24eae98526e9196b3229d519083a
NFSv4.1: mark deviceid invalid on filelayout DS connection errors

This prevents the use of any layout for i/o that references the deviceid.
I/O is redirected through the MDS.

Redirect the unhandled failed I/O to the MDS without marking either the
layout or the deviceid invalid.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4filelayout.c
fs/nfs/nfs4filelayout.h
fs/nfs/pnfs.c
fs/nfs/pnfs.h