<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/nvd, branch releng/12.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2019-08-27T04:01:09Z</updated>
<entry>
<title>MFC r351004, r351006: Make nvd(4) report NGUID or EUI64 as GEOM::lunid.</title>
<updated>2019-08-27T04:01:09Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2019-08-27T04:01:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=90fda462d4849aeb19e3ae82082adaca7f26feb0'/>
<id>urn:sha1:90fda462d4849aeb19e3ae82082adaca7f26feb0</id>
<content type='text'>
With support for multiple namespaces and multiple ports in NVMe there is
now a need for reliable unique namespace identification alike to SCSI.

Sponsored by:	iXsystems, Inc.
</content>
</entry>
<entry>
<title>MFC r350961: Missed part of r350523.</title>
<updated>2019-08-13T19:17:44Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2019-08-13T19:17:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7dae83c6425ed24fa5ef38857ce3a1ec801c535d'/>
<id>urn:sha1:7dae83c6425ed24fa5ef38857ce3a1ec801c535d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC r343562, r343563: Reimplement BIO_ORDERED handling in nvd(4).</title>
<updated>2019-02-12T00:53:14Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2019-02-12T00:53:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=798c2b4b44872fe82a887b9b7b502dab16ad5cfc'/>
<id>urn:sha1:798c2b4b44872fe82a887b9b7b502dab16ad5cfc</id>
<content type='text'>
This fixes BIO_ORDERED semantics while also improving performance by:
 - sleeping also before BIO_ORDERED bio, as defined, not only after;
 - not queueing BIO_ORDERED bio to taskqueue if no other bios running;
 - waking up sleeping taskqueue explicitly rather then rely on polling.

On Samsung SSD 970 PRO this shows sync write latency, measured with
`diskinfo -wS`, reduction from ~2ms to ~1.1ms by not sleeping without
reason till next HZ tick.

On the same device ZFS pool with 8 ZVOLs synchronously writing 4KB blocks
shows ~950 IOPS instead of ~750 IOPS before.  I suspect ZFS does not need
BIO_ORDERED on BIO_FLUSH at all, but that will be next question.
</content>
</entry>
<entry>
<title>MFC r342557, r342559: Reimplement nvd(4) detach handling.</title>
<updated>2019-01-25T19:56:06Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2019-01-25T19:56:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=05729e22d0a8fc27428fb5029993142704b3d6e3'/>
<id>urn:sha1:05729e22d0a8fc27428fb5029993142704b3d6e3</id>
<content type='text'>
Previous code typically crashed in case of NVMe device unplug or even clean
detach while some I/Os are still in flight.  To fix this the new code calls
disk_gone() and waits for confirmation of all references gone before calling
disk_destroy(), freeing other resources and allowing controller detach.

While there, fix disk lists locking and reimplement unit numbers assignment.
</content>
</entry>
<entry>
<title>sys/dev: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T14:52:40Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T14:52:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=718cf2ccb9956613756ab15d7a0e28f2c8e91cab'/>
<id>urn:sha1:718cf2ccb9956613756ab15d7a0e28f2c8e91cab</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
</content>
</entry>
<entry>
<title>Make nvd vs nda choice boot-time rather than build-time</title>
<updated>2017-08-04T03:40:01Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2017-08-04T03:40:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8a5d94f94dc26ec417c6aa149c34cc5794ab7362'/>
<id>urn:sha1:8a5d94f94dc26ec417c6aa149c34cc5794ab7362</id>
<content type='text'>
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.

Differential Revision: https://reviews.freebsd.org/D11825
</content>
</entry>
<entry>
<title>Report random flash storage as non-rotating to GEOM_DISK.</title>
<updated>2017-01-12T08:53:10Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2017-01-12T08:53:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=17160457b41ff26b4384d8f82ed176a2844eb272'/>
<id>urn:sha1:17160457b41ff26b4384d8f82ed176a2844eb272</id>
<content type='text'>
While doing it, introduce respective constants in geom_disk.h.

MFC after:	1 week
</content>
</entry>
<entry>
<title>Remove unused variable from last commit.</title>
<updated>2016-07-19T19:19:03Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2016-07-19T19:19:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3c7910115096f6ca3a03ddbbe8ccdc73389c7524'/>
<id>urn:sha1:3c7910115096f6ca3a03ddbbe8ccdc73389c7524</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Supporting flushing the dump before returning, and simplify/combine the</title>
<updated>2016-07-19T19:09:23Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2016-07-19T19:09:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=49e20d2420925a967e78702fe743655badce9e3e'/>
<id>urn:sha1:49e20d2420925a967e78702fe743655badce9e3e</id>
<content type='text'>
logic.  Switch to a 5us delay since most NVME devices can easily do 200,000
iops.

Submitted by:	imp
MFC after:	3 days
Sponsored by:	Netflix, Inc.
</content>
</entry>
<entry>
<title>Implement crashdump support on NVME</title>
<updated>2016-07-19T03:13:51Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2016-07-19T03:13:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a498975ef70e00fa25af3cc0a6ad5560f9bcff85'/>
<id>urn:sha1:a498975ef70e00fa25af3cc0a6ad5560f9bcff85</id>
<content type='text'>
MFC after:	3 days
Sponsored by:	Netflix, Inc.
</content>
</entry>
</feed>
