HomeFreeBSD

zfs recv hangs if max recordsize is less than received recordsize

Description

zfs recv hangs if max recordsize is less than received recordsize

  • Some optimizations for bqueue enqueue/dequeue.
  • Added a fix to prevent deadlock when both bqueue_enqueue_impl()

and bqueue_dequeue() waits for signal to be triggered.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
Closes #13855

Details

Provenance
Ameer Hamza <106930537+ixhamza@users.noreply.github.com>Authored on Sep 16 2022, 8:52 PM
GitHub <noreply@github.com>Committed on Sep 16 2022, 8:52 PM
Parents
rG8da218a7a2ee: Update coverity model
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG577d41d3b2e4: zfs recv hangs if max recordsize is less than received recordsize (authored by Ameer Hamza <106930537+ixhamza@users.noreply.github.com>).Sep 16 2022, 8:52 PM