freebsd-src/sys/contrib
Alexander Motin 49086aa35d Fix scn_queue races on very old pools
Code for pools before version 11 uses dmu_objset_find_dp() to scan
for children datasets/clones.  It calls enqueue_clones_cb() and
enqueue_cb() callbacks in parallel from multiple taskq threads.
It ends up bad for scan_ds_queue_insert(), corrupting scn_queue
AVL-tree.  Fix it by introducing a mutex to protect those two
scan_ds_queue_insert() calls.  All other calls are done from the
sync thread and so serialized.

Reviewed-by:	Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by:	Brian Atkinson <batkinson@lanl.gov>
Signed-off-by:	Alexander Motin <mav@FreeBSD.org>
Sponsored by:	iXsystems, Inc.
Closes	#16162
PR:	278414
2024-05-23 12:20:37 -04:00
..
alpine-hal
ck ck/aarch64: Specify output operands for ck_pr_md_store_* 2024-02-08 11:35:03 -05:00
dev ath_hal/ar9300: allow JUPITER cards to read eeprom 2024-03-12 21:56:56 +00:00
device-tree Import device-tree files from Linux 6.8 2024-05-06 10:46:36 +02:00
dpdk_rte_lpm spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
edk2
ena-com ena: Upgrade ena-com to freebsd v2.7.0 2023-12-28 13:52:31 +00:00
libb2
libfdt
libnv spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
libsodium
ncsw powerpc: Use valid prototypes for function declarations with no arguments. 2023-04-24 08:53:50 -07:00
openzfs Fix scn_queue races on very old pools 2024-05-23 12:20:37 -04:00
pcg-c/include
rdma/krping irdma: Convert to IfAPI 2023-04-25 14:25:31 -04:00
v4l
vchiq/interface vchiq: Remove unused devclass argument to DRIVER_MODULE. 2022-05-10 10:21:39 -07:00
x86emu x86emu: remove localy added __FBSDID 2023-11-27 16:47:41 +00:00
xen xen: fetch dom0 video console information from Xen 2023-03-09 17:13:17 +01:00
xz-embedded MFV: xz-embedded 3f438e15109229bb14ab45f285f4bff5412a9542 2022-11-17 22:04:57 -08:00
zlib zlib: use more memory for a small deflate speedup. 2024-02-19 15:01:04 -08:00
zstd MFV: zstd 1.5.2 2023-01-27 17:22:31 +00:00