Whamcloud - gitweb
LU-8311 mount: fix lmd_parse() to parse colon as NID delimiter 29/21329/4
authorJian Yu <jian.yu@intel.com>
Fri, 15 Jul 2016 07:11:45 +0000 (00:11 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 6 Aug 2016 06:24:23 +0000 (06:24 +0000)
commit2458067d8d55173ad68caac8c0460d46bf8106a1
treeee670b465c10bf2b05359ead0c7f597f202d85cf
parent349c2be0e608c9afe85253192a4c1450306e9629
LU-8311 mount: fix lmd_parse() to parse colon as NID delimiter

In multi-rail and failover configurations, colon is a valid
delimiter in LNET nid list to separate different hosts.
This patch fixes lmd_parse()->lmd_parse_nidlist() to handle
both comma and colon as delimiters.

Signed-off-by: Jian Yu <jian.yu@intel.com>
Change-Id: I287e08c22c82c2143fe9aba185473a672e8f1429
Reviewed-on: http://review.whamcloud.com/21329
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/obdclass/obd_mount.c
lustre/tests/conf-sanity.sh