Tweak the CAM_DATA flags that were added with r251874 to allow source
compatibility and almost 100% binary compatibility.  The old
CAM_SG_LIST_PHYS flag is essentially lost in binary compatibility for
legacy SIM drivers.  The use of this flag is excedingly rare.

Obtained from:	Netflix


git-svn-id: svn://svn.freebsd.org/base/stable/9@251986 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Poor man's binary compatibility of the struct bio: move the added structure
members to the end of the structure.

Obtained from:	Netflix


git-svn-id: svn://svn.freebsd.org/base/stable/9@251987 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r251989:

Fix an unfortunate typo with the compat shims

Obtained from:	Netflix


git-svn-id: svn://svn.freebsd.org/base/stable/9@251990 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: r238172 (partial)

Don't use Maxmem when the amount of memory is meant. Use realmem instead.
Maxmem is not only a MD variable, it represents the highest physical memory
address in use. On systems where memory is sparsely layed-out the highest
memory address and the amount of memory are not interchangeable. Scaling the
AGP aperture based on the actual amount of memory (= realmem) rather than
the available memory (= physmem) makes sure there's consistent behaviour
across architectures.


git-svn-id: svn://svn.freebsd.org/base/stable/9@251994 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r251485:

Revert r238399.

The "failok" option doesn't have any effect at all unless specified in
fstab(5) and combined with the -a flag. The "failok" option is already
documented in fstab(5).

PR:		177630


git-svn-id: svn://svn.freebsd.org/base/stable/9@251998 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC	r251658, 251823:

Turn DIAGNOSTICs to INVARIANTS in ext2fs. following other filesystems.


git-svn-id: svn://svn.freebsd.org/base/stable/9@252008 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge remote-tracking branch 'upstream/svn_stable_9' into svn_stable_9