From: Jinshan Xiong Date: Thu, 15 Sep 2011 05:49:21 +0000 (-0700) Subject: LU-683: handle short write in cl_io_commit_write X-Git-Tag: 2.1.0~1 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=ff38d3f6ba13e8c251a2fdc070bae3cb2098a4a4;hp=ff38d3f6ba13e8c251a2fdc070bae3cb2098a4a4 LU-683: handle short write in cl_io_commit_write CLIO has to handle short write case where no bytes were actually copied from user space. In this case, we should avoid adding that page into cache. Change-Id: I78c870e741d7bdb2a9c4c0bfba1adc50a6e814e7 Signed-off-by: Jinshan Xiong Reviewed-on: http://review.whamcloud.com/1383 Tested-by: Hudson Tested-by: Yu Jian Reviewed-by: Oleg Drokin Reviewed-by: Bobi Jam ---