Whamcloud - gitweb
LU-2059 mgs: don't fail on missing params log 11/10311/4
authorMikhail Pershin <mike.pershin@intel.com>
Tue, 13 May 2014 14:34:03 +0000 (18:34 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 19 May 2014 20:27:04 +0000 (20:27 +0000)
commit864fc9daac267819f5e3bdebef6cdac4c6325626
tree21cb3b3dae824f03963f0c2e9dc3442be343ec5d
parentc6a034b746bffc5a11f0c9ec4848d54dea90ca23
LU-2059 mgs: don't fail on missing params log

The mgc_process_cfg_log() fails if 'params' log is not
accessinble and has no local copy. In fact that log is
optional and may be just empty.

Patch allows 'params' log to be empty and checks also for
'params' log in other places to avoid wrong error messages.
There was also deprecated code in mgs_write_log_direct_all()
which creates lustre-params log which is not used by anyone now.
Third change is removal of exceptions in conf-sanity.sh and
insanity.sh related to LU-2059

The only exception is insanity test_1 which is still failed due
to other reason.

Signed-off-by: Mikhail Pershin <mike.pershin@intel.com>
Change-Id: I1ad024a87b0a10665f9669fa8ff7cca2d07a09fe
Reviewed-on: http://review.whamcloud.com/10311
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
lustre/mgc/mgc_request.c
lustre/mgs/mgs_handler.c
lustre/mgs/mgs_llog.c
lustre/obdclass/llog.c
lustre/tests/conf-sanity.sh
lustre/tests/insanity.sh