libzfs_core: lzc_send_wraper: maximise pipe buffer for existing pipes
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Mon, 21 Feb 2022 18:51:48 +0000 (19:51 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 8 Mar 2022 17:33:12 +0000 (09:33 -0800)
commita86e089415679cf1b98eb424a159bb36aa2c19e3
treeb94b6167d3691b7b729ae206fb7c32503ad66816
parent7eb179be18af2d693e087770f0d960092b83e8ab
libzfs_core: lzc_send_wraper: maximise pipe buffer for existing pipes

This reduces scheduler overhead by letting the reader consume bigger
chunks (64k => 128k at full throttle)

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