Whamcloud - gitweb
LU-4438 utils: handle ct_setup() errors 53/9853/10
authorBruno Faccini <bruno.faccini@intel.com>
Sun, 30 Mar 2014 15:44:43 +0000 (17:44 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 11 Jun 2014 02:38:06 +0000 (02:38 +0000)
commit39f5f271f6f8297c3478390d94466ffb071e313e
tree555ca11461708b539a1e551e06f69d247fa9646f
parent47cde804ddc9019ff0793229030211d536d0612f
LU-4438 utils: handle ct_setup() errors

Problem has been encountered causing sanity-hsm/test_402 errors
because copytool threads were found still alive after MDCs
deactivation. This appears to be due to no ct_setup() error
handling with continuing+unnecessary startup actions to occur.
Also, now that copytool will exit earlier, HSMTOOL_NOERROR variable
has been added to allow errors in copytool_setup().

Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Change-Id: I108ea679faf2731f2a64fb08d2f8fba9db01c71f
Reviewed-on: http://review.whamcloud.com/9853
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity-hsm.sh
lustre/utils/lhsmtool_posix.c