Brian Behlendorf fcf64f45d9 Fix zdb crash with 4K-only devices
Here's the problem - on 4K native devices in userland on
Linux using O_DIRECT, buffers must be 4K aligned or I/O
will fail with EINVAL, causing zdb (and others) to coredump.
Since userland probably doesn't need optimized buffer caches,
we just force 4K alignment on everything.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Gvozden Neskovic <neskovic@gmail.com>
Closes 
2016-07-27 13:38:46 -07:00
..
2013-01-09 16:54:58 -08:00
2016-07-27 13:38:46 -07:00
2016-06-06 14:45:26 -07:00
2016-06-28 13:47:02 -07:00