]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5f512a3c80f048ee3fb07f6407a5ac216aecc6fe
tree745a87ec016b79f3cf425f581c38090a4ff8f270
parent67d0557b4d7d86b7ea33603295b3a6d3088b637f
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