From a30927f763834d3b16b4945ff8d5638ede69d545 Mon Sep 17 00:00:00 2001 From: Rich Ercolani <214141+rincebrain@users.noreply.github.com> Date: Mon, 9 May 2022 19:33:55 -0400 Subject: Add workaround for broken Linux pipes Linux has an unresolved hang if you resize a pipe with bytes in it. Since there's no obvious way to detect this happening, added a workaround to disable resizing the pipe buffer if you set an environment variable. Reviewed-by: Brian Behlendorf Signed-off-by: Rich Ercolani Closes #13309 --- man/man8/zfs.8 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'man') diff --git a/man/man8/zfs.8 b/man/man8/zfs.8 index 08996861a..bf8e86a5b 100644 --- a/man/man8/zfs.8 +++ b/man/man8/zfs.8 @@ -745,6 +745,14 @@ to use to mount ZFS datasets. This option is provided for backwards compatibility with older ZFS versions. .El +.Bl -tag -width "ZFS_SET_PIPE_MAX" +.It Sy ZFS_SET_PIPE_MAX +Tells +.Nm zfs +to set the maximum pipe size for sends/recieves. +Disabled by default on Linux +due to an unfixed deadlock in Linux's pipe size handling code. +.El . .Sh INTERFACE STABILITY .Sy Committed . -- cgit v1.2.3