aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpt2sas_base.h
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2010-03-25 17:29:05 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-04-11 13:40:38 -0500
commit78d4e5a07dca7374dd9db40b3346d727b65eb794 (patch)
treef71f10c56a08063349b3b0dd03524278e490045d /drivers/scsi/mpt2sas/mpt2sas_base.h
parent3233ac19811fe17033b537832ca7b59df8bf4aa9 (diff)
[SCSI] scsi_debug: add max_queue + no_uld parameters
While testing the midlevel q_at_head and q_at_tail patch for sg and the block SG_IO ioctl I found it useful to reduce the queuing within the scsi_debug driver. The reason is that the midlevel queue only comes into play when the corresponding LLD queue is full. It is also useful when testing to be confident that your program is the only thing issuing commands to the (virtual) scsi_debug device. The no_uld=1 parameter will stop a scsi_debug virtual disk appearing as /dev/sd* . Changelog: - add max_queue parameter to reduce the number of queued commands the driver will accept. This parameter can be changed after the driver is loaded. - add no_uld parameter that restricts scsi_debug's virtual devices to the sg and bsg drivers - correct stale url Signed-off-by: Douglas Gilbert <dgilbert@interlog.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_base.h')
0 files changed, 0 insertions, 0 deletions