[PATCH 042/270] pnfsblock: fix non-aligned DIO read
Ben Hutchings
ben at decadent.org.uk
Tue Nov 27 02:34:48 UTC 2012
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 at gmail.com>
>
> 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 at emc.com>
> Signed-off-by: Trond Myklebust <Trond.Myklebust at netapp.com>
> Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski at canonical.com>
[...]
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20121127/75bff0cc/attachment.sig>
More information about the kernel-team
mailing list