t/nvmept.py: test script for io_uring_cmd NVMe pass through
authorVincent Fu <vincent.fu@samsung.com>
Fri, 26 May 2023 23:05:12 +0000 (23:05 +0000)
committerVincent Fu <vincent.fu@samsung.com>
Thu, 1 Jun 2023 18:11:33 +0000 (14:11 -0400)
commitb03ed937838505c4202d298e7daefda3b93963c7
treede43a64bb62a77fc2cabd0e9e78db324add4525c
parent4820d46cef75f806d8c95afaa77f86ded4e3603e
t/nvmept.py: test script for io_uring_cmd NVMe pass through

Test basic functionality of the io_uring_cmd ioengine with NVMe
pass-through commands.

This script starts with basic sequential and random read, write, trim,
readwrite, and trimwrite workloads. It also runs sequential and random
write workloads with verification. Finally it runs random read and write
workloads with almost all of the ioengine options enabled. The only
ioengine option not exercised is hipri because the NVMe driver must be
loaded with poll_queues set for this to work.

Since this is a destructive test the target device must be specified on
the command line.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
t/nvmept.py [new file with mode: 0755]