MRP-2022 test: reconnect during replay

Client doesn't restore import state correctly
on reconnect during replay.
Server fails with "target_queue_recovery_request())
ASSERTION( req->rq_export->exp_lock_replay_needed ) failed"

Change-Id: Idb472f005408253b8e252df2ed63bdc2cdcae3cd
Signed-off-by: Andriy Skulysh <Andriy_Skulysh@xyratex.com>
Reviewed-on: http://es-gerrit.xyus.xyratex.com:8080/3661
Tested-by: Jenkins
Reviewed-by: Alexander Lezhoev <alexander_lezhoev@xyratex.com>
Tested-by: Alexander Lezhoev <alexander_lezhoev@xyratex.com>
Reviewed-by: Vitaly Fertman <vitaly.fertman@seagate.com>
MRP-2022: ptlrpc: fix import state during replay

Client doesn't restore import state correctly
on reconnect during replay. It resends lock replay
when final ping was queued by server.
Server fails with "target_queue_recovery_request())
ASSERTION( req->rq_export->exp_lock_replay_needed ) failed"

Add imp_replay_state to store replay state
during. Reconnect imp_state is restored from
imp_replay_state.

Change-Id: I44cf3dc2ce79cd4c45b6dde0957f3cecaeace212
Signed-off-by: Andriy Skulysh <Andriy_Skulysh@xyratex.com>
Reviewed-on: http://es-gerrit.xyus.xyratex.com:8080/3696
Reviewed-by: Alexander Boyko <alexander_boyko@xyratex.com>
Tested-by: Jenkins
Tested-by: Alexander Lezhoev <alexander_lezhoev@xyratex.com>
Reviewed-by: Vitaly Fertman <vitaly.fertman@seagate.com>