Whamcloud - gitweb
LU-4460 mount: fix lmd_parse() to handle comma-separated NIDs 29/9029/3
authorJian Yu <jian.yu@intel.com>
Tue, 28 Jan 2014 13:12:53 +0000 (21:12 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 25 Feb 2014 20:32:48 +0000 (20:32 +0000)
commit66e5c26183a9d282d1ff1a4c4c1b475d29a1bc5e
treef26ac476705328c444db9683d4648a6230f7996f
parent6bb681e4dc0308fc89b6bd9f1caff44082249f07
LU-4460 mount: fix lmd_parse() to handle comma-separated NIDs

This patch reverts commit 3917e62018878dfffac59ceed70f20b0419945d3,
which cannot handle the upgrade situation that old mountdata already
contains comma-separated NIDs. The correct way to fix the original
issue is to parse comma-separated NIDs in lmd_parse().

The patch also updates disk2_4-ldiskfs.tar.bz2 to make the mountdata
of ost contain comma-separated NIDs so as to verify the patch under
upgrade situation.

Test-Parameters: alwaysuploadlogs \
envdefinitions=SLOW=yes,ENABLE_QUOTA=yes testlist=conf-sanity

Signed-off-by: Jian Yu <jian.yu@intel.com>
Change-Id: I58d6f4f1b74c78fc2198652677571bfd4a57d785
Reviewed-on: http://review.whamcloud.com/9029
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/obdclass/obd_mount.c
lustre/tests/conf-sanity.sh
lustre/tests/disk2_4-ldiskfs.tar.bz2
lustre/utils/mount_utils.c