Re: [PATCH 1/1] SQUASHME pnfs: restore state recovery in async handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On May. 05, 2010, 0:54 +0300, andros@xxxxxxxxxx wrote:
> From: Andy Adamson <andros@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx>
> ---
>  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 */

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux