From: Stephen M. Cameron Date: Thu, 22 Mar 2012 20:40:08 +0000 (+0100) Subject: cciss: Initialize scsi host max_sectors for tape drive support X-Git-Tag: v3.2.16~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc17d5715a85ce9f0dced784025c5a953fb1155c;p=pandora-kernel.git cciss: Initialize scsi host max_sectors for tape drive support commit 395d287526bb60411ff37b19ad9dd38b58ba8732 upstream. 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 Signed-off-by: Jens Axboe Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed