From: Andy Whitcroft Subject: Re: Bug with "fix partial page writes" [3.2-rc regression] Date: Thu, 8 Dec 2011 18:12:35 +0000 Message-ID: <20111208181235.GE2686@shadowen.org> References: <20111121165626.GD14568@thunk.org> <4EDD729E.2060402@linux.vnet.ibm.com> <4EDE85F4.4020503@linux.vnet.ibm.com> <4EDF9CAB.3050502@linux.vnet.ibm.com> <4EE046C7.9030902@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Allison Henderson , Yongqiang Yang , Ted Ts'o , Curt Wohlgemuth , Surbhi Palande , Rafael Wysocki , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org To: Hugh Dickins Return-path: Received: from youngberry.canonical.com ([91.189.89.112]:60454 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752538Ab1LHSMl (ORCPT ); Thu, 8 Dec 2011 13:12:41 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-ext4-owner@vger.kernel.org List-ID: On Thu, Dec 08, 2011 at 09:39:55AM -0800, Hugh Dickins wrote: [...] > > [PATCH 1/2] ext4: let mpage_submit_io works well when blocksize < pagesize > > [PATCH 2/2] ext4: let ext4_discard_partial_buffers handle pages without > > > > [PATCH 1/2] ext4: remove a wrong BUG_ON in ext4_ext_convert_to_initialized > > [PATCH 2/2] ext4: let ext4_bio_write_page handle EOF correctly [...] > Only once, before the fixes, did I ever see an unexplained EINVAL > (from cp), like Andy reports: I'm very hopeful his case is fixed too. Yes I have reverted my fix and applied all four of these patches (above). I have just completed a 100 iteration run of my test case without failure. This would typically fail in the first iteration 90% of the time and never survived more than two iterations. I am comfortable saying they resolve my issue. -apw