Whamcloud - gitweb
LU-2179 osc: truncate partial page correctly
authorJinshan Xiong <jinshan.xiong@whamcloud.com>
Tue, 16 Oct 2012 19:35:40 +0000 (12:35 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 18 Oct 2012 02:49:03 +0000 (22:49 -0400)
commitf62e5de88db5d38815014a5b4d793d8af1f9ef7e
treed075771a77ceb9d6b183c7efb15a08caae0edc63
parente5d5cd20169b476cdb4fe4857d64aef4bf03d497
LU-2179 osc: truncate partial page correctly

If a partial page is being truncated, the corresponding osc extent
should be held until the truncate finished.

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: I4fde8b08754a50c86bb448aa5ac0e0ea8dba1d71
Reviewed-on: http://review.whamcloud.com/4281
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osc/osc_cache.c