MRP-1913 libcfs: procfs watchdog trigger

a procfs watchdog trigger for testing
whether lustre is able to dump kernel log.

Change-Id: I53f58d05922019243883795862bfefff802bb2b8
Signed-off-by: Alexander Zarochentsev <alexander.zarochentsev@seagate.com>
Reviewed-on: http://es-gerrit.xyus.xyratex.com:8080/2477
Reviewed-by: Andrew Perepechko <andrew_perepechko@xyratex.com>
Reviewed-by: Sergey Cheremencev <sergey_cheremencev@xyratex.com>
Reviewed-by: Elena Gryaznova <elena.gryaznova@seagate.com>
Tested-by: Jenkins
Tested-by: Elena Gryaznova <elena.gryaznova@seagate.com>
Reviewed-by: Vitaly Fertman <vitaly.fertman@seagate.com>
MRP-2097 tests: skip tests require remote server with nodsh

Patch fixes sanity 17m, 17o, 116b, 160c, 161c, 205, 208, 228b,
228c, 230b tests to be skipped for remote servers with nodsh set.

Signed-off-by: Elena Gryaznova <Elena_Gryaznova@xyratex.com>
Change-Id: I9db60e7286ee8ba5f334914bcc8c3d79af65729f
Reviewed-on: http://es-gerrit.xyus.xyratex.com:8080/3840
Reviewed-by: Vladimir Saveliev <vladimir_saveliev@xyratex.com>
Tested-by: Jenkins
Tested-by: Elena Gryaznova <elena.gryaznova@seagate.com>
Reviewed-by: Vitaly Fertman <vitaly.fertman@seagate.com>
MRP-2109 tests: ost ENOSPACE doesn't cause busy inodes

Check for ENOSPACE error handling in osd_scrub_setup.

Change-Id: Idf4456ec2270d9706054befbdbda1741406b885b
Signed-off-by: Sergey Cheremencev <sergey.cheremencev@seagate.com>
Reviewed-on: http://es-gerrit.xyus.xyratex.com:8080/3809
Reviewed-by: Alexander Zarochentsev <alexander_zarochentsev@xyratex.com>
Reviewed-by: Elena Gryaznova <elena.gryaznova@seagate.com>
Tested-by: Jenkins
Reviewed-by: Rahul Deshmukh <rahul_deshmukh@xyratex.com>
Tested-by: Elena Gryaznova <elena.gryaznova@seagate.com>
Reviewed-by: Vitaly Fertman <vitaly.fertman@seagate.com>
MRP-2109 osd: iput in case of error in osd_scrub_setup

In case of ENOSPACE from osd_scrub_file_store iput is needed.
Otherwise there is a message in dmesg: "VFS: Busy inodes after
unmount of vdb. Self-destruct in 5 seconds. Have a nice day..."
Also added osd_oi_fini for case of error from osd_initial_OI_scrub
or osd_scrub_start.

Change-Id: Ie3be0d595a651783a16ecc1e8d192fa0e94c406b
Signed-off-by: Sergey Cheremencev <sergey.cheremencev@seagate.com>
Reviewed-on: http://es-gerrit.xyus.xyratex.com:8080/3827
Reviewed-by: Rahul Deshmukh <rahul_deshmukh@xyratex.com>
Tested-by: Jenkins
Reviewed-by: Alexander Zarochentsev <alexander_zarochentsev@xyratex.com>
Tested-by: Elena Gryaznova <elena.gryaznova@seagate.com>
Reviewed-by: Vitaly Fertman <vitaly.fertman@seagate.com>
MRP-2132 utils: err level LOG_WARN for l_getidentity

Change error level for errlog->vsyslog from LOG_NOTICE
to LOG_WARNING.

Change-Id: I3e8957bfd134eb3feada8cb6ef111b5f307bcdf9
Signed-off-by: Sergey Cheremencev <sergey.cheremencev@seagate.com>
Reviewed-on: http://es-gerrit.xyus.xyratex.com:8080/3934
Tested-by: Jenkins
Reviewed-by: Alexander Zarochentsev <alexander_zarochentsev@xyratex.com>
Reviewed-by: Parinay Kondekar <parinay_kondekar@xyratex.com>
Tested-by: Elena Gryaznova <elena.gryaznova@seagate.com>
Reviewed-by: Vitaly Fertman <vitaly.fertman@seagate.com>
MRP-2071 obd: Fixing broken tests

"Unified request handlers" related commits (i.e. LU-3467,
LU-2145) removed assignment/conditional "if" statements
related to following macros:

    - OBD_FAIL_OST_LDLM_REPLY_NET
    - OBD_FAIL_LDLM_REPLY

These marcos were used by tests as follows:

- OBD_FAIL_OST_LDLM_REPLY_NET: replay_dual.sh->test_25
- OBD_FAIL_LDLM_REPLY: replay_single.sh->test_52,test_73b

As those marcors are removed it broke the tests. In this
patch porting above mention macros appropriately to fix
those tests.

Intel-bug-id: LU-5604
Change-Id: I0be64f877ffbcd6b0f741a05af05f71921171222
Signed-off-by: Rahul Deshmukh <rahul_deshmukh@xyratex.com>
Reviewed-on: http://es-gerrit.xyus.xyratex.com:8080/3817
Tested-by: Elena Gryaznova <elena.gryaznova@seagate.com>
Tested-by: Jenkins
Reviewed-by: Alexander Zarochentsev <alexander_zarochentsev@xyratex.com>
Reviewed-by: Vitaly Fertman <vitaly.fertman@seagate.com>