From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hannes Reinecke Subject: Re: [PATCH 5/6] scsi: remove a useless get/put_device pair in scsi_next_command Date: Wed, 12 Feb 2014 12:39:42 +0100 Message-ID: <52FB5D7E.6020406@suse.de> References: <20140206184306.997538898@bombadil.infradead.org> <20140206184418.063744285@bombadil.infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from cantor2.suse.de ([195.135.220.15]:38596 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751562AbaBLLjn (ORCPT ); Wed, 12 Feb 2014 06:39:43 -0500 In-Reply-To: <20140206184418.063744285@bombadil.infradead.org> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Christoph Hellwig , James Bottomley Cc: linux-scsi@vger.kernel.org, Bart Van Assche On 02/06/2014 07:43 PM, Christoph Hellwig wrote: > From: Bart Van Assche >=20 > Eliminate a get_device() / put_device() pair from scsi_next_command()= =2E > Both are atomic operations hence removing these slightly improves > performance. >=20 > [hch: slight changes due to different context] >=20 > Signed-off-by: Bart Van Assche > Signed-off-by: Christoph Hellwig Dependent on Patch 3/6, but as I just wanted some clarification there: Acked-by: Hannes Reinecke Cheers, Hannes --=20 Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg GF: J. Hawn, J. Guild, F. Imend=F6rffer, HRB 16746 (AG N=FCrnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html