Re: [PATCH] libata: increase 128 KB / cmd limit for ATAPI tape drives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 30 Oct 2007 11:44:35 -0400
Tony Battersby <tonyb@xxxxxxxxxxxxxxx> wrote:

> Commands sent to ATAPI tape drives via the SCSI generic (sg) driver are
> limited in the amount of data that they can transfer by the max_sectors
> value.  The max_sectors value is currently calculated according to the
> command set for disk drives, which doesn't apply to tape drives.  The
> default max_sectors value of 256 limits ATAPI tape drive commands to
> 128 KB.  This patch against 2.6.24-rc1 increases the max_sectors value
> for tape drives to 65535, which permits tape drive commands to transfer
> just under 32 MB.

Seems reasonable to me and is valid for all ATAPI devices as far as I can
see since we use READ_10/WRITE_10 commands.

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux