Whamcloud - gitweb
LU-9733 obd: fix fsname parsing 14/28814/2
authorWang Shilong <wshilong@ddn.com>
Mon, 3 Jul 2017 11:55:30 +0000 (19:55 +0800)
committerJohn L. Hammond <john.hammond@intel.com>
Wed, 11 Oct 2017 18:57:43 +0000 (18:57 +0000)
commit598b1bd8785db34a1c55f562bb95f1e400880961
tree0ae5b60656336ac0ca7427f02c19553a7c12d50d
parentd737064716efd624ccca3f401e89a98b1767651f
LU-9733 obd: fix fsname parsing

Lustre support Lustre fsname started with numbers.
So here we should try fsname firstly, if it failed,
fall back to number parsing.

Lustre-change: https://review.whamcloud.com/27916
Lustre-commit: cae71501680330a38c9bb16c25bf9c85dc0ec4e0

Change-Id: Idd98b9fdc8375729faa61f51251caa101035dd93
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Gu Zheng <gzheng@ddn.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/28814
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/tests/conf-sanity.sh
lustre/utils/obd.c