Whamcloud - gitweb
LU-12072 lov: remove KEY_CACHE_SET to simplify the code 19/34419/4
authorYang Sheng <ys@whamcloud.com>
Thu, 7 Mar 2019 19:35:12 +0000 (11:35 -0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 8 Apr 2019 05:35:58 +0000 (05:35 +0000)
commit6d21fbbf018b697c9a42977508fac57d9e476877
tree9adf80bc77d3063f765544abd07781be9501bb25
parenta1ecd11712a6a4e8b7819c6826a17bf8677df752
LU-12072 lov: remove KEY_CACHE_SET to simplify the code

We must invoke obd_set_info_async with KEY_CACHE_SET after
obd_connect for OSC device. In fact, It can be combined
in obd_connect to simplify the code.

Signed-off-by: Yang Sheng <ys@whamcloud.com>
Change-Id: I8cf235658a3e4af1685a7454ebfe887e5a28eccc
Reviewed-on: https://review.whamcloud.com/34419
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd.h
lustre/ldlm/ldlm_lib.c
lustre/llite/llite_lib.c
lustre/lmv/lmv_obd.c
lustre/lov/lov_obd.c
lustre/osc/osc_request.c