[PATCH 2/3] tree: add queue-depth attribute for nvme path object
Daniel Wagner
dwagner at suse.de
Mon Apr 7 00:40:05 PDT 2025
Hi Nilay,
On Sat, Apr 05, 2025 at 06:32:48PM +0530, Nilay Shroff wrote:
> Add a new attribute named "queue_depth" under the NVMe path object. This
> attribute is used by the iopolicy "queue-depth", which was introduced in
> kernel v6.11. However, the corresponding sysfs attribute for queue depth
> was only added in kernel v6.14.
>
> The queue_depth value can be useful for observing which paths are selected
> for I/O forwarding, based on the depth of each path. To support this,
> export the attribute in libnvme.map so it can be accessed via
> nvme-cli.
I understand the idea here is to get live update of the queue depth?
This here will only read it once and report always the same value. This
will work for nvme-cli but users which run the library for longer.
Thanks,
Daniel
More information about the Linux-nvme
mailing list