Whamcloud - gitweb
LU-8066 obd: map MDS lov/osc to lod/osp 91/36791/2
authorJames Simmons <jsimmons@infradead.org>
Mon, 18 Nov 2019 22:22:54 +0000 (17:22 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 16 Dec 2019 05:59:49 +0000 (05:59 +0000)
commitd307873ae5f5c9c3a8f540ad921df9ade0bd33d3
tree271e287dfd5cc6de81861e33b10443b6c7e4f41d
parent0fccba79a87ee688587a3c591341802666929346
LU-8066 obd: map MDS lov/osc to lod/osp

Before Lustre 2.4 the MDS mirrored the clients with its osc / lov
proc tree. After the OSD changes a new lod / osp proc tree was
created but to maintain back ward compatibility special symlinks
were created. We really don't need the symlinks any more.
Instead we can expand the modification of lustre_cfg done in the
function class_config_llog_handler() to include the cases of
LCFG_SET_PARAM and LCFG_PARAM. This means anyone setting on the
tunables on MDS using the old lov / osc format can be formated
to use lod / osp instead. This way when the symlinks do get
removed handling the old format will continue to work

Change-Id: Id82f095501440981fd8e4a07be09f35adba447e5
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/36791
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
lustre/obdclass/obd_config.c