]> granicus.if.org Git - zfs/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)
committerGitHub <noreply@github.com>
Mon, 9 Apr 2018 02:41:15 +0000 (19:41 -0700)
commit3b0d99289a8e473b059605a83d4ce0bd505ec3d3
tree4c9ba831ed700028eba843af53dd84961b72f3e0
parent7b47628acb7ef073caa5bd23372b0c9c2741caf8
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