MRP-1147 ptlrpc: no abort connetcion with active request

The MRP-459 patch lost part which removes abort connection with
active request. This patch fix this issue.

Signed-off-by: Alexander Boyko <alexander_boyko@xyratex.com>
Change-Id: I1d7eeccd8021c98993e005fcc4929be903626bf6
Reviewed-on: http://morpheus.xyus.xyratex.com:8443/gerrit/545
Tested-by: Jenkins
Tested-by: Roman Grigoryev <Roman_Grigoryev@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>
MRP-1148 quota: set quota export before reconstruct

If mdt_reconstruct_open occures at mdt_reint_internal, and quota
is enabled, it cause fault when quota_check trying to touch export
mq->mq_exp. Initialization of this param occures after
mdt_reconstruct_open at mdt_reint_internal. This patch moves this
initialization before mdt_reconstruct call.

Signed-off-by: Alexander Boyko <alexander_boyko@xyratex.com>
Change-Id: I119556d579978022db010f4422dd0a2b63d4d384
Reviewed-on: http://morpheus.xyus.xyratex.com:8443/gerrit/536
Reviewed-by: Andriy Skulysh <Andriy_Skulysh@xyratex.com>
Reviewed-by: Andrew Perepechko <Andrew_Perepechko@xyratex.com>
Tested-by: Jenkins
Tested-by: Alexander Lezhoev <Alexander_Lezhoev@xyratex.com>
Reviewed-by: Vitaly Fertman <Vitaly_Fertman@xyratex.com>
MRP-1170 tests: use full path to directio

The sanity-benchmark iozone directio test is skipped if started not
from lustre/tests directory because of related path used.

Patch fixes this test to use DIRECTIO instead of ./directio

Signed-off-by: Elena Gryaznova <Elena_Gryaznova@xyratex.com>
Change-Id: Iff93f47f8e11dea6dc35ea540d22c183a2b7fed0
Reviewed-on: http://morpheus.xyus.xyratex.com:8443/gerrit/558
Tested-by: Jenkins
Reviewed-by: Vladimir Saveliev <vladimir_saveliev@xyratex.com>
MRP-1035 ldlm: report last_committed value using export/obd

Both export and obd value is used for report last_committed value.
Patch takes into account obd_last_transno number when reporting last
commit transaction number to the client. This helps for client with
open/close activity to get real commit number and free requests from
replay queue.

Signed-off-by: Alexander Boyko <alexander_boyko@xyratex.com>
Signed-off-by: Alexey Lyashkov <alexey_lyashkov@xyratex.com>
Change-Id: I160abcc7c3b48785f80efbb8cf03c3252d293272
Reviewed-on: http://morpheus.xyus.xyratex.com:8443/gerrit/533
Tested-by: Jenkins
Tested-by: Alexander Lezhoev <Alexander_Lezhoev@xyratex.com>
Reviewed-by: Alexey Lyashkov <Alexey_Lyashkov@xyratex.com>
Reviewed-by: Vitaly Fertman <Vitaly_Fertman@xyratex.com>