]> git.proxmox.com Git - mirror_zfs.git/commit
Add workaround for broken Linux pipes
authorRich Ercolani <214141+rincebrain@users.noreply.github.com>
Mon, 9 May 2022 23:33:55 +0000 (19:33 -0400)
committerGitHub <noreply@github.com>
Mon, 9 May 2022 23:33:55 +0000 (16:33 -0700)
commita30927f763834d3b16b4945ff8d5638ede69d545
treea48182f9596e35ec6514de94de3853e6d92ad310
parenta18d13c200b1d3e059d9435a557093148a10ace6
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 <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #13309
lib/libzfs_core/libzfs_core.c
man/man8/zfs.8