On Tue, 2010-08-03 at 16:08 +0200, Bart Van Assche wrote:
> The SRP (draft) standard specifies that an SRP initiator must never queue more
> than (SRP request limit) - 1 unanswered SRP_CMD information units. This patch
> makes sure that the SCSI mid-layer never tries to queue more than (SRP request
> limit) - 1 SCSI commands to ib_srp. This 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 reported by ib_srp to the SCSI mid-layer.

Actually, the standard states we can never send more than REQUEST LIMIT
requests. But we reserve 1 request for sending task management requests,
so that's why we need to tell the mid-layer to not send us more than
req_lim - 1 commands.

Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to