All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] SQUASHME pnfs: restore state recovery in async handler
@ 2010-05-04 21:54 andros
  2010-05-06 19:44 ` Benny Halevy
  0 siblings, 1 reply; 2+ messages in thread
From: andros @ 2010-05-04 21:54 UTC (permalink / raw)
  To: bhalevy; +Cc: linux-nfs, Andy Adamson

From: Andy Adamson <andros@netapp.com>

For some reason, the call to nfs4_schedule_state_recovery was removed from
the pNFS git trees, but is present in the straight 2.6.34-rcX kernels.

Signed-off-by: Andy Adamson <andros@netapp.com>
---
 fs/nfs/nfs4proc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 4b3bd81..43dab3c 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -3694,6 +3694,7 @@ _nfs4_async_handle_error(struct rpc_task *task, const struct nfs_server *server,
 			dprintk("%s ERROR %d, Reset session. Exchangeid "
 				"flags 0x%x\n", __func__, task->tk_status,
 				clp->cl_exchange_flags);
+			nfs4_schedule_state_recovery(clp);
 			task->tk_status = 0;
 			return -EAGAIN;
 #endif /* CONFIG_NFS_V4_1 */
-- 
1.6.6


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] SQUASHME pnfs: restore state recovery in async handler
  2010-05-04 21:54 [PATCH 1/1] SQUASHME pnfs: restore state recovery in async handler andros
@ 2010-05-06 19:44 ` Benny Halevy
  0 siblings, 0 replies; 2+ messages in thread
From: Benny Halevy @ 2010-05-06 19:44 UTC (permalink / raw)
  To: andros; +Cc: linux-nfs

On May. 05, 2010, 0:54 +0300, andros@netapp.com wrote:
> From: Andy Adamson <andros@netapp.com>
> 
> For some reason, the call to nfs4_schedule_state_recovery was removed from
> the pNFS git trees, but is present in the straight 2.6.34-rcX kernels.

Committed to pnfs-submit. Thanks!

Benny

> 
> Signed-off-by: Andy Adamson <andros@netapp.com>
> ---
>  fs/nfs/nfs4proc.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
> index 4b3bd81..43dab3c 100644
> --- a/fs/nfs/nfs4proc.c
> +++ b/fs/nfs/nfs4proc.c
> @@ -3694,6 +3694,7 @@ _nfs4_async_handle_error(struct rpc_task *task, const struct nfs_server *server,
>  			dprintk("%s ERROR %d, Reset session. Exchangeid "
>  				"flags 0x%x\n", __func__, task->tk_status,
>  				clp->cl_exchange_flags);
> +			nfs4_schedule_state_recovery(clp);
>  			task->tk_status = 0;
>  			return -EAGAIN;
>  #endif /* CONFIG_NFS_V4_1 */


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-06 19:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-04 21:54 [PATCH 1/1] SQUASHME pnfs: restore state recovery in async handler andros
2010-05-06 19:44 ` Benny Halevy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.