scsi_debug: simple short transfer injection
authorChristoph Hellwig <hch@lst.de>
Thu, 1 May 2014 14:51:51 +0000 (16:51 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 19 May 2014 17:57:31 +0000 (19:57 +0200)
commitb57d7c015dd0a77589030e18fca887b624ae9013
tree8786bd19759fda50addef6689c52f5d5be0c196a
parentb54197c43db88f4436717f554d623189cddce29e
scsi_debug: simple short transfer injection

Add an option to only transfer half the data for every n-th command.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/scsi_debug.c