HomeFreeBSD

libzfs_core: simplify max_pipe_buffer(), return new max

Description

libzfs_core: simplify max_pipe_buffer(), return new max

We do still check and only optionally set because all F_SETPIPE_SZ
directives reallocate the pipe buffer

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Rich Ercolani <rincebrain@gmail.com>
Reviewed-by: Paul Dagnelie <pcd@delphix.com>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13133

Details

Provenance
наб <nabijaczleweli@nabijaczleweli.xyz>Authored on Feb 20 2022, 7:17 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 8 2022, 5:33 PM
Parents
rG8a3d77358aa8: libzfs: migrate single-use libzfs_set_pipe_max() to libzfs_core
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGfbbea09db965: libzfs_core: simplify max_pipe_buffer(), return new max (authored by наб <nabijaczleweli@nabijaczleweli.xyz>).Mar 8 2022, 5:33 PM