Whamcloud - gitweb
LU-5299 obdclass: avoid race during Server device start
authorBruno Faccini <bruno.faccini@intel.com>
Fri, 18 Jul 2014 11:34:33 +0000 (13:34 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 6 Oct 2014 19:39:25 +0000 (15:39 -0400)
commit22adab5861cdf27e479bd1499148f91e63883bd2
treee2a2e26f8ba310c1c45308eaba84e4e647f104c1
parent14e0c5333ae5899bdd99abec0278bdcef8e2ae61
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