Whamcloud - gitweb
LU-5650 mgc: check the import stat for lprocfs 96/12896/2
authorHongchao Zhang <hongchao.zhang@intel.com>
Mon, 1 Dec 2014 22:47:05 +0000 (14:47 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 4 Dec 2014 20:21:57 +0000 (20:21 +0000)
commit44498ca3ab72f8644ffd016baaa0a0e5a3902fe8
treef924e19c69b907ffa3d52a62925ff9df5a5074dc
parent73800aa81baeeb55038c1849e90631588a930981
LU-5650 mgc: check the import stat for lprocfs

in lprocfs_mgc_rd_ir_state, the import state should be checked
the validity before doing further work.

This patch is back-ported from the following one:
Lustre-commit: 4295402585605e1ba210ad96c12e3820fa523f7b
Lustre-change: http://review.whamcloud.com/12327

Signed-off-by: Hongchao Zhang <hongchao.zhang@intel.com>
Change-Id: I41a5f7547d24bf61ce83dd488aef699409be209b
Reviewed-on: http://review.whamcloud.com/12896
Tested-by: Jenkins
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mgc/mgc_request.c