Revert "Work around the case where hisory buffer is larger than HIS_BUF_LEN (128K)."

This reverts commit b447e0422302d17b8d84a238afe594ac78a93a5b.
Take into account when zpool history block grows exceeding 128KB in zpool(8)
and zdb(8) by growing the buffer on demand with a cap of 1GB (specified in
spa_history_create_obj()).

PR:		bin/186574
Submitted by:	Andrew Childs <lorne cons org nz> (with changes)
MFC after:	2 weeks

(cherry picked from commit 78e547c5404320fbd04ad333c9f9691a30b0e86e)

Ticket: #4736
Don't pass a timeout of 0 ticks to pause() for a delay of less than 1
hz tick.  On 8.x this results in an infinite sleep as pause() does not
support a delay of 0 ticks.  Since all delay values are converted from
nanoseconds to ticks using a floor function, skipping the sleep for a
delay smaller than 1 tick is the more consistent than rounding up to a
single tick.

This is a direct commit to 8 and 9 as 10.x and later use pause_sbt()
instead.

Reviewed by:	avg

(cherry picked from commit 004eeed9b05bf81152f859c7df23281e7d8b43a1)
Geom: handle disabled write cache case on ata devices
Intel S3700 SSD quirks
Starting lockd and statd before DAEMON is not required
MFC r258294:
Fix ZFS deadlock when sending a snapshot which is mounted.

Approved by:	re (glebius)
Sponsored by:	Multiplay
ZFS/GFS handling fixes