Whamcloud - gitweb
LU-9733 obd: fix fsname parsing 16/27916/5
authorWang Shilong <wshilong@ddn.com>
Mon, 3 Jul 2017 11:55:30 +0000 (19:55 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 1 Aug 2017 05:34:53 +0000 (05:34 +0000)
commitcae71501680330a38c9bb16c25bf9c85dc0ec4e0
treebd8d0660c815aeaa0f35dcd60bf10eec1e246c74
parent990890eacf757d73fc87a83bfa703a51b739a05c
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.

Change-Id: Idd98b9fdc8375729faa61f51251caa101035dd93
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-on: https://review.whamcloud.com/27916
Tested-by: Jenkins
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Gu Zheng <gzheng@ddn.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/conf-sanity.sh
lustre/utils/obd.c