]> git.proxmox.com Git - mirror_zfs.git/commit
Fix 'zfs send/recv' hang with 16M blocks
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 9 Apr 2018 02:41:15 +0000 (19:41 -0700)
committerTony Hutter <hutter2@llnl.gov>
Tue, 8 May 2018 00:19:57 +0000 (17:19 -0700)
commit7440f10ec11e2f240e3a601dd4e960bda4ebf340
treed938d96db55d4bdd7fd4f91bd3ec4b85ba234cbc
parent8bb800d6b4324468606d3e0b856f6b3e81431f73
Fix 'zfs send/recv' hang with 16M blocks

When using 16MB blocks the send/recv queue's aren't quite big
enough.  This change leaves the default 16M queue size which a
good value for most pools.  But it additionally ensures that the
queue sizes are at least twice the allowed zfs_max_recordsize.

Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7365
Closes #7404
man/man5/zfs-module-parameters.5
module/zfs/dmu_send.c