cciss: add cciss_tape_cmds module paramter
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Tue, 3 May 2011 19:54:12 +0000 (14:54 -0500)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 6 May 2011 14:23:59 +0000 (08:23 -0600)
commit8a4ec67bd5648beb09d7db988a75835b740e950d
tree745a87ec016b79f3cf425f581c38090a4ff8f270
parent063d2cf72ab6101d2dd69bd6fb503b229be70325
cciss: add cciss_tape_cmds module paramter

This is to allow number of commands reserved for use by SCSI tape drives
and medium changers to be adjusted at driver load time via the kernel
parameter cciss_tape_cmds, with a default value of 6, and a range
of 2 - 16 inclusive.  Previously, the driver limited the number of
commands which could be queued to the SCSI half of the the driver
to only 2.  This is to fix the problem that if you had more than
two tape drives, you couldn't, for example, erase or rewind them all
at the same time.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Documentation/blockdev/cciss.txt
drivers/block/cciss.c
drivers/block/cciss_scsi.c
drivers/block/cciss_scsi.h