Simplify vm_radix_insert().

Reviewed by:	attilio
Tested by:	pho
Sponsored by:	EMC / Isilon Storage Division


git-svn-id: svn://svn.freebsd.org/base/head@249182 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFV r242816:
Import vendor change to reduce diff, no effect on FreeBSD.

Illumos ZFS issues:
  3517 importing pool with autoreplace=on and "hole" vdevs crashes syseventd


git-svn-id: svn://svn.freebsd.org/base/head@249188 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Move CRITICAL_ASSERT() macro to systm.h, where the critical(9)
functions are declared.


git-svn-id: svn://svn.freebsd.org/base/head@249189 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make it possible to submit FLUSH bios through geom_dev strategy.  This
is required for CTL to work with device-backed LUNs.

Reviewed by:	mav


git-svn-id: svn://svn.freebsd.org/base/head@249193 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make SYNCHRONIZE CACHE work with LUNs backed by device files (as opposed
to regular files, which already worked fine).  With this change, it's no
longer neccessary to use "ctladm realsync off" workaround.


git-svn-id: svn://svn.freebsd.org/base/head@249194 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFV r248217:
Merge change from vendor to reduce diff only.
ZFS dtrace probes are not supported on FreeBSD yet.

Illumos ZFS issues:
  3598 want to dtrace when errors are generated in zfs

MFC after:	3 weeks


git-svn-id: svn://svn.freebsd.org/base/head@249195 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Provide a fix for kernel panic if receiving recursive deduplicated streams.
Problem reported to vendor.

Illumos ZFS issues:
  3692 Panic on zfs receive of a recursive deduplicated stream

MFC after:	2 weeks


git-svn-id: svn://svn.freebsd.org/base/head@249196 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Unbreak ATA_NO_48BIT_DMA with ATA_CAM by treating 48-bit DMA as an
optional property with PATA transport.

Reviewed by:	mav
MFC after:	3 days


git-svn-id: svn://svn.freebsd.org/base/head@249199 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Correct the path.

PR:		176256
Submitted by:	jhs


git-svn-id: svn://svn.freebsd.org/base/head@249200 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Document legacy ATA stack removal.


git-svn-id: svn://svn.freebsd.org/base/head@249201 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove some more remnants of !ATA_CAM.


git-svn-id: svn://svn.freebsd.org/base/head@249202 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- Make ata_str2mode() static, it's not used outside of ata-all.c.
- Move ata_timeout() to ata-all.c so we don't need to expose both this
  function and ata_cam_end_transaction() but only the former.
- Move ata_cmd2str() from ata-queue.c to ata-all.c so we can get rid of
  the former.
- Add some missing prototypes.

MFC after:	3 days


git-svn-id: svn://svn.freebsd.org/base/head@249203 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add new USB ID.

PR:		usb/177666
Submitted by:	Nicolai Petri <nicolai@petri.dk>


git-svn-id: svn://svn.freebsd.org/base/head@249204 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Replicate r245306 from SCSI to ATA.  The problem didn't appear so far,
covered by multilevel freeze mechanism, but it is better to be safe.


git-svn-id: svn://svn.freebsd.org/base/head@249205 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFV r248660:
Merge vendor change - modify time processing in deadman thread.

Illumos ZFS issues:
  3618 ::zio dcmd does not show timestamp data

MFC after:	3 weeks


git-svn-id: svn://svn.freebsd.org/base/head@249206 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFV r249185:
Allow zdb to output a histogram of compressed block sizes.

Illumos ZFS issues:
  3641 want a histogram of compressed block sizes

MFC after:	3 weeks


git-svn-id: svn://svn.freebsd.org/base/head@249207 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFV r249186:
Do not list read-only pools in zpool.cache
Reduce diff against vendor in unused vdev_disk.c

Illumos ZFS issues:
  3639 zpool.cache should skip over readonly pools
  3640 want automatic devid updates

MFC after:	1 week


git-svn-id: svn://svn.freebsd.org/base/head@249209 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Regenerate usb.conf

MFC after:	1 week


git-svn-id: svn://svn.freebsd.org/base/head@249210 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Simplify vm_radix_keybarr().

Sponsored by:	EMC / Isilon Storage Division


git-svn-id: svn://svn.freebsd.org/base/head@249211 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- With the demise of !ATA_CAM, ATA_STATIC_ID is the only ata(4) related
  option left but actually consumed by ada(4), so move it to opt_ada.h
  and get rid of opt_ata.h.
- Fix stand-alone build of atacore(4) by adding opt_cam.h.
- Use __FBSDID.
- Use DEVMETHOD_END.
- Use NULL instead of 0 for pointers.


git-svn-id: svn://svn.freebsd.org/base/head@249213 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f