Page MenuHomeFreeBSD

Switch nda(4) to be the default NVMe direct access driver
AbandonedPublic

Authored by kbowling on Aug 8 2018, 2:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 19 2024, 6:51 AM
Unknown Object (File)
Jan 18 2024, 2:15 AM
Unknown Object (File)
Dec 20 2023, 7:09 AM
Unknown Object (File)
Nov 27 2023, 4:35 PM
Unknown Object (File)
Sep 15 2023, 9:50 PM
Unknown Object (File)
Aug 20 2023, 6:24 AM
Unknown Object (File)
Aug 13 2023, 11:55 PM
Unknown Object (File)
Jul 13 2023, 8:13 AM
Subscribers

Details

Reviewers
imp
Group Reviewers
PowerPC
Summary

Switch to the cam(4) based nda(4) direct access driver in time for FreeBSD 12.0. This driver has been used extensively at Netflix and LLNW. I've also tested it on ppc64.

Test Plan

Apply the patch on a system using nvd(4), on x86 it should reboot with the new nda(4) nodes functional and nvd device files aliased.

On ppc64 you will need to edit the kboot.conf.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

kbowling added inline comments.
sys/cam/nvme/nvme_da.c
822

Note for @imp I'm not sure what those issues were but maybe we avoid them by making nda default like this?

kbowling added inline comments.
UPDATING
40

@jhibbits I didn't realize the nvd alias (see below, the note to Warner) was disabled. This comment might not be true if the alias is in place I will test.