Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030798Ab2K3Pe7 (ORCPT ); Fri, 30 Nov 2012 10:34:59 -0500 Received: from hop-nat-141.emc.com ([168.159.213.141]:42286 "EHLO mexforward.lss.emc.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1030753Ab2K3Pe5 convert rfc822-to-8bit (ORCPT ); Fri, 30 Nov 2012 10:34:57 -0500 From: "Peng, Tao" To: "Myklebust, Trond" , Greg Kroah-Hartman , Ben Hutchings CC: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , "kernel-team@lists.ubuntu.com" , "Herton Ronaldo Krzesinski" Subject: RE: [PATCH 041/270] pnfsblock: fix partial page buffer wirte Thread-Topic: [PATCH 041/270] pnfsblock: fix partial page buffer wirte Thread-Index: AQHNy/fYx6XCYZQqHkKJpJtQ4mQx3Zf9SwcAgASpyICAAMm5AP//yIij Date: Fri, 30 Nov 2012 15:34:24 +0000 Message-ID: <1882637210201641A747464075FFC649037C07@MX101CL02.corp.emc.com> References: <1353949160-26803-1-git-send-email-herton.krzesinski@canonical.com> <1353949160-26803-42-git-send-email-herton.krzesinski@canonical.com> <1353983604.4266.44.camel@deadeye.wl.decadent.org.uk> <20121130014607.GD13478@kroah.com>,<4FA345DA4F4AE44899BD2B03EEEC2FA90B32EE5D@SACEXCMBX04-PRD.hq.netapp.com> In-Reply-To: <4FA345DA4F4AE44899BD2B03EEEC2FA90B32EE5D@SACEXCMBX04-PRD.hq.netapp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.250.132.63] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-EMM-MHVC: 1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2443 Lines: 59 Sorry for the late response. I will get it done in the weekend. The only one that need backport is bellow patch. The two DIO patches are not necessary because 3.4 NFS DIO does not support pNFS yet. Thanks, Tao ________________________________________ From: Myklebust, Trond [Trond.Myklebust@netapp.com] Sent: Friday, November 30, 2012 9:48 PM To: Greg Kroah-Hartman; Ben Hutchings Cc: Peng, Tao; linux-kernel@vger.kernel.org; stable@vger.kernel.org; kernel-team@lists.ubuntu.com; Herton Ronaldo Krzesinski Subject: RE: [PATCH 041/270] pnfsblock: fix partial page buffer wirte > -----Original Message----- > From: Greg Kroah-Hartman [mailto:gregkh@linuxfoundation.org] > Sent: Thursday, November 29, 2012 8:46 PM > To: Ben Hutchings > Cc: Peng Tao; Myklebust, Trond; linux-kernel@vger.kernel.org; > stable@vger.kernel.org; kernel-team@lists.ubuntu.com; Herton Ronaldo > Krzesinski > Subject: Re: [PATCH 041/270] pnfsblock: fix partial page buffer wirte > > On Tue, Nov 27, 2012 at 02:33:24AM +0000, Ben Hutchings wrote: > > 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 > > > > > > 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 > > > Signed-off-by: Trond Myklebust > > > Signed-off-by: Herton Ronaldo Krzesinski > > > > > [...] > > > > I notice that this fix is missing from 3.4, and will need backporting. > > I don't trust myself with backporting this, as I got it wrong. So if one of the > NFS developers wants to do this (same goes for the other NFS patch), I'll > gladly take it. > Tao would be the right person to do this since he has access to pNFS blocks hardware and can test the results. Cheers Trond -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/