From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de ([195.135.220.15]:59293 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933980AbdEXGHu (ORCPT ); Wed, 24 May 2017 02:07:50 -0400 Subject: Re: [PATCH 20/31] scsi: Only add commands to the device command list if required by the LLD To: Bart Van Assche , "Martin K . Petersen" , James Bottomley Cc: linux-scsi@vger.kernel.org, linux-block@vger.kernel.org, Hannes Reinecke References: <20170524003420.5381-1-bart.vanassche@sandisk.com> <20170524003420.5381-21-bart.vanassche@sandisk.com> From: Hannes Reinecke Message-ID: Date: Wed, 24 May 2017 08:07:48 +0200 MIME-Version: 1.0 In-Reply-To: <20170524003420.5381-21-bart.vanassche@sandisk.com> Content-Type: text/plain; charset=utf-8 Sender: linux-block-owner@vger.kernel.org List-Id: linux-block@vger.kernel.org On 05/24/2017 02:34 AM, Bart Van Assche wrote: > Just like for the scsi-mq code path, in the single queue SCSI code > path only add commands to the per-device command list if required > by the SCSI LLD. This patch will make it easier to merge the > single-queue and multiqueue command initialization code. > > Signed-off-by: Bart Van Assche > Reviewed-by: Christoph Hellwig > Cc: Hannes Reinecke > --- > drivers/scsi/scsi.c | 9 +-------- > drivers/scsi/scsi_lib.c | 52 +++++++++++++++++++++++++++++------------------- > drivers/scsi/scsi_priv.h | 2 ++ > 3 files changed, 35 insertions(+), 28 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)