Searched refs:fault_inject (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/nvme/host/ |
D | fault_inject.c | 51 void nvme_fault_inject_fini(struct nvme_fault_inject *fault_inject) in nvme_fault_inject_fini() argument 54 debugfs_remove_recursive(fault_inject->parent); in nvme_fault_inject_fini() 60 struct nvme_fault_inject *fault_inject = NULL; in nvme_should_fail() local 67 fault_inject = &ns->fault_inject; in nvme_should_fail() 71 fault_inject = &nvme_req(req)->ctrl->fault_inject; in nvme_should_fail() 74 if (fault_inject && should_fail(&fault_inject->attr, 1)) { in nvme_should_fail() 76 status = fault_inject->status; in nvme_should_fail() 77 if (fault_inject->dont_retry) in nvme_should_fail()
|
D | Makefile | 18 nvme-core-$(CONFIG_FAULT_INJECTION_DEBUG_FS) += fault_inject.o
|
D | nvme.h | 389 struct nvme_fault_inject fault_inject; member 520 struct nvme_fault_inject fault_inject; member 624 void nvme_fault_inject_fini(struct nvme_fault_inject *fault_inject);
|
D | core.c | 3674 nvme_fault_inject_init(&ns->fault_inject, ns->disk->disk_name); in nvme_alloc_ns() 3705 nvme_fault_inject_fini(&ns->fault_inject); in nvme_ns_remove() 4405 nvme_fault_inject_fini(&ctrl->fault_inject); in nvme_uninit_ctrl() 4530 nvme_fault_inject_init(&ctrl->fault_inject, dev_name(ctrl->device)); in nvme_init_ctrl() 4538 nvme_fault_inject_fini(&ctrl->fault_inject); in nvme_init_ctrl()
|
/linux-6.6.21/Documentation/fault-injection/ |
D | nvme-fault-injection.rst | 22 echo 1 > /sys/kernel/debug/nvme0n1/fault_inject/times 23 echo 100 > /sys/kernel/debug/nvme0n1/fault_inject/probability 33 name fault_inject, interval 1, probability 100, space 0, times 1 77 echo 1 > /sys/kernel/debug/nvme0n1/fault_inject/times 78 echo 100 > /sys/kernel/debug/nvme0n1/fault_inject/probability 79 echo 1 > /sys/kernel/debug/nvme0n1/fault_inject/status 80 echo 0 > /sys/kernel/debug/nvme0n1/fault_inject/dont_retry 91 name fault_inject, interval 1, probability 100, space 0, times 1 127 echo 100 > /sys/kernel/debug/nvme0/fault_inject/probability 128 echo 10 > /sys/kernel/debug/nvme0/fault_inject/space [all …]
|
D | fault-injection.rst | 51 debugfs entries under /sys/kernel/debug/nvme*/fault_inject. The default
|