From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: [PATCH] scsi_debug: Add support for injecting SCSI_MLQUEUE_HOST_BUSY Date: Thu, 07 Dec 2017 21:12:47 -0500 Message-ID: References: <20171207225618.3116-1-bart.vanassche@wdc.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from userp2130.oracle.com ([156.151.31.86]:51018 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751958AbdLHCNH (ORCPT ); Thu, 7 Dec 2017 21:13:07 -0500 In-Reply-To: <20171207225618.3116-1-bart.vanassche@wdc.com> (Bart Van Assche's message of "Thu, 7 Dec 2017 14:56:18 -0800") Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Bart Van Assche Cc: "Martin K . Petersen" , "James E . J . Bottomley" , linux-scsi@vger.kernel.org, Douglas Gilbert , Christoph Hellwig , Hannes Reinecke , Johannes Thumshirn 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? -- Martin K. Petersen Oracle Linux Engineering