mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 21:48:54 +02:00
Currently NVMe fault injection applies to every command routed through nvme_should_fail(), which makes it hard to target a specific command type when reproducing an issue in error-handling paths. Add an "opcode" debugfs attribute alongside the existing "status" and "dont_retry" knobs. It defaults to 0xffff, meaning "match any opcode" and preserving the previous behavior. When set to a valid opcode (<= 0xff), fault injection is only considered for commands whose opcode matches. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Mohamed Khalfella <mkhalfella@purestorage.com> Signed-off-by: Keith Busch <kbusch@kernel.org> |
||
|---|---|---|
| .. | ||
| fault-injection.rst | ||
| index.rst | ||
| notifier-error-inject.rst | ||
| nvme-fault-injection.rst | ||
| provoke-crashes.rst | ||