scsi_debug: Increase the reported optimal transfer length
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 16 Dec 2015 22:53:51 +0000 (17:53 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 22 Dec 2015 03:14:47 +0000 (22:14 -0500)
commit32c5844abb302e3fb1637ba6afe3d8132c64e57f
treea5b124a7e0bde243e0c2a75ddb1f4490e95a16f4
parentb034573c7eb39aa58cd4a08e487869fea6d4ad2d
scsi_debug: Increase the reported optimal transfer length

The OPTIMAL TRANSFER LENGTH reported by scsi_debug is 64 blocks which
translates to 32KB with the default logical block size. That's much
lower than what real storage devices typically report (256KB to 1MB).

Bump the optimal transfer length to 1024 blocks.

Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Ewan Milne <emilne@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_debug.c