From: Sage Weil Date: Tue, 9 Nov 2010 20:43:12 +0000 (-0800) Subject: ceph: make page alignment explicit in osd interface X-Git-Tag: v2.6.37-rc3~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7495fc2ff941db6a118a93ab8d61149e3f4cef8;p=pandora-kernel.git ceph: make page alignment explicit in osd interface We used to infer alignment of IOs within a page based on the file offset, which assumed they matched. This broke with direct IO that was not aligned to pages (e.g., 512-byte aligned IO). We were also trusting the alignment specified in the OSD reply, which could have been adjusted by the server. Explicitly specify the page alignment when setting up OSD IO requests. Signed-off-by: Sage Weil --- Reading git-diff-tree failed