From: Sage Weil Date: Mon, 13 Jun 2011 23:20:18 +0000 (-0700) Subject: libceph: fix page calculation for non-page-aligned io X-Git-Tag: v3.0-rc7~52^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bb0ce2b0b734f3325ea5cd6b351856eeac94f78;p=pandora-kernel.git libceph: fix page calculation for non-page-aligned io Set the page count correctly for non-page-aligned IO. We were already doing this correctly for alignment, but not the page count. Fixes DIRECT_IO writes from unaligned pages. Signed-off-by: Sage Weil --- Reading git-diff-tree failed