diff options
author | Andy Adamson <andros@netapp.com> | 2011-02-28 20:34:20 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-03-11 15:38:43 -0500 |
commit | cbdabc7f8bf14ca1d40ab1cb86f64b3bc09716e8 (patch) | |
tree | 16939b96996e8380d91d7e2743e811cf5c49f629 /fs/nfs/internal.h | |
parent | dc70d7b3189597f313df7bd2da849cfc39063b15 (diff) |
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>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 5e9df992cd73..1a3228e9ea22 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h | |||
@@ -285,6 +285,7 @@ extern int nfs_migrate_page(struct address_space *, | |||
285 | #endif | 285 | #endif |
286 | 286 | ||
287 | /* nfs4proc.c */ | 287 | /* nfs4proc.c */ |
288 | extern void nfs4_reset_read(struct rpc_task *task, struct nfs_read_data *data); | ||
288 | extern int nfs4_init_client(struct nfs_client *clp, | 289 | extern int nfs4_init_client(struct nfs_client *clp, |
289 | const struct rpc_timeout *timeparms, | 290 | const struct rpc_timeout *timeparms, |
290 | const char *ip_addr, | 291 | const char *ip_addr, |