Whamcloud - gitweb
LU-683: handle short write in cl_io_commit_write
authorJinshan Xiong <jay@whamcloud.com>
Thu, 15 Sep 2011 05:49:21 +0000 (22:49 -0700)
committerOleg Drokin <green@whamcloud.com>
Fri, 16 Sep 2011 16:21:29 +0000 (12:21 -0400)
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 <jay@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1383
Tested-by: Hudson
Tested-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@whamcloud.com>

No differences found