diff options
author | Brian Behlendorf <[email protected]> | 2016-06-29 13:59:51 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-07-27 13:38:46 -0700 |
commit | fcf64f45d9bf4270f6c6bfe9df6ef253a7bfc766 (patch) | |
tree | 94d97899f6eb1e8e18e1c1a53fef3ba8eee033cc /contrib | |
parent | a0cacb760a0d9de2be3f2f569cb0febd77d7064a (diff) |
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 <[email protected]>
Signed-off-by: Gvozden Neskovic <[email protected]>
Closes #4479
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions