Skip to content

Add NVMe-oF target (nvmet, nvmet-tcp) and configfs to the machine kernel; allow NVMe device majors #2799

Open

Description

@graveland

The 7.2.x machine kernel ships the NVMe host modules (nvme, nvme-core, nvme-fabrics, nvme-tcp) but not the NVMe-oF target or configfs:

  • nvmet, nvmet-tcp are absent from /lib/modules
  • configfs isn't built in: it's not in /proc/filesystems, and /sys/kernel/config doesn't exist

Could these be added? Without them, NVMe-oF targets (e.g. nvmet over TCP) can't be set up in a machine, and only the initiator is usable.

The NVMe device nodes would also hit the device allowlist from #2524 / #2635 / #2798. Block major 259 (BLOCK_EXT_MAJOR, used by /dev/nvmeXnY) and dynamic char majors currently return EPERM on  open() :

This is the same allowlist gap as the ublk report #2798. Fixing 259 and dynamic majors by name would cover ublk and NVMe together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions