[PATCH 041/270] pnfsblock: fix partial page buffer wirte

Ben Hutchings ben at decadent.org.uk
Tue Nov 27 02:33:24 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 fe6e1e8d9fad86873eb74a26e80a8f91f9e870b5 upstream.
> If applications use flock to protect its write range, generic NFS
> will not do read-modify-write cycle at page cache level. Therefore
> LD should know how to handle non-sector aligned writes. Otherwise
> there will be data corruption.
> 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>

I notice that this fix is missing from 3.4, and will need backporting.


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/f55290a9/attachment.sig>

More information about the kernel-team mailing list