Whamcloud - gitweb
LU-5921 tests: enhance server target mount race testing 02/17302/2
authorBruno Faccini <bruno.faccini@intel.com>
Fri, 20 Nov 2015 14:38:11 +0000 (15:38 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 9 Dec 2015 02:24:35 +0000 (02:24 +0000)
commit5023ca334069950ccece06db3c12104232b5ab71
treee9c6b4b1952b9b8c4ed9a767e21a224654b15ba9
parent5cb0a721aea53ffc8230190c3a0b35e71a47d35b
LU-5921 tests: enhance server target mount race testing

This patch is a follow on to LU-5299 to strengthen and enhance
concurrent server target mount race testing.
It uses OBD_RACE() feature to better set a concurrent/racy
situation, and also allow to handle all mount errors instead
of only EALREADY.

Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Change-Id: I16a94e5aa046e15096d2e55d57e22899a93fa03f
Reviewed-on: http://review.whamcloud.com/17302
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/obd_support.h
lustre/obdclass/obd_mount_server.c
lustre/tests/conf-sanity.sh