On 1/24/24 1:04 AM, Christoph Hellwig wrote:
On Tue, Jan 23, 2024 at 09:25:51AM -0800, alan.adamson@xxxxxxxxxx wrote:
I get it, but there is already an injection framework in place for nvme. Is
there no plan to improve it?
Injecting fake I/O error really isn't the driver job. For block
I/O we could do it the block layer or DM, but that's not something
to add to random drivers. Error injection makes sense for testing
the driver itself, not applications.
Thanks, I'll look at the block layer for this. Do you think adding
error injection to qemu-nvme makes sense?
Alan