FreeNAS/freenas da00624src/middlewared/middlewared/api/base/types json_schema.py, src/middlewared/middlewared/api/v25_10_0 common.py

Remove shared pydantic `Field()` from API type aliases
DeltaFile
+30-0src/middlewared/middlewared/api/base/types/json_schema.py
+9-6src/middlewared/middlewared/api/v25_10_4/common.py
+9-6src/middlewared/middlewared/api/v25_10_3/common.py
+9-6src/middlewared/middlewared/api/v25_10_2/common.py
+9-6src/middlewared/middlewared/api/v25_10_0/common.py
+9-6src/middlewared/middlewared/api/v25_10_1/common.py
+75-3074 files not shown
+286-19380 files

LLVM/project acbd01alldb/source/Plugins/Process/Windows/Common NativeThreadWindows.cpp

[lldb][Windows] Clear stale thread stop info on resume (#201595)
DeltaFile
+5-0lldb/source/Plugins/Process/Windows/Common/NativeThreadWindows.cpp
+5-01 files

FreeBSD/src 3dfbbe8sys/fs/nfs nfsrvstate.h, sys/fs/nfsserver nfs_nfsdstate.c nfs_nfsdport.c

nfsd: Add per-MDS fs striping configuration

Commit 72e57bc26417 added support for striping to the pNFS
server when using the Flexible File layout.
It is configured globally via the following sysctls:
vfs.nfsd.pnfsstripeunit - Size (in bytes) of a stripe
vfs.nfsd.pnfsstripecnt - # of DSs to stripe across

This patch allows the above settings to be overridden
on a per-MDS exported file system basis.  With this
patch, a stripeunit can optionally be specified for
the MDS file system listed when one is listed after
a '#' in the "-p" nfsd argument.  This is done by
appending "@NNN", where NNN is the stripeunit, in bytes.

The current syntax implies that neither a '#' nor '@'
can be in the MDS mount point's directory path.

This patch does not affect current pNFS server

    [2 lines not shown]
DeltaFile
+20-1sys/fs/nfsserver/nfs_nfsdstate.c
+12-6sys/fs/nfsserver/nfs_nfsdport.c
+1-0sys/fs/nfs/nfsrvstate.h
+33-73 files

FreeNAS/freenas 52771easrc/middlewared/middlewared/plugins/alert runtime.py queries.py

Address reviews
DeltaFile
+208-147src/middlewared/middlewared/plugins/alert/runtime.py
+59-54src/middlewared/middlewared/plugins/alert/queries.py
+14-31src/middlewared/middlewared/plugins/alert/state.py
+18-16src/middlewared/middlewared/plugins/alert/alertservice.py
+7-11src/middlewared/middlewared/plugins/alert/__init__.py
+2-2src/middlewared/middlewared/plugins/alert/alertclasses_config.py
+308-2616 files

LLVM/project f2ee26clibcxx/docs/ReleaseNotes 23.rst, libcxx/utils generate_feature_test_macro_components.py

release notes & python format
DeltaFile
+3-1libcxx/utils/generate_feature_test_macro_components.py
+2-0libcxx/docs/ReleaseNotes/23.rst
+5-12 files

LLVM/project ad94f68llvm/include/llvm/IR GlobalValue.h, llvm/include/llvm/Transforms/Utils AssignGUID.h

Reland #184065
DeltaFile
+61-17llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+45-30llvm/lib/LTO/LTO.cpp
+57-2llvm/lib/IR/Globals.cpp
+49-3llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+49-0llvm/include/llvm/Transforms/Utils/AssignGUID.h
+42-5llvm/include/llvm/IR/GlobalValue.h
+303-57116 files not shown
+828-397122 files

LLVM/project 9fb174cllvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU ctls.ll

[AMDGPU] Fix umin(sffbh(x), bitwidth) fold when x may be all-ones (#201795)

We can drop the umin clamp only if x is neither 0 nor -1. There is a
problem with -1 check:
- old: The old guard `!isAllOnes()` is too weak because if the bit is
not definitely unknown (could be either 0 or 1) this check will not work
properly
- new: `Known.Zero.getBoolValue()` guarantees that there is at least one
`0` bit which means that the value is definitely not -1 which is needed
for this specific case
DeltaFile
+26-0llvm/test/CodeGen/AMDGPU/ctls.ll
+1-1llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+27-12 files

FreeNAS/freenas 581fd80src/middlewared/middlewared/etc_files scst.conf.mako, src/middlewared/middlewared/plugins/iscsi_ scst.py iscsi_global.py

NAS-141006 / 26.0.0-RC.1 / Stop writing cluster_mode in scst.conf (by bmeagherix) (#19076)

Make middleware the sole writer of SCST's per-device `cluster_mode`
sysfs attribute.

Two writers were competing for the attribute on both nodes:
`pyscstadmin.apply_config_file` (driven by `/etc/scst.conf`) and direct
sysfs writes from middleware. The standby's `scst.conf.mako` renders
based on data that includes the active's runtime cluster_mode, fetched
via `failover.call_remote`. Under load that data could be unstable
enough for the standby to emit `cluster_mode 0` for already-clustered
devices; pyscstadmin's apply then wrote 0 to the runtime, destroying
their per-extent DLM lockspaces. `iscsi.alua.standby_fix_cluster_mode`
would then re-cluster them, the cycle repeating.

This PR removes the race by handing cluster_mode ownership entirely to
middleware.

- `iscsi.scst.path_write_if_needed`: read first and write only if the

    [16 lines not shown]
DeltaFile
+13-29src/middlewared/middlewared/etc_files/scst.conf.mako
+18-3src/middlewared/middlewared/plugins/iscsi_/scst.py
+2-0src/middlewared/middlewared/plugins/iscsi_/iscsi_global.py
+33-323 files

LLVM/project 22f5feelibcxx/include generator, libcxx/test/std/language.support/support.limits/support.limits.general generator.version.compile.pass.cpp

implement generator
DeltaFile
+603-0libcxx/include/generator
+123-0libcxx/test/std/ranges/coro.generator/allocator.pass.cpp
+97-0libcxx/test/std/ranges/coro.generator/recursive.pass.cpp
+65-0libcxx/test/std/language.support/support.limits/support.limits.general/generator.version.compile.pass.cpp
+56-0libcxx/test/std/ranges/coro.generator/generator.pass.cpp
+48-0libcxx/test/std/ranges/coro.generator/generator.compile.pass.cpp
+992-021 files not shown
+1,198-1527 files

FreeNAS/freenas 28b0cd0src/middlewared/middlewared/plugins support.py

NAS-141271 / 26.0.0-RC.1 / Report when a debug is too large to attach to a bug ticket (by creatorcary) (#19077)

When a user files a support ticket from the WebUI with **Attach debug**
selected, the ticket is created on JIRA, but the debug is sometimes
silently not attached. `support.new_ticket` streams the generated debug
into a temporary file and enforces a `DEBUG_MAX_SIZE` (30 MiB) cap on
the *compressed* archive. If that cap was exceeded, the copy routine
returned early **without** setting `has_debug` and **without** recording
any error, so the job completed successfully with `has_debug=False` and
`debug_attach_error=None`. The WebUI only shows a warning when
`debug_attach_error` is set, so the user saw a plain "Ticket submitted
successfully" message and reasonably assumed the debug was attached when
it was not.

A related path had the same symptom: if `system.debug` itself failed
(for example the HA per-node oversize guard in `system/debug.py` raising
a `CallError`), `debug_job.error` was never checked, so a closed output
pipe could leave `has_debug=True` and the code would attempt to attach
an empty/incomplete file.

    [11 lines not shown]
DeltaFile
+14-1src/middlewared/middlewared/plugins/support.py
+14-11 files

FreeNAS/freenas 6e7b2f4src/middlewared/middlewared/plugins support.py

return an error when the debug is too large

(cherry picked from commit 951231b48400ead61aec160104acdd81c9971206)
DeltaFile
+14-1src/middlewared/middlewared/plugins/support.py
+14-11 files

FreeNAS/freenas 9641255src/middlewared/middlewared/plugins support.py

NAS-141271 / 27.0.0-BETA.1 / Report when a debug is too large to attach to a bug ticket (#19075)

When a user files a support ticket from the WebUI with **Attach debug**
selected, the ticket is created on JIRA, but the debug is sometimes
silently not attached. `support.new_ticket` streams the generated debug
into a temporary file and enforces a `DEBUG_MAX_SIZE` (30 MiB) cap on
the *compressed* archive. If that cap was exceeded, the copy routine
returned early **without** setting `has_debug` and **without** recording
any error, so the job completed successfully with `has_debug=False` and
`debug_attach_error=None`. The WebUI only shows a warning when
`debug_attach_error` is set, so the user saw a plain "Ticket submitted
successfully" message and reasonably assumed the debug was attached when
it was not.

A related path had the same symptom: if `system.debug` itself failed
(for example the HA per-node oversize guard in `system/debug.py` raising
a `CallError`), `debug_job.error` was never checked, so a closed output
pipe could leave `has_debug=True` and the code would attempt to attach
an empty/incomplete file.

    [6 lines not shown]
DeltaFile
+14-1src/middlewared/middlewared/plugins/support.py
+14-11 files

FreeNAS/freenas 7150295src/middlewared/middlewared/plugins/iscsi_ iscsi_global.py

When disabling ALUA clear cluster_mode on the ACTIVE node

(cherry picked from commit 96ef5c164097748f95d670e844b946c532b3afac)
DeltaFile
+2-0src/middlewared/middlewared/plugins/iscsi_/iscsi_global.py
+2-01 files

FreeNAS/freenas cb4f0b0src/middlewared/middlewared/etc_files scst.conf.mako

Stop writing cluster_mode in scst.conf

Let middleware be the sole writer of cluster_mode via direct sysfs
writes (iscsi.scst.path_write_if_needed and callers). When scst.conf
also drove cluster_mode, pyscstadmin's apply reconciled the runtime
back to whatever value was captured at render time, undoing any
cluster_mode=1 just set by standby_fix_cluster_mode and destroying
per-extent DLM lockspaces on every cycle.

set_standby_lun_to_cluster_mode is repurposed as a predicate for
queueing the fix job. set_active_lun_to_cluster_mode and the state
it depended on (active_extents, cluster_mode_targets, dlm_ready) are
removed.

Must land together with the matching truenas_pyscstadmin change.

(cherry picked from commit 9ec73f8a56bd9b09c2eb19061a0a4ebb6b95f626)
DeltaFile
+13-29src/middlewared/middlewared/etc_files/scst.conf.mako
+13-291 files

FreeNAS/freenas c777cadsrc/middlewared/middlewared/plugins/iscsi_ scst.py

Skip redundant cluster_mode writes to avoid scst_mutex contention

Add iscsi.scst.path_write_if_needed: read the attribute first and
write only if the first line differs. Route the three cluster_mode
setters (set_device_cluster_mode, set_devices_cluster_mode,
set_all_cluster_mode) through it.

The kernel's vdev_sysfs_cluster_mode_store path takes
scst_alloc_sysfs_work, scst_sysfs_queue_wait_work,
scst_suspend_activity (which quiesces in-flight commands) and
acquires the global scst_mutex BEFORE the same-value short-circuit.
So even no-op writes contend on a global mutex and can serialize
behind a long-running cluster_mode operation. cluster_mode_show
is lock-free, so the pre-read is essentially free.

Comparison is first-line-only because show emits a trailing
SCST_SYSFS_KEY_MARK line when cluster_mode is set.

(cherry picked from commit 85b6456f3f055728a9980a11877d59469e183359)
DeltaFile
+18-3src/middlewared/middlewared/plugins/iscsi_/scst.py
+18-31 files

FreeNAS/freenas 2609c56src/middlewared/middlewared/etc_files scst.conf.mako, src/middlewared/middlewared/plugins/iscsi_ scst.py iscsi_global.py

NAS-141006 / 27.0.0-BETA.1 / Stop writing cluster_mode in scst.conf (#19074)

Make middleware the sole writer of SCST's per-device `cluster_mode`
sysfs attribute.

Two writers were competing for the attribute on both nodes:
pyscstadmin.apply_config_file (driven by /etc/scst.conf) and direct
sysfs writes from middleware. The standby's scst.conf.mako renders
based on data that includes the active's runtime cluster_mode, fetched
via failover.call_remote. Under load that data could be unstable
enough for the standby to emit cluster_mode 0 for already-clustered
devices; pyscstadmin's apply then wrote 0 to the runtime, destroying
their per-extent DLM lockspaces. iscsi.alua.standby_fix_cluster_mode
would then re-cluster them, the cycle repeating.

This PR removes the race by handing cluster_mode ownership entirely to
middleware.

- iscsi.scst.path_write_if_needed: read first and write only if the

    [2 lines not shown]
DeltaFile
+13-29src/middlewared/middlewared/etc_files/scst.conf.mako
+18-3src/middlewared/middlewared/plugins/iscsi_/scst.py
+2-0src/middlewared/middlewared/plugins/iscsi_/iscsi_global.py
+33-323 files

OPNSense/core 5fe316bsrc/opnsense/mvc/app/controllers/OPNsense/Interfaces/Api AssignmentController.php, src/opnsense/mvc/app/models/OPNsense/Interfaces NetInterface.php

Interfaces: Assignments - refactor to MVC for https://github.com/opnsense/core/issues/9945

In order to migrate the interface assignments, we need to think of a way to use the differently named xml nodes for interfaces (wan, lan, ..) into something that closely resembles a standard model implementation.
Since we can't match these nodes in our statically defined model xmls, the main idea is to flush all via an in-memory model with a separate load [construct] and save hook [serializeToConfig].

The next challenge is to "stash" updates and wait for "apply" in certain cases, for this we add a temporary database holding the changes  which are synced after the actual system change has happend (pending_action, pending_if). When succesfully applied, the apply function cleans up the final stage of the configuration to make everything consistent again.

This database is a simple single json encoded file named /tmp/.interfaces.todo
DeltaFile
+0-498src/www/interfaces_assign.php
+172-0src/opnsense/mvc/app/models/OPNsense/Interfaces/NetInterface.php
+170-0src/opnsense/mvc/app/controllers/OPNsense/Interfaces/Api/AssignmentController.php
+90-0src/opnsense/scripts/interfaces/list_assign_options.php
+73-0src/opnsense/mvc/app/models/OPNsense/Interfaces/FieldTypes/DeviceField.php
+64-0src/opnsense/scripts/interfaces/apply_pending_if_changes.php
+569-49810 files not shown
+751-50316 files

LLVM/project b9d07e4llvm/lib/Target/AArch64 AArch64TargetTransformInfo.cpp, llvm/test/Transforms/InstCombine/AArch64 sve-intrinsic-mla-one.ll

[AArch64][SVE] add missing instcombine x+1 -> x

Split out from #198566
DeltaFile
+65-0llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-mla-one.ll
+29-0llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+94-02 files

LLVM/project 3734a92lldb/include/lldb/Host/common NativeProcessProtocol.h, lldb/source/Plugins/Process/Windows/Common NativeProcessWindows.cpp NativeProcessWindows.h

[lldb][Windows] Forward debuggee STDOUT through lldb-server via ConPTY (#201124)

`lldb-server.exe` currently does not forward the debuggee's STDIO to the
client.

This patch wires STDOUT using a ConPTY, mirroring the existing
`ProcessWindows` path. The two implementations share the same
infrastructure (PseudoConsole, ConnectionConPTY, ThreadedCommunication):

- The ConPTY is setup in
`GDBRemoteCommunicationServerLLGS::LaunchProcess`.
- `NativeProcessWindows` owns the ConPTY STDOUT read thread. The
read-thread callback forwards each chunk into a new
`NativeProcessProtocol::NewProcessOutput` delegate hook.
- `GDBRemoteCommunicationServerLLGS::NewProcessOutput` copies the data
and posts `SendONotification` to the main loop.
- The ConPTY is closed in `OnExitProcess`.

This patch uses a default terminal size to create the ConPTY, which

    [5 lines not shown]
DeltaFile
+54-3lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
+37-5lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
+21-0lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.h
+12-0lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h
+5-0lldb/include/lldb/Host/common/NativeProcessProtocol.h
+129-85 files

OPNSense/core d927ef2src/opnsense/mvc/app/models/OPNsense/Firewall/Menu Menu.php

Migration assistant menu item on second level in the menu tree can use cssClass for icon render
DeltaFile
+4-3src/opnsense/mvc/app/models/OPNsense/Firewall/Menu/Menu.php
+4-31 files

LLVM/project e0666a9llvm/include/llvm/IR GlobalValue.h, llvm/include/llvm/Transforms/Utils AssignGUID.h

Reland #184065
DeltaFile
+61-17llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+45-30llvm/lib/LTO/LTO.cpp
+57-2llvm/lib/IR/Globals.cpp
+49-3llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+49-0llvm/include/llvm/Transforms/Utils/AssignGUID.h
+42-5llvm/include/llvm/IR/GlobalValue.h
+303-57114 files not shown
+808-382120 files

LLVM/project 678c1a2llvm/lib/Transforms/Scalar LoopFuse.cpp

[LoopFusion][NFC] Fix NumSunkInsts statistic description (NFC) (#201841)

The NumSunkInsts counter was described as "Number of hoisted preheader
instructions.", a copy of NumHoistedInsts. It counts sunk instructions.
DeltaFile
+1-1llvm/lib/Transforms/Scalar/LoopFuse.cpp
+1-11 files

OpenBSD/ports e5rb4Xrmultimedia/libmediainfo Makefile distinfo, multimedia/mediainfo distinfo Makefile

   mediainfo: maintenance update to 26.05

   Also enable symbol visibility.
VersionDeltaFile
1.27+3-3multimedia/libmediainfo/Makefile
1.25+2-2multimedia/libmediainfo/distinfo
1.44+2-2multimedia/mediainfo/distinfo
1.51+1-1multimedia/mediainfo/Makefile
+8-84 files

LLVM/project 441a725flang/lib/Semantics check-omp-loop.cpp check-omp-structure.cpp, flang/test/Semantics/OpenMP simd-aligned.f90 linear-clause01.f90

[Flang][OpenMP] Fix false positive common block error in LINEAR clause (#189170)

Fixes #184923
DeltaFile
+8-1flang/test/Semantics/OpenMP/simd-aligned.f90
+3-1flang/test/Semantics/OpenMP/linear-clause01.f90
+2-2flang/lib/Semantics/check-omp-loop.cpp
+1-1flang/lib/Semantics/check-omp-structure.cpp
+14-54 files

LLVM/project b082ea1mlir/lib/Dialect/LLVMIR/IR LLVMDialect.cpp, mlir/test/Dialect/LLVMIR canonicalize.mlir

[MLIR][LLVMIR] Fix llvm.extractvalue folder (#201838)

Fix the llvm.extractvalue folder when trying to extract a value from a
multidimensional constant. Add lit tests that would crash without the
fix.
DeltaFile
+24-0mlir/test/Dialect/LLVMIR/canonicalize.mlir
+8-4mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
+32-42 files

FreeNAS/freenas 4e32582src/middlewared/middlewared/plugins support.py

test
DeltaFile
+10-0src/middlewared/middlewared/plugins/support.py
+10-01 files

OPNSense/core a134f5dsrc/opnsense/mvc/app/views/OPNsense/Firewall filter_rule.volt

Firewall: Rules: header checkbox for multi-row selection now works properly
DeltaFile
+0-6src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+0-61 files

FreeBSD/ports fda9bb4net/serviio distinfo Makefile

net/serviio: update to 2.5
DeltaFile
+3-3net/serviio/distinfo
+2-2net/serviio/Makefile
+5-52 files

OpenBSD/ports Yz6CsBMx11/stumpwm Makefile

   bump x11/stumpwm after lang/sbcl update
VersionDeltaFile
1.43+1-1x11/stumpwm/Makefile
+1-11 files

OpenBSD/ports uto1sCLlang/python/3 python.port.mk

   bsd.port.mk: python-modules(5) -> python-module(5) twice

   ok sthen
VersionDeltaFile
1.27+2-2lang/python/3/python.port.mk
+2-21 files