examples: uring-cmd-zoned: expand the reasoning behind QD1
authorPankaj Raghav <p.raghav@samsung.com>
Fri, 7 Oct 2022 12:05:28 +0000 (14:05 +0200)
committerVincent Fu <vincent.fu@samsung.com>
Fri, 7 Oct 2022 13:50:37 +0000 (09:50 -0400)
Expand the reasoning behind using QD1 for zoned devices with io_uring_cmd
engine.

Signed-off-by: Pankaj Raghav <p.raghav@samsung.com>
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
examples/uring-cmd-zoned.fio

index 58e8f79ec5cefa433a787f68092376ce32c826b2..89be61beaecb04af44e2fd28baa259a4bb561f7b 100644 (file)
@@ -1,7 +1,11 @@
 # io_uring_cmd I/O engine for nvme-ns generic zoned character device
 #
-# NOTE: with write workload iodepth must be set to 1 as there is no IO
-# scheduler.
+# NOTE:
+# Regular writes against a zone should be limited to QD1, as the device can
+# reorder the requests.
+#
+# As the passthrough path do not use an IO scheduler (such as mq-deadline),
+# the queue depth should be limited to 1 to avoid zone invalid writes.
 
 [global]
 filename=/dev/ng0n1