Whamcloud - gitweb
LU-3321 clio: add pages into writeback cache in batch 93/7893/19
authorJinshan Xiong <jinshan.xiong@intel.com>
Mon, 30 Sep 2013 23:11:11 +0000 (16:11 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 2 Dec 2013 15:48:57 +0000 (15:48 +0000)
commit4fcbd1af9ec3b1e5f6424d925f43f0cb2910c3ec
treef250770e668eba22b98fec4c34654b7dbb3d2c70
parent645d1e9b51ce8dc08e4f7820070d39168a32f9c5
LU-3321 clio: add pages into writeback cache in batch

in ll_write_end(), instead of adding the page into writeback
cache directly, it will be held in a page list. After enough
pages have been collected, issue them all with cio_commit_async().

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: I7393e7ac7e44ab8d53f89cebd61dc9b34922f18c
Reviewed-on: http://review.whamcloud.com/7893
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
20 files changed:
lustre/include/cl_object.h
lustre/include/lclient.h
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/llite/rw.c
lustre/llite/rw26.c
lustre/llite/vvp_internal.h
lustre/llite/vvp_io.c
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/obdecho/echo_client.c
lustre/osc/osc_cache.c
lustre/osc/osc_cl_internal.h
lustre/osc/osc_internal.h
lustre/osc/osc_io.c
lustre/osc/osc_page.c
lustre/osc/osc_request.c