Whamcloud - gitweb
LU-4793 clio: Reduce memory overhead of per-page allocation 70/10070/5
authorJinshan Xiong <jinshan.xiong@intel.com>
Wed, 23 Apr 2014 20:11:22 +0000 (13:11 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 11 Jun 2014 02:44:16 +0000 (02:44 +0000)
commitec98d93ff50ca43f137db01261bf1ab55a1d5e53
tree2cd6c5d9ef44246b7bae1e3da86b6fccda870614
parent34a9bf694a584437e4bf7a037dea32a6271e93d3
LU-4793 clio: Reduce memory overhead of per-page allocation

A page in clio used to occupy 584 bytes, which will use size-1024
slab cache. This patch reduces the per-page overhead to 512 bytes
so it can use size-512 instead.

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: I54d7ed7b64d5987ddaafbf16edafa5cdf491b0a1
Reviewed-on: http://review.whamcloud.com/10070
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
lustre/include/cl_object.h
lustre/include/lclient.h
lustre/lov/lov_cl_internal.h
lustre/lov/lov_io.c
lustre/lov/lov_page.c
lustre/obdclass/cl_io.c
lustre/obdclass/cl_page.c
lustre/osc/osc_internal.h
lustre/osc/osc_io.c
lustre/osc/osc_request.c