From: Peng Tao Date: Thu, 23 Aug 2012 16:27:52 +0000 (+0800) Subject: pnfsblock: fix non-aligned DIO read X-Git-Tag: v3.7-rc1~58^2~36 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f742dc4a32587bff50b13dde9d8894b96851951a;p=pandora-kernel.git pnfsblock: fix non-aligned DIO read For DIO read, if it is not sector aligned, we should reject it and resend via MDS. Otherwise there might be data corruption. Also teach bl_read_pagelist to handle partial page reads for DIO. Cc: stable [since v3.4] Signed-off-by: Peng Tao Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed