HomeFreeBSD

Fix 'zfs send/recv' hang with 16M blocks

Description

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

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Apr 9 2018, 2:41 AM
GitHub <noreply@github.com>Committed on Apr 9 2018, 2:41 AM
Parents
rG7b47628acb7e: Clean up (k)shlib and cfg file shebangs
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG3b0d99289a8e: Fix 'zfs send/recv' hang with 16M blocks (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Apr 9 2018, 2:41 AM