Whamcloud - gitweb
LU-4200 mgs: fix counting of mgs exports 50/9650/3
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Thu, 13 Mar 2014 19:31:41 +0000 (15:31 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 21 Mar 2014 14:04:07 +0000 (14:04 +0000)
commita8daf3e7b31a44f0b76a406661d59075f11c5bbe
tree48dd6ea19064b899e9b491f9b6d3c6b2d52b9cbe
parent69dda0cf5fb34a1a7ff93468ca1c155dd3a53060
LU-4200 mgs: fix counting of mgs exports

In only_mgs_is_running iterate over mgs exports and only count
non-self and non MDS-MDS exports.

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: I145d897fe2f222dae5e998de322ea58ac9f75375
Reviewed-on: http://review.whamcloud.com/9650
Tested-by: Jenkins
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/mgs/mgs_llog.c