[PATCH] nvme: Add fault injection feature
Thomas Tai
thomas.tai at oracle.com
Tue Jan 23 06:59:21 PST 2018
On 2018-01-22 07:23 PM, Keith Busch wrote:
> On Mon, Jan 22, 2018 at 07:09:21PM -0500, Thomas Tai wrote:
>>
>> Once the error injection is enabled, BLK_STS_IOERR will be
>> injected into the nvme_setup_cmd. Following example shows
>> how to inject an error.
>
> That doesn't seem like a very interesting place to inject an
> error. Woudln't nvme_end_request be more interesting?
>
Hi Keith,
Thanks for your suggestion. Will move the error injection to
nvme_end_request in next version of the patch.
Thanks,
Thomas
More information about the Linux-nvme
mailing list