MRP-2076 tests: remote llog processing gets EIO

test that client llog_process_thread() shouldn't LBUG
if EIO encountered.

Change-Id: I6c0be4648fd15de1dffc6621e2841f54967d3ae7
Signed-off-by: Alexander Zarochentsev <alexander.zarochentsev@seagate.com>
Reviewed-on: http://es-gerrit.xyus.xyratex.com:8080/3761
Tested-by: Jenkins
Reviewed-by: Sergey Cheremencev <sergey_cheremencev@xyratex.com>
Reviewed-by: Elena Gryaznova <elena_gryaznova@xyratex.com>
Tested-by: Elena Gryaznova <elena_gryaznova@xyratex.com>
Reviewed-by: Vitaly Fertman <vitaly_fertman@xyratex.com>
MRP-2076 llog: do not fix remote llogs

prevent llog_process_thread from trying to fix
remote llog by a direct write to the header.

Change-Id: I4f8b758a38ce3f51c24fa7397ad5c4b341e27ed0
Signed-off-by: Alexander Zarochentsev <alexander.zarochentsev@seagate.com>
Reviewed-on: http://es-gerrit.xyus.xyratex.com:8080/3723
Tested-by: Jenkins
Reviewed-by: Andrew Perepechko <andrew_perepechko@xyratex.com>
Reviewed-by: Sergey Cheremencev <sergey_cheremencev@xyratex.com>
Tested-by: Alexander Lezhoev <alexander_lezhoev@xyratex.com>
Reviewed-by: Vitaly Fertman <vitaly_fertman@xyratex.com>
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>