Re: [PATCH 3/4] IB/srp: adjust can_queue

2010-08-02 Thread David Dillow
On Mon, 2010-08-02 at 17:32 +0200, Bart Van Assche wrote: > Makes sure that the SCSI mid-layer never tries to queue more than > (SRP request limit) - 1 SCSI commands. Improves performance for targets whose > request limit is less than or equal to SRP_SQ_REQ_SIZE (63) by reducing the > number of BUS

[PATCH 3/4] IB/srp: adjust can_queue

2010-08-02 Thread Bart Van Assche
Makes sure that the SCSI mid-layer never tries to queue more than (SRP request limit) - 1 SCSI commands. Improves performance for targets whose request limit is less than or equal to SRP_SQ_REQ_SIZE (63) by reducing the number of BUSY responses. Signed-off-by: Bart Van Assche Cc: Roland Dreier C