Whamcloud - gitweb
LU-7655 tests: ost fake write for performance testing 64/5164/22
authorJinshan Xiong <jinshan.xiong@intel.com>
Mon, 29 Aug 2016 05:45:33 +0000 (22:45 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 8 Sep 2016 02:06:45 +0000 (02:06 +0000)
commitf003d3eebbad43e7f8371af663e67c6e56bf5d9a
tree996b49591059d1c7a6a9b5c12d4174b598c58168
parenta259082d66ba482aa4044abd1b41ac4219585473
LU-7655 tests: ost fake write for performance testing

Just drop the pages in ofd_commitrw_write(), but we need to maintain
correct file size and always create a transaction so client can pin
those pages in memory until transaction commits.

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: Ia9a2af0a159c8969479656d3a7016db3cda71a91
Reviewed-on: http://review.whamcloud.com/5164
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/obd_support.h
lustre/ofd/ofd_io.c
lustre/tests/sanity.sh