Whamcloud - gitweb
LU-6780 ptlrpc: Do not resend req with allow_replay 58/15458/3
authorwang di <di.wang@intel.com>
Mon, 29 Jun 2015 17:33:52 +0000 (10:33 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 4 Jul 2015 01:33:08 +0000 (01:33 +0000)
commit0ee3487737bd876e233213ccec4e6fca4690093e
tree3df33ab7f3e91eeea5a194f18fb9bf8e51718668
parentfb80ae7c7601a03c1181de381f067f553e7b8c6f
LU-6780 ptlrpc: Do not resend req with allow_replay

If the request is allowed to be sent during recovery,
and it is not timeout yet, then we do not need to
resend it in the final stage of recovery.

Unnecessary resend will cause the bulk request to resend the
request with different mbit, but same xid, and on the remote
server side, it will drop such request with same xid, so it
will never get the bulk in this case.

re-enable the multiple MDT failover cases in replay-single.sh

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I96900448fc16b0e2a336a42c8ff977ec56941427
Reviewed-on: http://review.whamcloud.com/15458
Tested-by: Jenkins
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Liang Zhen <liang.zhen@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ptlrpc/recover.c
lustre/ptlrpc/service.c
lustre/tests/replay-single.sh