mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
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
This commit is contained in:
committed by
Tony Hutter
parent
8bb800d6b4
commit
7440f10ec1
@@ -1763,6 +1763,31 @@ Allow sending of corrupt data (ignore read/checksum errors when sending data)
|
||||
Use \fB1\fR for yes and \fB0\fR for no (default).
|
||||
.RE
|
||||
|
||||
.sp
|
||||
.ne 2
|
||||
.na
|
||||
\fBzfs_send_queue_length\fR (int)
|
||||
.ad
|
||||
.RS 12n
|
||||
The maximum number of bytes allowed in the \fBzfs send\fR queue. This value
|
||||
must be at least twice the maximum block size in use.
|
||||
.sp
|
||||
Default value: \fB16,777,216\fR.
|
||||
.RE
|
||||
|
||||
.sp
|
||||
.ne 2
|
||||
.na
|
||||
\fBzfs_recv_queue_length\fR (int)
|
||||
.ad
|
||||
.RS 12n
|
||||
.sp
|
||||
The maximum number of bytes allowed in the \fBzfs receive\fR queue. This value
|
||||
must be at least twice the maximum block size in use.
|
||||
.sp
|
||||
Default value: \fB16,777,216\fR.
|
||||
.RE
|
||||
|
||||
.sp
|
||||
.ne 2
|
||||
.na
|
||||
|
||||
Reference in New Issue
Block a user