Page MenuHomeFreeBSD

Make nvd vs nda choice boot-time rather than build-time
ClosedPublic

Authored by imp on Aug 2 2017, 6:48 PM.
Tags
None
Referenced Files
F166423675: D11825.id31551.diff
Thu, Aug 13, 12:39 PM
F166306063: D11825.diff
Wed, Aug 12, 7:19 PM
Unknown Object (File)
Wed, Aug 12, 2:25 PM
Unknown Object (File)
Wed, Aug 12, 4:19 AM
Unknown Object (File)
Mon, Aug 10, 1:08 AM
Unknown Object (File)
Fri, Aug 7, 5:05 AM
Unknown Object (File)
Thu, Jul 23, 11:38 PM
Unknown Object (File)
Wed, Jul 22, 9:25 AM
Subscribers
None

Details

Summary

Introduce hw.nvme.use_nvd tunable. This tunable allows both nvd and
nda to be installed in the kernel, while allowing only one of them to
create devices. This is an all-or-nothing setting, and you can't
change it after boot-time. However, it will allow easier A/B testing.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Code all looks good. Just a couple of typos.

sys/dev/nvme/nvme_sysctl.c
38 โ†—(On Diff #31485)

NVMe is the typical abbreviation (lower case e).

40 โ†—(On Diff #31485)

deviecs => devices

This revision now requires changes to proceed.Aug 4 2017, 3:25 AM
This revision was automatically updated to reflect the committed changes.