Is this ZOL tip or Linux specific? FWIW, the bug does not seem to reproduce on FreeBSD-current (r332158).
However, it also does not reproduce on Ubuntu 4.4.0-116-generic running the ZFS stuff from Ubuntu.
However, it also does not reproduce on Ubuntu 4.4.0-116-generic running the ZFS stuff from Ubuntu.
Reverting this commit causes the bug to stop reproducing:
https://github.com/zfsonlinux/zfs/commit/cc63068e95ee725cce0...
[edit]
An inspection of the following makes me think this is ZoL specific.
https://github.com/freebsd/freebsd/blob/58941b0245fd8d3d5861...
I am not sure if the bad patch was ported to the other OpenZFS platforms.
[2018-03-09] Accepted zfs-linux 0.7.6-1~bpo9+1 (source amd64 all) into stretch-backports (Aron Xu)