Whamcloud - gitweb
LU-2371 ptlrpc: get new xid for resend on EINPROGRESS
authorJohann Lombardi <johann.lombardi@intel.com>
Fri, 30 Nov 2012 14:16:41 +0000 (15:16 +0100)
committerOleg Drokin <green@whamcloud.com>
Mon, 17 Dec 2012 06:41:36 +0000 (01:41 -0500)
commitfde36b52debe436dd963c5a08aa7f047edd914df
tree4b9ad8b5860f91f0b3999f981d285a98703bc083
parent44d5aba0bec9ae5538c37e2d018b90555f4b3f02
LU-2371 ptlrpc: get new xid for resend on EINPROGRESS

Allocate new xid for ptlrpc resend on EINPROGRESS to avoid MDT's reply
recontruction code which will cause EINPROGRESS to always been replied
on subsequent resent.
Also fix non-intent creation path to set rq_no_retry_einprogress.

Signed-off-by: Johann Lombardi <johann.lombardi@intel.com>
Change-Id: Id423142e4440952777b74a834e2b4fa38c338280
Reviewed-on: http://review.whamcloud.com/4719
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
lustre/mdc/mdc_reint.c
lustre/ptlrpc/client.c