Page MenuHomeFreeBSD

nvme: limit I/O queue trackers to Identify MAXCMD
ClosedPublic

Authored by seuros on Aug 24 2026, 6:20 PM.
Tags
None
Referenced Files
F174853005: D59154.id186192.diff
Tue, Oct 6, 1:21 PM
F174834397: D59154.diff
Tue, Oct 6, 8:40 AM
F174822917: D59154.diff
Tue, Oct 6, 5:50 AM
F174807516: D59154.diff
Tue, Oct 6, 3:07 AM
Unknown Object (File)
Mon, Oct 5, 1:10 AM
Unknown Object (File)
Sun, Oct 4, 2:41 PM
Unknown Object (File)
Sun, Oct 4, 2:38 PM
Unknown Object (File)
Sun, Oct 4, 2:37 PM
Subscribers

Details

Summary

MAXCMD is the maximum number of commands the controller processes at
one time for a particular I/O queue. Allocating more trackers than
that only queues commands inside the controller. Controllers
reporting 0 are unaffected.

Approved by: ngie (co-mentor)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp added inline comments.
sys/dev/nvme/nvme_ctrlr.c
200

This printf should be behind bootverbose, I think.

This revision is now accepted and ready to land.Aug 25 2026, 6:57 PM
sys/dev/nvme/nvme_ctrlr.c
200

I tested it with around 30 models, but not all.

I want to keep it like this for few weeks so we can identify the disks that are quirky.

After that we can remove it or guard it.

sys/dev/nvme/nvme_ctrlr.c
200

OK.

ngie added a subscriber: ngie.

Approved by: ngie (co-mentor)

seuros marked 2 inline comments as done.