Whamcloud - gitweb
LU-5299 obdclass: avoid race during Server device start 39/11139/18
authorBruno Faccini <bruno.faccini@intel.com>
Fri, 18 Jul 2014 11:34:33 +0000 (13:34 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 25 Aug 2014 04:23:14 +0000 (04:23 +0000)
commit166c5ba95cb2a4771317e030a3649e4480c8cbad
tree65a6fe56ca6477ce727a6fcd88a8c5a43ed6bfdc
parent8739f13233e0827d7f4c8db9a8a539281b9bc9f8
LU-5299 obdclass: avoid race during Server device start

Handle concurrent starts for same device (multiple mounts, ...).
But allows for separate nosvc and nomgs case.
Also add a specific test of concurent MDT/OST start with an
artificial delay to verify.

Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Change-Id: I442819a5b865ed3e98477f9d2602efc4d09d7860
Reviewed-on: http://review.whamcloud.com/11139
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/obdclass/obd_mount_server.c
lustre/tests/conf-sanity.sh