9d9fd8b7 mav Feb. 27, 2021, 3:40 p.m.
- Move ctl_get_cmd_entry() calls from every OOA traversal to when
  the requests first inserted, storing seridx in struct ctl_scsiio.
- Move some checks out of the loop in ctl_check_ooa().
- Replace checks for errors that can not happen with asserts.
- Transpose ctl_serialize_table, so that any OOA traversal accessed
  only one row (cache line).  Compact it from enum to uint8_t.
- Optimize static branch predictions in hottest places.

Due to O(n) nature on deep LUN queues this can be the hottest code
path in CTL, and additional 20% of IOPS I see in some 4KB I/O tests
are good to have in reserve.  About 50% of CPU time here according
to the profiles is now spent in two memory accesses per traversed
request in OOA.

Sponsored by:	iXsystems, Inc.
MFC after:	2 weeks
becaac39 tsoome Feb. 27, 2021, 9:26 a.m.
Calculate font size from 16 density independent pixels (dp) by using:
size = 16 * ppi/160 * display_factor

We are specifying font size 16dp, and assuming 1dp = 160ppi.
Also apply scaling factor 2 (display_factor).

MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D28849
c01da939 imp Feb. 27, 2021, 8:23 a.m.
Acquire Giant in cardbus_detach_card. This used to be done above us, but no

Tested by: kargl@
MFC After: 3 days
c170aa9f mm Feb. 26, 2021, 11:05 p.m.
After the merge of OpenZFS master-9312e0fd1 it has become possible to
import ZFS pools witn an active org.illumos:edonr feature on FreeBSD,
leading to a panic.

In addition, "zpool status" reported all pools without edonr as upgradable
and "zpool upgrade -v" lists edonr in the list of upgradable features.

This is an accepted but not yet included bugfix by upstream.

Obtained from:		https://github.com/openzfs/zfs/pull/11653
Differential Revision:	https://reviews.freebsd.org/D28935
Reported by:		garga (on freebsd-current@)
Reviewed by:		freqlabs
X-MFC-with:		ba27dd8be821792e15bdabfac69fd6cab0cf9dd3
9e83a6a5 rscheff Feb. 26, 2021, 9:31 p.m.
Reviewed By:	#transport, kbowling
MFC after:	3 days
Sponsored by:	NetApp, Inc.
Differential Revision:	https://reviews.freebsd.org/D28941
bc3bba70 debdrup Feb. 26, 2021, 7:07 p.m.
The manual page lists a bunch of examples, some of which already exist
in this file. Since it's both easier to remember when all examples are
listed in the same location, move examples so they get installed into

This also means users won't have to copy-paste, but can simply
uncomment one or more services to use them.

As such, it also becomes necessary to remove the examples from the
manual page, so instead add a note explaining where the previous
examples as well as others may be found.
Cross-references, including to ports, have also been added where

The rsync example has lived in the bug tracker for too long,
considering how useful it can situationally be, for example when
backup jobs on client devices are run through periodic(8) weekly.

The microsoft-ds entry is necessary for Windows 10 compatibility
(this can be confirmed with packet capturing, as it is not readily
documented at time of writing).

While here, remove two examples for which compatible daemons could not
be found in ports.

Submitted by:	David Yeske <dyeske at gmail.com> (in part, prev ver)
PR:		122037
Reviewed by:	kevans, brueffer, lwhsu, yuripv
Differential Revision:	https://reviews.freebsd.org/D28882
34d69611 imp Feb. 26, 2021, 6:45 p.m.
Add 04/25 Depopulation restoration in progress, 31/04 Depopulation failed, and
31/05 Depopulation restoration failed.

These are defined in SPC-6r2 (though 31/4 was added in an earlier draft). They
relate to different aspects of in-progress or failed depopulation removal and
restoration commands.
888ae572 bapt Feb. 26, 2021, 3:32 p.m.
Upstream broke catalog generation with some over-eagre style cleanups.
This brings in my pull request.

Obtained from:	https://github.com/lichray/nvi2/pull/88
Differential Revision: https://reviews.freebsd.org/D28594
60a632f0 asomers Feb. 26, 2021, 3:06 p.m.
MFC after:	3 weeks
1bf86687 debdrup Feb. 26, 2021, 1:09 p.m.
While here, also fix incorrect capitalizaiton
172f2fc1 bapt Feb. 26, 2021, 10:13 a.m.
This unbreaks building libdpv
ec74116a bapt Feb. 26, 2021, 9:17 a.m.
patch dialog.c which requires stddef for the usage of offsetof
catchup on the config header
a96ef450 bapt Feb. 26, 2021, 9:16 a.m.
01b7bcd4 bapt Feb. 26, 2021, 9:05 a.m.
dfff1de7 np Feb. 26, 2021, 7:46 a.m.
MFC after:	1 week
Sponsored by:	Chelsio Communications