Whamcloud - gitweb
LU-10899 osc: move obdo_cache to OSC code 41/33141/4
authorAndreas Dilger <adilger@whamcloud.com>
Mon, 10 Sep 2018 23:22:46 +0000 (17:22 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 5 Oct 2018 22:27:28 +0000 (22:27 +0000)
commit48df66be72c948ab5428a073e52a45ac4252d612
tree05774d0fa5cb5f74e34a97d125b83b5ab52b1722
parentb806a81070940ce13e6257aa99de18a71f08706b
LU-10899 osc: move obdo_cache to OSC code

The obdo_cache slab is only used by the OSC code today, so it does
not need to be allocated in obdclass on servers.  Move it to only
be allocated when the OSC module is loaded.

Rename obdo_cachep to osc_obdo_kmem to match other slab caches
created by the OSC.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I6f70adb1f5d0e76c72d797a65b413df1533ebbe5
Reviewed-on: https://review.whamcloud.com/33141
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_osc.h
lustre/include/obd_class.h
lustre/obdclass/genops.c
lustre/osc/osc_dev.c
lustre/osc/osc_request.c