public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH blktests V2 0/1] nvme: add nvme pci timeout testcase
@ 2024-01-17  4:22 Chaitanya Kulkarni
  2024-01-17  4:22 ` [PATCH blktests V2 1/1] " Chaitanya Kulkarni
  0 siblings, 1 reply; 4+ messages in thread
From: Chaitanya Kulkarni @ 2024-01-17  4:22 UTC (permalink / raw)
  To: linux-nvme, linux-block; +Cc: shinichiro.kawasaki, Chaitanya Kulkarni

Hi,

Add a test to trigger nvme pci timeout handler function

Below is the test log.
	
-ck

Change log :-

1. Use test_device() and TEST_DEV.
2. Make tesctcase pci only just like in nvme/032.
3. Remove . from copyright and test description.
4. Add _have_kernel_option FAIL_IO_TIMEOUT.
5. Save and restore fault injection settings.
6. Use "$(nproc)" to get rid of shellcheck annotation.
7. Don't remove the device keep it as it is, add module remove testcase later.

Chaitanya Kulkarni (1):
  nvme: add nvme pci timeout testcase

 tests/nvme/050     | 74 ++++++++++++++++++++++++++++++++++++++++++++++
 tests/nvme/050.out |  2 ++
 2 files changed, 76 insertions(+)
 create mode 100755 tests/nvme/050
 create mode 100644 tests/nvme/050.out


blktests (master) # modprobe  -r nvme
blktests (master) # modprobe nvme
blktests (master) # TEST_DEVS=/dev/nvme0n1 nvme_trtype=pci ./check nvme/050
nvme/050 => nvme0n1 (test nvme-pci timeout with fio jobs)    [passed]
    runtime  90.854s  ...  91.087s
blktests (master) #

-- 
2.40.0



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-22  4:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-17  4:22 [PATCH blktests V2 0/1] nvme: add nvme pci timeout testcase Chaitanya Kulkarni
2024-01-17  4:22 ` [PATCH blktests V2 1/1] " Chaitanya Kulkarni
2024-01-19 11:11   ` Shinichiro Kawasaki
2024-01-22  4:06     ` Chaitanya Kulkarni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox