diff options
author | Bart Van Assche <bvanassche@acm.org> | 2010-08-30 19:27:36 +0000 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-10-24 22:14:14 -0700 |
commit | 7ade400aba9a675b610074d6609658661db07eeb (patch) | |
tree | 609a1370a1a8d416c789905c17607bd8d31c6242 /drivers/pnp/quirks.c | |
parent | 05a1d7504f836ee67e27f2488cb5b8126b51dbd4 (diff) | |
download | kernel_samsung_tuna-7ade400aba9a675b610074d6609658661db07eeb.zip kernel_samsung_tuna-7ade400aba9a675b610074d6609658661db07eeb.tar.gz kernel_samsung_tuna-7ade400aba9a675b610074d6609658661db07eeb.tar.bz2 |
IB/srp: Reduce number of BUSY conditions
As proposed by the SRP (draft) standard, ib_srp reserves one ring
element for SRP_TSK_MGMT requests. 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_NORMAL_REQ_SQ_SIZE by reducing the
number of BUSY responses reported by ib_srp to the SCSI mid-layer.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: David Dillow <dillowda@ornl.gov>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/pnp/quirks.c')
0 files changed, 0 insertions, 0 deletions