Whamcloud - gitweb
LU-5604 tgt: return missed fail ids
OBD_FAIL_LDLM_REPLY is missing from tgt_enqueue, and it's actually
not suitable for tgt_enqueue anymore because tgt_enqueue() is a
common handler now.
This patch includes a few changes:
- tgt_enqueue sets tgt_session_info::tsi_reply_fail_id to
OBD_FAIL_MGS/MDS/OST_LDLM_REPLY_NET based on type of target.
- rewrite test_52 of replay-single, the only reason that test_52
can pass is because there is a typo:
$CHECKSTAT -t file $DIR/$tfile-* which should be $DIR/$tfile
- add definitions for OBD_FAIL_LDLM_SRV_CP/BL/GL_AST and resolve
OBD_FAIL conflictions
- OBD_FAIL_UPDATE_OBJ_NET_REP was renamed to
OBD_FAIL_OUT_UPDATE_NET_REP but referenced with old name in tests.
- OBD_FAIL_MDS_FAIL_LOV_LOG_ADD check is obsoleted as well as tests.
Meanwhile the OSP code was updated to fix panic in case of error.
- OBD_FAIL_TGT_LAST_REPLAY is removed along with test. It was never
used and it seems it was even introduced by mistake.
Test-Parameters: envdefinitions=SLOW=yes alwaysuploadlogs testlist=replay-dual,replay-single
Signed-off-by: Liang Zhen <liang.zhen@intel.com>
Signed-off-by: Mikhail Pershin <mike.pershin@intel.com>
Change-Id: If5113e459f5628047e17114b6bc20ba910f3c142
Reviewed-on: http://review.whamcloud.com/12232
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>