Whamcloud - gitweb
LU-2309 config: ignore unknown configuration param
authorJian Yu <jian.yu@intel.com>
Wed, 16 Jan 2013 06:37:35 +0000 (14:37 +0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 26 Jan 2013 02:56:44 +0000 (21:56 -0500)
commit0302cc9dc33a2c8cc013bd117d5b738fe3ae1a76
treed2280dd2e84472bfe2a6efdf3e5a24788beda5e9
parent100c6012e9decb4cc320e1a75c92ae2431dd5961
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: I33a6eb3c2beb3dd7425a097e8e7b5a2766852a96
Reviewed-on: http://review.whamcloud.com/5037
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/obdclass/obd_config.c
lustre/tests/conf-sanity.sh