Whamcloud - gitweb
LU-2309 config: ignore unknown configuration param
authorJian Yu <jian.yu@intel.com>
Mon, 8 Apr 2013 09:56:49 +0000 (17:56 +0800)
committerJohann Lombardi <johann.lombardi@intel.com>
Wed, 17 Apr 2013 21:24:25 +0000 (17:24 -0400)
commit7612ed327f70f94fc9cae26b33e9d7015d292a24
treee24806fa476a053afe20698bf516007968fdc2ea
parentc074fbd3066d617ac30eccb85a7bea8ef73700eb
LU-2309 config: ignore unknown configuration param

Client or server should not fail to mount if it hits
a configuration parameter that it doesn't understand.
This patch fixes class_process_config() to meet
the above requirement.

The patch also improves conf-sanity test 42 to verify
that invalid sys config param should not prevent client
or server from mounting.

Signed-off-by: Jian Yu <jian.yu@intel.com>
Change-Id: I04b7a0fe90a558b41c68b6e1218823db1ceed8b4
Reviewed-on: http://review.whamcloud.com/5972
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
lustre/obdclass/obd_config.c
lustre/tests/conf-sanity.sh