From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hannes Reinecke Subject: Re: [PATCH 3/7] scsi: don't allow setting of queue_depth bigger than can_queue Date: Thu, 20 Nov 2014 08:35:42 +0100 Message-ID: <546D99CE.1000806@suse.de> References: <1415901546-8006-1-git-send-email-hch@lst.de> <1415901546-8006-4-git-send-email-hch@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from cantor2.suse.de ([195.135.220.15]:47228 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750780AbaKTHfn (ORCPT ); Thu, 20 Nov 2014 02:35:43 -0500 In-Reply-To: <1415901546-8006-4-git-send-email-hch@lst.de> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Christoph Hellwig , linux-scsi@vger.kernel.org Cc: James Smart , Mike Christie , James Bottomley On 11/13/2014 06:59 PM, Christoph Hellwig wrote: > We won't ever queue more commands than the host allows. Instead of > letting drivers either reject or ignore this case handle it in > common code. Note that various driver use internal constant or > variables that are assigned to both shost->can_queue and checked > in ->change_queue_depth - I did remove those checks as well. >=20 > Signed-off-by: Christoph Hellwig Reviewed-by: Hannes Reinecke Cheers, Hannes --=20 Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N=FCrnberg GF: J. Hawn, J. Guild, F. Imend=F6rffer, HRB 21284 (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