Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934782Ab0KQPry (ORCPT ); Wed, 17 Nov 2010 10:47:54 -0500 Received: from bombadil.infradead.org ([18.85.46.34]:55866 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932380Ab0KQPrx (ORCPT ); Wed, 17 Nov 2010 10:47:53 -0500 Date: Wed, 17 Nov 2010 10:47:41 -0500 From: Christoph Hellwig To: James Bottomley Cc: Jeff Garzik , Linus Torvalds , linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org, LKML , Tejun Heo Subject: Re: [PATCH] libata: remove unlock+relock cycle in ata_scsi_queuecmd Message-ID: <20101117154741.GA16768@infradead.org> References: <20101117062958.GA2894@havoc.gtf.org> <4CE38D70.4010507@garzik.org> <1290007719.4736.9.camel@mulgrave.site> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1290007719.4736.9.camel@mulgrave.site> User-Agent: Mutt/1.5.21 (2010-09-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1130 Lines: 21 > Right ... I couldn't persuade anyone else to do it, so I'll probably end > up coding it. It looks like the serial number zero check might be > bogus. If so I'll remove it, then push the serial number acquisition > down only into the locked queuecommand of only those drivers that > actually use it (which were listed in the quoted email, and which might > have a big impetus to remove it if the use is trivial). Then we can > begin unwinding the locking. In dc395x, eata_pio, in2000, lpfc, megaraid_legacy, megaraid_mbox, megaraid_sas, mesh, ncr53c8xx, qla1280, qla4xxx, wd33c93 and i2o_scsi use it in printks only, and all this can be safely removed. Except for EH that only leaves dpt_i2o, eata, mpt2sas, u14-34f, mptscsi as non-trivial users. If you sort out the EH side I'll volunteer to kill the printks and add private serial numbers to the five drivers mentioned above. -- 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/