MRP-2034 ptlrpc: fix race between connect vs resend

Buggy code at ptlrpc_connect_interpret()
finish:
    rc = ptlrpc_import_recovery_state_machine(imp);
    ...
    Set import connection flags
When import has FULL state ptlrpc_import_recovery_state_machine()
wakeup all waiters on import and all delayed request, which was
resented. And it could happened that request was send without
updated flags and AT is disabled. If such request is in progress
on the server, server drop the new instance, and could do early reply
for it. But this early reply confuse client, cause it wait real
reply(no AT for this request). Client try to touch buffer outside
reply and got EPROTO error.
The same bug existed for initital connect too. Import became FULL
before import connection flags was set.

Signed-off-by: Alexander Boyko <alexander_boyko@xyratex.com>
Reviewed-by: Alexey Lyashkov <alexey_lyashkov@xyratex.com>
Reviewed-by: Andriy Skulysh <Andriy_Skulysh@xyratex.com>
Reviewed-by: Vitaly Fertman <vitaly_fertman@xyratex.com>
Change-Id: I6e592964b109fd3b727f2018803805d2d8633b2d
MRP-1988 recovery: provide information about evicted exports

Store per export information about last replay request and print it
out on eviction.

Change-Id: Ib06a17041ec018cd2af98a81d6d9b2567541753b
Signed-off-by: Vladimir Saveliev <vladimir_saveliev@xyratex.com>
Reviewed-on: http://es-gerrit.xyus.xyratex.com:8080/3439
Reviewed-by: Alexander Boyko <alexander_boyko@xyratex.com>
Tested-by: Jenkins
Reviewed-by: Sergey Cheremencev <sergey_cheremencev@xyratex.com>
Tested-by: Alexander Lezhoev <alexander_lezhoev@xyratex.com>
Reviewed-by: Vitaly Fertman <vitaly_fertman@xyratex.com>