On 2017-12-07 09:12 PM, Martin K. Petersen wrote:
Bart,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.This looks good to me. Doug?
Acked-by: Douglas Gilbert <dgilbert@xxxxxxxxxxxx>