ceph: fix short synchronous reads
authorYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 4 Feb 2010 21:41:41 +0000 (13:41 -0800)
committerSage Weil <sage@newdream.net>
Thu, 11 Feb 2010 19:48:49 +0000 (11:48 -0800)
Zeroing of holes was not done correctly: page_off was miscalculated and
zeroing the tail didn't not adjust the 'read' value to include the zeroed
portion.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>

No differences found