Whamcloud - gitweb
LU-4201 llite: clip page correctly for vvp_io_commit_sync 31/8531/3
authorJinshan Xiong <jinshan.xiong@intel.com>
Tue, 10 Dec 2013 07:41:26 +0000 (23:41 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 17 Dec 2013 05:36:32 +0000 (05:36 +0000)
commit94efc0f46185fedbb4c1c9ff8b1d281b8d846d59
tree4883045e3d99e72385ed2e692d600ceacbfbe872
parenta48df9fbf812cd0fc00f5201a437f38b138c6df2
LU-4201 llite: clip page correctly for vvp_io_commit_sync

The original code was wrong which clipped page incorrectly for
partial pages started with zero.

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: I66ec542d5282fdfd68fe59f8056aca292b318c00
Reviewed-on: http://review.whamcloud.com/8531
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
lustre/llite/vvp_io.c
lustre/tests/sanity.sh