1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00

nvme: Switch to nda by default

We already run nda by default on all the !x86 architectures. Switch the
default to nda. nda created nvd compatibility links by default, so this
should be a nop. If this causes problems for your application, set
hw.nvme.use_nvd=1 in your loader.conf.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2023-06-12 21:37:10 -06:00
parent 0449bc249b
commit bdc81eeda0
2 changed files with 9 additions and 1 deletions

View File

@ -27,6 +27,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 14.x IS SLOW:
world, or to merely disable the most expensive debugging functionality
at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
20230612:
Belatedly switch the default nvme block device on x86 from nvd to nda.
nda created nvd compatibility links by default, so this should be a
nop. If this causes problems for your application, set hw.nvme.use_nvd=1
in your loader.conf or add `options NVME_USE_NVD=1` to your kernel
config. The default has been nda on all non-x86 platforms for some time
now. If you need to fall back, please email imp@freebsd.org about why.
20230422:
Remove portsnap(8). Users are encouraged to obtain the ports tree
using git instead.

View File

@ -38,7 +38,7 @@ __FBSDID("$FreeBSD$");
#include "nvme_private.h"
#ifndef NVME_USE_NVD
#define NVME_USE_NVD 1
#define NVME_USE_NVD 0
#endif
int nvme_use_nvd = NVME_USE_NVD;