General mdoc(7) and typo fixes.

PR:		167696
Submitted by:	Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@235211 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
General mdoc(7) and typo fixes.

PR:		167696
Submitted by:	Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@235211 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Import illumos changeset 13618:c6ae14a341e8 [1]:
2088 zdb could use a reasonable manual page

Rewrite new zdb manpage to mdoc(7)

References:
https://www.illumos.org/issues/2088

PR:		kern/167467 [1]
Submitted by:	Marcelo Araujo <araujo@FreeBSD.org> [1]
Reviewed by:	mm
Obtained from:	Illumos (issue #2088)
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@235212 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Import illumos changeset 13618:c6ae14a341e8 [1]:
2088 zdb could use a reasonable manual page

Rewrite new zdb manpage to mdoc(7)

References:
https://www.illumos.org/issues/2088

PR:		kern/167467 [1]
Submitted by:	Marcelo Araujo <araujo@FreeBSD.org> [1]
Reviewed by:	mm
Obtained from:	Illumos (issue #2088)
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@235212 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add support for force unmounting ZFS filesystems during "zfs rename"
with the -f flag.

Reimplementation of the illumos changeset 13677:a0cbef703c12
2635 'zfs rename -f' to perform force unmount

References:
https://www.illumos.org/issues/2635

PR:		kern/164447
Suggested by:	Marcelo Araujo <araujo@FreeBSD.org>
Obtained from:	illumos (issue #2635)
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@235216 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add support for force unmounting ZFS filesystems during "zfs rename"
with the -f flag.

Reimplementation of the illumos changeset 13677:a0cbef703c12
2635 'zfs rename -f' to perform force unmount

References:
https://www.illumos.org/issues/2635

PR:		kern/164447
Suggested by:	Marcelo Araujo <araujo@FreeBSD.org>
Obtained from:	illumos (issue #2635)
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@235216 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove unreachable break in zfs_main.c

Partial import of illumos changeset 13622:e5889df1eaac
2077 lots of unreachable breaks in illumos gate

References:
https://www.illumos.org/issues/2077

PR:		kern/167370
Submitted by:	Marcelo Araujo <araujo@FreeBSD.org>
Obtained from:	illumos (issue #2077)
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@235217 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove unreachable break in zfs_main.c

Partial import of illumos changeset 13622:e5889df1eaac
2077 lots of unreachable breaks in illumos gate

References:
https://www.illumos.org/issues/2077

PR:		kern/167370
Submitted by:	Marcelo Araujo <araujo@FreeBSD.org>
Obtained from:	illumos (issue #2077)
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@235217 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Create a common function lookup() to search a chan, this eliminates
redundant SC_LOOKUP() calling.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@235218 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Create a common function lookup() to search a chan, this eliminates
redundant SC_LOOKUP() calling.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@235218 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cdboot, pxeldr: make use of bootargs.h instead of redefining flag constants

Reviewed by:	jhb
MFC after:	1 month


git-svn-id: svn+ssh://svn.freebsd.org/base/head@235219 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cdboot, pxeldr: make use of bootargs.h instead of redefining flag constants

Reviewed by:	jhb
MFC after:	1 month


git-svn-id: svn+ssh://svn.freebsd.org/base/head@235219 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Import illumos changeset 13686:4bc0783f6064
2703 add mechanism to report ZFS send progress

If the zfs send command is used with the -v flag, the amount of bytes
transmitted is reported in per second updates.

References:
https://www.illumos.org/issues/2703

Obtained from:	illumos (issue #2703)
MFC after:	2 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@235222 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Import illumos changeset 13686:4bc0783f6064
2703 add mechanism to report ZFS send progress

If the zfs send command is used with the -v flag, the amount of bytes
transmitted is reported in per second updates.

References:
https://www.illumos.org/issues/2703

Obtained from:	illumos (issue #2703)
MFC after:	2 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@235222 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Do a bit of house cleaning and remove the old, obsolete upgrade from
6.0 support and bump the minimum version to 8.0.  These versions have
not been tested and are believed to be broken.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@235224 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Do a bit of house cleaning and remove the old, obsolete upgrade from
6.0 support and bump the minimum version to 8.0.  These versions have
not been tested and are believed to be broken.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@235224 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add `options GEOM_RAID` into i386 and amd64 GENERIC kernels.

ataraid(4) previously was present there and having GEOM RAID is convinient.
Unlike other classes GEOM RAID can be set up from BIOS before install and
users are expecting it to be detected automatically.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@235226 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add `options GEOM_RAID` into i386 and amd64 GENERIC kernels.

ataraid(4) previously was present there and having GEOM RAID is convinient.
Unlike other classes GEOM RAID can be set up from BIOS before install and
users are expecting it to be detected automatically.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@235226 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Partial revert of previous commit as some of the changes were not
newbie-friendly.

Requested by:	jhb, gcooper
Approved by:	cperciva (implicit)
MFC after:	3 days
X-MFC-With:	r235209


git-svn-id: svn+ssh://svn.freebsd.org/base/head@235227 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Partial revert of previous commit as some of the changes were not
newbie-friendly.

Requested by:	jhb, gcooper
Approved by:	cperciva (implicit)
MFC after:	3 days
X-MFC-With:	r235209


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