aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAkinobu Mita <[email protected]>2019-06-09 23:17:01 +0900
committerChristoph Hellwig <[email protected]>2019-06-21 11:15:50 +0200
commitf79d5fda4ea08c33a114087573d86f703149ee0e (patch)
tree486ed1a351edbbc6e771560b9ca11544fa65b8cc /tools/perf/scripts/python
parenta3646451edd52ba238cbe4f618aaf6eb9bf9d60c (diff)
nvme: enable to inject errors into admin commands
This enables to inject errors into the commands submitted to the admin queue. It is useful to test error handling in the controller initialization. # echo 100 > /sys/kernel/debug/nvme0/fault_inject/probability # echo 1 > /sys/kernel/debug/nvme0/fault_inject/times # echo 10 > /sys/kernel/debug/nvme0/fault_inject/space # nvme reset /dev/nvme0 # dmesg ... nvme nvme0: Could not set queue count (16385) nvme nvme0: IO queues not created Signed-off-by: Akinobu Mita <[email protected]> Reviewed-by: Minwoo Im <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions