NFSv4.1: filelayout async error handler
authorAndy Adamson <andros@netapp.com>
Tue, 1 Mar 2011 01:34:20 +0000 (01:34 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 11 Mar 2011 20:38:43 +0000 (15:38 -0500)
commitcbdabc7f8bf14ca1d40ab1cb86f64b3bc09716e8
tree16939b96996e8380d91d7e2743e811cf5c49f629
parentdc70d7b3189597f313df7bd2da849cfc39063b15
NFSv4.1: filelayout async error handler

Use our own async error handler.
Mark the layout as failed and retry i/o through the MDS on specified errors.

Update the mds_offset in nfs_readpage_retry so that a failed short-read retry
to a DS gets correctly resent through the MDS.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/internal.h
fs/nfs/nfs4filelayout.c
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c
fs/nfs/read.c
include/linux/nfs_xdr.h
include/linux/sunrpc/clnt.h
net/sunrpc/clnt.c