Whamcloud - gitweb
LU-8040 mgc: Apply changelog defaults values in mdd_init0() 54/19854/6
authorArtem Blagodarenko <artem.blagodarenko@seagate.com>
Thu, 28 Apr 2016 14:30:53 +0000 (17:30 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 22 Jun 2016 02:53:55 +0000 (02:53 +0000)
commit36e5b7203d5f80b5ac1341a05a35c19915c05bd6
tree0a3e2b26e112ac44a56971c12c8a6ec260a012d8
parent5f6f25b21617338f5783ec539bec628ccaec1bbb
LU-8040 mgc: Apply changelog defaults values in  mdd_init0()

lctl set_param -P command stores options to params file. This options
are applied in server_start_targets() during target mount. Changelog
apply default options during initialization. So it reset options
applied by "lctl set_param -P".

This patch moves changelogs default value appying before params
processing. So new parameters aplied after default.

Signed-off-by: Artem Blagodarenko <artem.blagodarenko@seagate.com>
Change-Id: Ibb1a8d512844d4fcb66c051441c1864f994d4ded
Reviewed-on: http://review.whamcloud.com/19854
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdd/mdd_device.c
lustre/tests/conf-sanity.sh