hi!
Please review:
https://code.illumos.org/c/illumos-gate/+/3731
Should provide a bit better information about failing IO. Example is in the issue.
Thanks,
Toomas