HomeFreeBSD

nvme: Don't create sysctl for io queues not created

Description

nvme: Don't create sysctl for io queues not created

When we can't set the number of I/O queues ont he admin queue, we
continue on. However, we don't create the I/O queue structures, so
having pointers (NULL) into them for sysctls makes no sense and leads to
a panic when accessed. When summing up different stats, also skip the
ioq stats when it's NULL.

Sponsored by: Netflix

Details

Provenance
impAuthored on Oct 8 2024, 3:08 AM
Parents
rG3ebb738a9313: bsd-family-tree: FreeBSD 13.4 and OpenBSD 7.6 added
Branches
Unknown
Tags
Unknown