From: Henry C Chang Date: Thu, 16 Dec 2010 04:41:54 +0000 (-0800) Subject: ceph: fix direct-io on non-page-aligned buffers X-Git-Tag: v2.6.37-rc7~3^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab226e21ad34f6ef52e00d2ab399d2364b4cdfee;p=pandora-kernel.git ceph: fix direct-io on non-page-aligned buffers The user buffer may be 512-byte aligned, not page-aligned. We were assuming the buffer was page-aligned and only accounting for non-page-aligned io offsets. Signed-off-by: Henry C Chang Signed-off-by: Sage Weil --- Reading git-diff-tree failed