Re: [PATCH] fix 2.5 scsi queue depth setting

J.E.J. Bottomley
2002-11-06T18:32:46Z

patmans@us.ibm.com said:
> The only problem is that scsi_build_commandblocks() sets sdev->
> new_queue_depth to 1, so if the slave_attach() does not set queue
> depth, we will leave it at 1, and the post-slave_attach call to
> scsi_adjust_queue_depth can never be hit.

OK, missed that. What about just conditioning the call to
scsi_adjust_queue_depth to be if you don't have a slave attach call. The
expectation would be that if you do have a slave_attach then the queue depth
stays one until something is done about it by the LLD?

James