Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2023 09:25:31 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Warner Losh <imp@freebsd.org>, src-committers@freebsd.org,  dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: bdc81eeda05d - main - nvme: Switch to nda by default
Message-ID:  <CANCZdfr%2BUCwTb6-95vfOtbA-3Jb%2B7YrZwTt1e-BUPHTVocFmEA@mail.gmail.com>
In-Reply-To: <98badf08-4519-34a9-b5cd-5341d343ed99@FreeBSD.org>
References:  <202306130343.35D3hLMO066560@gitrepo.freebsd.org> <98badf08-4519-34a9-b5cd-5341d343ed99@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000be224705fe04726b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 13, 2023 at 9:03=E2=80=AFAM John Baldwin <jhb@freebsd.org> wrot=
e:

> On 6/12/23 8:43 PM, Warner Losh wrote:
> > The branch main has been updated by imp:
> >
> > URL:
> https://cgit.FreeBSD.org/src/commit/?id=3Dbdc81eeda05d3af80254f6aac95759b=
07f13f2b7
> >
> > commit bdc81eeda05d3af80254f6aac95759b07f13f2b7
> > Author:     Warner Losh <imp@FreeBSD.org>
> > AuthorDate: 2023-06-13 03:37:10 +0000
> > Commit:     Warner Losh <imp@FreeBSD.org>
> > CommitDate: 2023-06-13 03:41:06 +0000
> >
> >      nvme: Switch to nda by default
> >
> >      We already run nda by default on all the !x86 architectures. Switc=
h
> 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=3D1 in your loader.conf.
> >
> >      Sponsored by:           Netflix
> > ---
> >   UPDATING                   | 8 ++++++++
> >   sys/dev/nvme/nvme_sysctl.c | 2 +-
> >   2 files changed, 9 insertions(+), 1 deletion(-)
>
> Maybe a note in RELNOTES as well?
>

Indeed. 6a8d4071c47a has my writeup of the salient details.
And bd76e4c860b1 adds
details about how to disable nda's nvd aliases in case people need it.

Warner

--000000000000be224705fe04726b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Tue, Jun 13, 2023 at 9:03=E2=80=AF=
AM John Baldwin &lt;<a href=3D"mailto:jhb@freebsd.org">jhb@freebsd.org</a>&=
gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 6/=
12/23 8:43 PM, Warner Losh wrote:<br>
&gt; The branch main has been updated by imp:<br>
&gt; <br>
&gt; URL: <a href=3D"https://cgit.FreeBSD.org/src/commit/?id=3Dbdc81eeda05d=
3af80254f6aac95759b07f13f2b7" rel=3D"noreferrer" target=3D"_blank">https://=
cgit.FreeBSD.org/src/commit/?id=3Dbdc81eeda05d3af80254f6aac95759b07f13f2b7<=
/a><br>
&gt; <br>
&gt; commit bdc81eeda05d3af80254f6aac95759b07f13f2b7<br>
&gt; Author:=C2=A0 =C2=A0 =C2=A0Warner Losh &lt;imp@FreeBSD.org&gt;<br>
&gt; AuthorDate: 2023-06-13 03:37:10 +0000<br>
&gt; Commit:=C2=A0 =C2=A0 =C2=A0Warner Losh &lt;imp@FreeBSD.org&gt;<br>
&gt; CommitDate: 2023-06-13 03:41:06 +0000<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 nvme: Switch to nda by default<br>
&gt;=C2=A0 =C2=A0 =C2=A0 <br>
&gt;=C2=A0 =C2=A0 =C2=A0 We already run nda by default on all the !x86 arch=
itectures. Switch the<br>
&gt;=C2=A0 =C2=A0 =C2=A0 default to nda. nda created nvd compatibility link=
s by default, so this<br>
&gt;=C2=A0 =C2=A0 =C2=A0 should be a nop. If this causes problems for your =
application, set<br>
&gt;=C2=A0 =C2=A0 =C2=A0 hw.nvme.use_nvd=3D1 in your loader.conf.<br>
&gt;=C2=A0 =C2=A0 =C2=A0 <br>
&gt;=C2=A0 =C2=A0 =C2=A0 Sponsored by:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0Netflix<br>
&gt; ---<br>
&gt;=C2=A0 =C2=A0UPDATING=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0| 8 ++++++++<br>
&gt;=C2=A0 =C2=A0sys/dev/nvme/nvme_sysctl.c | 2 +-<br>
&gt;=C2=A0 =C2=A02 files changed, 9 insertions(+), 1 deletion(-)<br>
<br>
Maybe a note in RELNOTES as well?<br></blockquote><div><br></div><div>Indee=
d.=C2=A06a8d4071c47a has my writeup of the salient details. And=C2=A0bd76e4=
c860b1 adds</div><div>details about how to disable nda&#39;s nvd aliases in=
 case people need it.</div><div><br></div><div>Warner=C2=A0</div></div></di=
v>

--000000000000be224705fe04726b--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfr%2BUCwTb6-95vfOtbA-3Jb%2B7YrZwTt1e-BUPHTVocFmEA>