From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 62617B7079 for ; Thu, 30 Jul 2009 06:20:24 +1000 (EST) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by ozlabs.org (Postfix) with ESMTP id A3EEDDDD0B for ; Thu, 30 Jul 2009 06:20:23 +1000 (EST) Received: by wa-out-1112.google.com with SMTP id j37so148920waf.9 for ; Wed, 29 Jul 2009 13:20:22 -0700 (PDT) Message-ID: <4A70A78D.7070601@gmail.com> Date: Wed, 29 Jul 2009 13:48:29 -0600 From: Robert Hancock MIME-Version: 1.0 To: ashish kalra Subject: Re: [PATCH][sata_fsl] Defer non-ncq commands when ncq commands active References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: linux-ide@vger.kernel.org, linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 07/29/2009 10:03 AM, ashish kalra wrote: > From: Ashish Kalra > Date: Wed, 29 Jul 2009 21:15:49 +0530 > > Fix for non-ncq & ncq commands causing timeouts when both are issued > simultaneously to the same device. > > Signed-off-by: Ashish Kalra > --- > drivers/ata/sata_fsl.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/drivers/ata/sata_fsl.c b/drivers/ata/sata_fsl.c > index 5a88b44..a33f130 100644 > --- a/drivers/ata/sata_fsl.c > +++ b/drivers/ata/sata_fsl.c > @@ -1262,6 +1262,7 @@ static struct scsi_host_template sata_fsl_sht = { > static struct ata_port_operations sata_fsl_ops = { > .inherits = &sata_pmp_port_ops, > > + .qc_defer = ata_std_qc_defer; > .qc_prep = sata_fsl_qc_prep, > .qc_issue = sata_fsl_qc_issue, > .qc_fill_rtf = sata_fsl_qc_fill_rtf, This doesn't look like it should change anything. sata_fsl_ops inherits from sata_pmp_port_ops, which inherits from sata_port_ops, which already sets qc_defer to ata_std_qc_defer.