Re: [PATCH 3/7] scsi: don't allow setting of queue_depth bigger than can_queue

2014-11-19 Thread Hannes Reinecke
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_

[PATCH 3/7] scsi: don't allow setting of queue_depth bigger than can_queue

2014-11-13 Thread Christoph Hellwig
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