From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Wilson Subject: Re: 2.6.17-mm5 dislikes raid-1, just like mm4 Date: Sun, 02 Jul 2006 15:28:58 +0100 Message-ID: <44A7D82A.80909@zen.co.uk> References: <20060701033524.3c478698.akpm@osdl.org> <20060701181455.GA16412@aitel.hist.no> <20060701152258.bea091a6.akpm@osdl.org> <44A7560B.3050000@reub.net> <1151848394.3558.2.camel@mulgrave.il.steeleye.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from rutherford.zen.co.uk ([212.23.3.142]:38372 "EHLO rutherford.zen.co.uk") by vger.kernel.org with ESMTP id S932323AbWGBO3G (ORCPT ); Sun, 2 Jul 2006 10:29:06 -0400 In-Reply-To: <1151848394.3558.2.camel@mulgrave.il.steeleye.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: James Bottomley Cc: Reuben Farrelly , Andrew Morton , Helge Hafting , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Neil Brown James Bottomley wrote: > On Sun, 2006-07-02 at 17:13 +1200, Reuben Farrelly wrote: >> Just for kicks, after testing those two trees (see previous email) I >> took my >> 2.6.17-mm5 without git-scsi-misc and then patched git-scsi-misc.patch >> back in, >> rebuilt and rebooted and noted that RAID broke again. Reverted the >> patch and it >> all worked. >> >> So I can conclude that definitely and reproduceably that's the >> one......... > > OK, I have a theory. I think > > [SCSI] sd/scsi_lib simplify sd_rw_intr and scsi_io_completion > > Failed to take into account completion of zero length commands (which is > what a flush is). Could you try the whole of -mm with this patch? > > Thanks, > > James > [patch snipped] With the patch applied to 2.6.17-mm5 my RAID-1 is up and running on both SATA drives with no problems. Thanks, Grant