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
Tony Hutter <hutter2@llnl.gov>Committed on Sep 21 2022, 8:15 PM
Parents
rGfaa1e4082d64: include: move SPA_MINBLOCKSHIFT and zio_encrypt to sys/fs/zfs.h
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rGd5105f068f19: zfs recv hangs if max recordsize is less than received recordsize (authored by Ameer Hamza <106930537+ixhamza@users.noreply.github.com>).Sep 21 2022, 8:15 PM