Skip to content

Commit

Permalink
examples: uring-cmd-zoned: expand the reasoning behind QD1
Browse files Browse the repository at this point in the history
Expand the reasoning behind using QD1 for zoned devices with io_uring_cmd
engine.

Signed-off-by: Pankaj Raghav <[email protected]>
Signed-off-by: Vincent Fu <[email protected]>
  • Loading branch information
Panky-codes authored and vincentkfu committed Oct 7, 2022
1 parent 7aeb498 commit b19c5ee
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions examples/uring-cmd-zoned.fio
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b19c5ee

Please sign in to comment.