From: Boaz Harrosh Date: Wed, 28 Dec 2011 17:21:45 +0000 (+0200) Subject: ore: Must support none-PAGE-aligned IO X-Git-Tag: v3.3-rc1~150^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=724577ca355795b0a25c93ccbeee927871ca1a77;p=pandora-kernel.git ore: Must support none-PAGE-aligned IO NFS might send us offsets that are not PAGE aligned. So we must read in the reminder of the first/last pages, in cases we need it for Parity calculations. We only add an sg segments to read the partial page. But we don't mark it as read=true because it is a lock-for-write page. TODO: In some cases (IO spans a single unit) we can just adjust the raid_unit offset/length, but this is left for later Kernels. [Bug in 3.2.0 Kernel] CC: Stable Tree Signed-off-by: Boaz Harrosh --- Reading git-diff-tree failed