NAS-141177 / 27.0.0-BETA.1 / Fix `test_snapshot_task_run_disabled_task_raises` API test (#19017)
This test should have been changed to wait for the job return when it
was ported to v27 in #18996.
Fix intermittent HA failover stall in "Configuring system dataset"
When a node becomes MASTER with the sysdataset previously parked on
boot-pool (after a BACKUP transition), setup_impl takes the
"Abandoning ... in favor of <data pool>" branch and enters
release_system_dataset(), which stops and restarts netdata/
truenas_zfstierd/nfs/open-vm-tools around the umount+remount. The
restart of netdata was hanging until the dbus wait timed out (~95s),
blocking vrrp_master.
The unit was actually starting in <1s - middleware just never saw
the JobRemoved signal. Root cause: call_unit_action_and_wait and
_stop_unit_and_wait_for_exit used jeepney's default size-1 filter
queue. jeepney silently drops overflow (asyncio.QueueFull -> pass),
and the receiver task dispatches batched JobRemoved signals without
yielding - so during a failover's signal burst the target signal is
lost and the wait times out.
Pass an unbounded asyncio.Queue() to router.filter() at both call
[3 lines not shown]
NAS-141187 / 27.0.0-BETA.1 / Fix intermittent HA failover stall in "Configuring system dataset" (#19029)
When a node becomes MASTER with the sysdataset previously parked on
boot-pool (after a BACKUP transition), setup_impl takes the "Abandoning
... in favor of <data pool>" branch and enters release_system_dataset(),
which stops and restarts netdata/ truenas_zfstierd/nfs/open-vm-tools
around the umount+remount. The restart of netdata was hanging until the
dbus wait timed out (~95s), blocking vrrp_master.
The unit was actually starting in <1s - middleware just never saw the
JobRemoved signal. Root cause: call_unit_action_and_wait and
_stop_unit_and_wait_for_exit used jeepney's default size-1 filter queue.
jeepney silently drops overflow (asyncio.QueueFull -> pass), and the
receiver task dispatches batched JobRemoved signals without yielding -
so during a failover's signal burst the target signal is lost and the
wait times out.
Pass an unbounded asyncio.Queue() to router.filter() at both call sites.
virtual_oss(8): Fix buffer overflow in voss_compressor() call
This particular calls swaps the samples and maxchan arguments, which can
cause a buffer overflow in p_ch_chain if maxchan exceeds its bounds
(VMAX_CHAN).
Reported by: Yuxiang Yang, Yizhou Zhao, Ao Wang, Xuewei Feng, Qi Li, and Ke Xu from Tsinghua University using GLM-5.1 from Z.ai
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Reviewed by: emaste
Fix intermittent HA failover stall in "Configuring system dataset"
When a node becomes MASTER with the sysdataset previously parked on
boot-pool (after a BACKUP transition), setup_impl takes the
"Abandoning ... in favor of <data pool>" branch and enters
release_system_dataset(), which stops and restarts netdata/
truenas_zfstierd/nfs/open-vm-tools around the umount+remount. The
restart of netdata was hanging until the dbus wait timed out (~95s),
blocking vrrp_master.
The unit was actually starting in <1s — middleware just never saw
the JobRemoved signal. Root cause: call_unit_action_and_wait and
_stop_unit_and_wait_for_exit used jeepney's default size-1 filter
queue. jeepney silently drops overflow (asyncio.QueueFull → pass),
and the receiver task dispatches batched JobRemoved signals without
yielding — so during a failover's signal burst the target signal is
lost and the wait times out.
Pass an unbounded asyncio.Queue() to router.filter() at both call
sites.
usb: Add missing mtx lock and unlock in pushing dma queue
Accessing usb_xfer_queue requires bus lock, we added this missing lock
in here to prevent racing issue.
Reviewed by: adrian
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57293
Mk/bsd.port.mk: Add EXTRACT_ENV
Add an EXTRACT_ENV variable which defaults to LC_ALL=C.UTF-8. We set
LC_ALL=C globally to ensure our scripts work the way we intend them to,
but this causes tar and unzip to fail to extract distfiles containing
names that cannot be expressed in ASCII. This was previously masked by
a bug in libarchive which caused tar and unzip to fail to notice that
these names were unconvertible and just pass them through unchanged.
MFH: 2026Q2
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D57295
(cherry picked from commit 98103f19430200b36e9adcb10ed8831ce9ffc42f)
Mk/bsd.port.mk: Add EXTRACT_ENV
Add an EXTRACT_ENV variable which defaults to LC_ALL=C.UTF-8. We set
LC_ALL=C globally to ensure our scripts work the way we intend them to,
but this causes tar and unzip to fail to extract distfiles containing
names that cannot be expressed in ASCII. This was previously masked by
a bug in libarchive which caused tar and unzip to fail to notice that
these names were unconvertible and just pass them through unchanged.
MFH: 2026Q2
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D57295
[mlir][EmitC] Include DeallocOp in AllocOp memref conversion tests (#198275)
This PR helps keep changes introduced in
https://github.com/llvm/llvm-project/pull/194591 visible, by renaming
files in a separate commit.
[z/OS][tests] XFAIL using aliases on z/OS (#200176)
This PR XFAIL 2 lit test cases as the following errors are expected:
```
FAIL: LLVM :: CodeGen/Generic/available_externally_alias.ll
# | <unknown>:0: error: Only aliases to functions is supported in GOFF.
FAIL: LLVM :: CodeGen/Generic/2009-03-17-LSR-APInt.ll
# | <unknown>:0: error: Weak alias/reference not supported on z/OS
```
[clang][modules-driver] Precompile std modules independently of -o and final phase (#199289)
With this, Standard library modules are always precompiled as the
primary output of their `-cc1` invocation, instead of being produced as
a byproduct of compiling the Standard library modules to object files.
This also keeps Standard library module precompilation independent of
the final phase specified on the command line, so importing them keep
working under `-fsyntax-only` (and other command-line options that
specify the final phase).
This also makes the Standard library module precompilation independent
of the `-o` flag, so that a command like `clang -std=c++23
-fmodules-driver main.cpp -o main` no longer redirects the Standard
library module outputs to 'main', breaking the compilation.
[lit] Handle config loading safely (#200168)
Currently, the config file is opened outside the `try` block without
explicit encoding and handled with a bare `except`.
We can move to putting a `with open()` context manager inside the `try`
block and catching OSError.
Signed-off-by: Prasoon Kumar <prasoonkumar054 at gmail.com>
[SPIR-V] Add s128 to allPtrsScalarsAndVectors in legalizer (#199998)
Without this, i128 G_ICMP fails legalization before OpTypeInt emits the
diagnostic
---------
Co-authored-by: Dmitry Sidorov <dsidorov at amd.com>