diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-12-08 01:56:18 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-12-08 05:50:51 +0300 |
commit | 7ee6d1b4357ac2bad12cb65a4b972d6da235c83a (patch) | |
tree | 43b87a6253ce7643e50111a7914ee2d25497edb7 /drivers/scsi/bfa/bfa_svc.c | |
parent | 0b7509c76d010128b9ad133a742fb32c71e426d4 (diff) | |
download | linux-7ee6d1b4357ac2bad12cb65a4b972d6da235c83a.tar.xz |
scsi: scsi_debug: Add support for injecting SCSI_MLQUEUE_HOST_BUSY
Although it is important to be able to trigger the code in the SCSI core
for SCSI_MLQUEUE_HOST_BUSY handling, currently it is nontrivial to
trigger that code. Hence this patch that adds a new error injection
option to the scsi_debug driver for making the .queue_rq()
implementation of this driver return SCSI_MLQUEUE_HOST_BUSY.
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Douglas Gilbert <dgilbert@interlog.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/bfa/bfa_svc.c')
0 files changed, 0 insertions, 0 deletions