diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2012-03-22 21:40:08 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-03-22 21:40:08 +0100 |
commit | 395d287526bb60411ff37b19ad9dd38b58ba8732 (patch) | |
tree | b6fa22aa9b933e728725f8f7684f8f3d34c5376f /arch | |
parent | xen-blkfront: make blkif_io_lock spinlock per-device (diff) | |
download | linux-395d287526bb60411ff37b19ad9dd38b58ba8732.tar.xz linux-395d287526bb60411ff37b19ad9dd38b58ba8732.zip |
cciss: Initialize scsi host max_sectors for tape drive support
The default is too small (1024 blocks), use h->cciss_max_sectors (8192 blocks)
Without this change, if you try to set the block size of a tape drive above
512*1024, via "mt -f /dev/st0 setblk nnn" where nnn is greater than 524288,
it won't work right.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Cc: stable@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions