[Bug 239566] [zfs] panic: solaris assert: avl_find(&scn->scn_queue, sds, &where) .... dsl_scan.c line 1029

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 19 09:44:50 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239566

--- Comment #3 from commit-hook at freebsd.org ---
A commit references this bug:

Author: avg
Date: Thu Sep 19 09:43:56 UTC 2019
New revision: 352506
URL: https://svnweb.freebsd.org/changeset/base/352506

Log:
  fix dsl_scan_ds_clone_swapped logic

  It was incorrect with respect to swapping dataset IDs both in the
  on-disk ZAP object and the in-memory queue.

  In both cases, if only ds1 was already present, then it would be first
  replaced with ds2 and then ds2 would be replaced back with ds1.  Also,
  both cases did not properly handle a situation where both ds1 and ds2
  are already queued.  A duplicate insertion would be attempted and its
  failure would result in a panic.

  This change has also been submitted to ZoL as zfsonlinux/zfs at dd262c9

  PR:           239566
  Reported by:  pascal.guitierrez at gmail.com
  MFC after:    4 days
  Sponsored by: CyberSecure

Changes:
  head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_scan.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list