]> bbs.cooldavid.org Git - net-next-2.6.git/commit
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)
commit972f0d3ab1a15cb5d790dd8c53903066084b28f2
tree42d47841a5bee10cea81c8e1eb44b6bc4f1f942e
parent02f90c61096ec3ad691e808a4aa7ca5a06e550ec
ceph: fix short synchronous reads

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>
fs/ceph/file.c