HomeFreeBSD

Revert behavior of 59eab109 on not-Linux

Description

Revert behavior of 59eab109 on not-Linux

It turns out that short-circuiting the EFAULT behavior on a short read
breaks things on FreeBSD. So until there's a nicer solution, let's
just revert the behavior for not-Linux.

Reference:
https://reviews.freebsd.org/R10:70f51f0e474ffe1fb74cb427423a2fba3637544d

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #12698

Details

Provenance
rincebrain_gmail.comAuthored on Nov 4 2021, 1:49 PM
GitHub <noreply@github.com>Committed on Nov 4 2021, 1:49 PM
Parents
rGe79b6807b8a9: Workaround issue cleaning up automounted snapshots on Linux
Branches
Unknown
Tags
Unknown