diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2006-10-01 14:00:47 +0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-10-03 18:16:48 +0400 |
commit | 8f6fd19f1f7ab1dab225845464c96cba36a18533 (patch) | |
tree | 5619fe5cd72a49cc5d3a9edd0f7c82b1bc0733d6 /arch | |
parent | f70cfa9bef432d7aeb4e35c093ac27fd6f071d7e (diff) | |
download | linux-8f6fd19f1f7ab1dab225845464c96cba36a18533.tar.xz |
[SCSI] enable clustering for tmscsim
following an email from John Adams <johna@onevista.com> to me with a patch
to enable tmscsim to use blocks up to 1MB and a discussion on linux-scsi,
below is a patch to enable clustering for tmscsim. I made it switchable
with a module parameter, with default "enable" - in case somebody gets
problems with it. Unfortunately, I was not able to check if this alone
lets you use any bigger blocks with a tape, as my tape seems to only
support 1 block size - only "mt setblk 1" is successful, any other value
fails. OTOH, testing on a P-133 showed that enabling clustering alone
improves throughput by 10% and reduces CPU load by another 10%, so, seems
a worthy thing to do. As for setting max_sectors, that might become a
separate patch...
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions