From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boaz Harrosh Subject: Re: [PATCH 03/11] scsi: Add IRQ_DISABLE_SCSI_QCMD wrapper Date: Thu, 18 Nov 2010 12:25:50 +0200 Message-ID: <4CE4FF2E.1010303@panasas.com> References: <1290032322-4899-1-git-send-email-nab@linux-iscsi.org> <20101117222752.GA26760@infradead.org> <1290032970.31890.61.camel@haakon2.linux-iscsi.org> <20101117223735.GA514@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from daytona.panasas.com ([67.152.220.89]:38877 "EHLO daytona.panasas.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753790Ab0KRKZy (ORCPT ); Thu, 18 Nov 2010 05:25:54 -0500 In-Reply-To: <20101117223735.GA514@infradead.org> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Christoph Hellwig Cc: "Nicholas A. Bellinger" , linux-scsi , Jeff Garzik , James Bottomley , Christoph Hellwig , Mike Christie , Ravi Anand , Andrew Vasquez , Joe Eykholt , James Smart , Vasu Dev , Tim Chen , Andi Kleen , Tejun Heo , Mike Anderson , MPTFusionLinux On 11/18/2010 12:37 AM, Christoph Hellwig wrote: > On Wed, Nov 17, 2010 at 02:29:30PM -0800, Nicholas A. Bellinger wrote: >> Hmmm, this is following jgarzik's recommendation for LLDs that we could >> not immediately identify a internal spin_lock to disable interrupts >> upon. (eg: not libiscsi and libata). > > In that case wait for the driver author to identify it. If there's > no maintainer in reach chance is the driver doesn't care about the push > down. No need to rush any of this, do it one driver at a time and get > it right. I totally agree with Christoph. Patches 5, 6, 8, 11 all change behaviour I would like to see an "I audit the driver and ..." Please see my comment to [patch 6] Do it one by one and open-code the local_irq_save/restore inside the main function. It's not like you can get away from a total audit and testing. Boaz