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>
Showing
- fs/nfs/internal.h 1 addition, 0 deletionsfs/nfs/internal.h
- fs/nfs/nfs4filelayout.c 81 additions, 0 deletionsfs/nfs/nfs4filelayout.c
- fs/nfs/nfs4proc.c 29 additions, 6 deletionsfs/nfs/nfs4proc.c
- fs/nfs/nfs4state.c 1 addition, 0 deletionsfs/nfs/nfs4state.c
- fs/nfs/read.c 1 addition, 0 deletionsfs/nfs/read.c
- include/linux/nfs_xdr.h 1 addition, 0 deletionsinclude/linux/nfs_xdr.h
- include/linux/sunrpc/clnt.h 1 addition, 0 deletionsinclude/linux/sunrpc/clnt.h
- net/sunrpc/clnt.c 8 additions, 0 deletionsnet/sunrpc/clnt.c
Loading
Please register or sign in to comment