Re: [PATCH 042/270] pnfsblock: fix non-aligned DIO read

From: Ben Hutchings
Date: Mon Nov 26 2012 - 21:34:42 EST


On Mon, 2012-11-26 at 14:55 -0200, Herton Ronaldo Krzesinski wrote:
> 3.5.7u1 -stable review patch. If anyone has any objections, please let me know.
>
> ------------------
>
> From: Peng Tao <bergwolf@xxxxxxxxx>
>
> commit f742dc4a32587bff50b13dde9d8894b96851951a upstream.
>
> 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.
>
> Signed-off-by: Peng Tao <tao.peng@xxxxxxx>
> Signed-off-by: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx>
> Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@xxxxxxxxxxxxx>
[...]

This also hasn't been applied to 3.4, and presumably needs backporting.

Ben.

--
Ben Hutchings
Never attribute to conspiracy what can adequately be explained by stupidity.

Attachment: signature.asc
Description: This is a digitally signed message part