Query kea-ctrl-socket for existing leases since the in-memory database is mutated when using lease-del, the csv files still show leases for a while that do not exist in memory anymore until a cleanup happens periodically.
mvc: Shell: rewrite exec_safe() to avoid vsprintf() complications; closes #9703
Only support %s and %% using preg_replace_callback() and throw
3 distinct TypeError cases making sure the resulting command is
the dummy command then.
We're not overly interested in how well escapeshellarg() works,
but we ensure it's being called always.
(cherry picked from commit b25bdee3b4d76b4e722d30fadd3591d90e30b50c)
(cherry picked from commit aef0172f5596683f4dba6a805f80b85116653dff)
[mlir][affine] Fix crash in addAffineParallelOpDomain with min/max bounds (#184130)
`addAffineParallelOpDomain` checked `isConstant()` on the per-IV bound
maps of `affine.parallel`, then called `getSingleConstantResult()`.
However, `isConstant()` returns true for maps with *any* number of
constant results, while `getSingleConstantResult()` asserts exactly one.
When an `affine.parallel` has a multi-result bound (e.g., `to (min(128,
122))`), the per-IV upper bound map has two results `{128, 122}`, so
`isConstant()` is true but the subsequent `getSingleConstantResult()`
call aborts.
Fix by using `isSingleConstant()` (which requires exactly one result)
instead. Multi-result constant maps (min/max with all-constant
alternatives) are then handled by the general `addBound` path, which
correctly models the min/max semantics as multiple constraints.
Fixes #61734
Assisted-by: Claude Code
[MLIR][Affine] Fix crash in replaceAllMemRefUsesWith when replacement fails (#186282)
When the multi-user overload of `replaceAllMemRefUsesWith` iterates over
collected ops and calls the single-op overload, the single-op version
can legitimately fail (e.g., when the op uses the same memref in
multiple incompatible roles, such as both source and tag in
`affine.dma_start`). The code previously called `llvm_unreachable` in
this case, causing a crash.
Fix by propagating the failure via `return failure()` instead.
Fixes #60021
Assisted-by: Claude Code
[X86] combineX86ShufflesRecursively - decode insert_subvector(undef, x, c) as shuffle if c != 0 (#188021)
Allows us to combine non-free subvector widening patterns into the
shuffle chain - combineX86ShufflesRecursively already peeks through free
cases where c == 0
Removes some unnecessary shuffles reported on #187447 for v2i256 cases
games/minecraft-server: Fix java version in rc script
The service fails to start - the default value for the Java version was
"21+" instead of the specific "N" selected during build according to
DEFAULT_VERSIONS+=java=N.
Replace JAVA_VERSION with JAVA_PORT_VERSION in SUB_LIST.
Approved by: blanket (fix runtime)
MFH: 2026Q1
(cherry picked from commit 7847d2d4477afd99b738a5bc6a8f07c05d14cb81)
[flang][OpenM] Check if loop nest/sequence is well-formed
Check if the code associated with a nest or sequence construct is well
formed. Emit diagnostic messages if not.
Make a clearer separation for checks of loop-nest-associated and loop-
sequence-associated constructs.
Unify structure of some of the more common messages.
Issue: https://github.com/llvm/llvm-project/issues/185287
games/minecraft-server: Fix java version in rc script
The service fails to start - the default value for the Java version was
"21+" instead of the specific "N" selected during build according to
DEFAULT_VERSIONS+=java=N.
Replace JAVA_VERSION with JAVA_PORT_VERSION in SUB_LIST.
Approved by: blanket (fix runtime)
MFH: 2026Q1
[clang][test] Add missing FileCheck pipe in ast-crash-doc-function-template.cpp (#187969)
The test had a CHECK directive that was never executed because the RUN
line did not pipe output to FileCheck.
[LoongArch] Mark VREPLGR2VR/XVREPLGR2VR as re-materializable
The VREPLGR2VR and XVREPLGR2VR instruction families replicate a
scalar general-purpose register value into all elements of a vector
register. These instructions are side-effect free and relatively
cheap, with their result depending only on the input register.
Mark them as isReMaterializable to allow the register allocator to
recompute the value when profitable instead of spilling and reloading
it from memory.
This can help reduce register pressure and avoid unnecessary memory
traffic in vectorized code.
[LoongArch] Mark VPICK_ZEXT_ELT as zero-extending in computeKnownBits
Teach computeKnownBitsForTargetNode that VPICK_ZEXT_ELT produces a
zero-extended result.
VPICK_ZEXT_ELT extracts a narrower element (e.g. i16) and returns it in a
larger integer type (e.g. i64) with the upper bits guaranteed to be zero.
However, without KnownBits information, LLVM treats the upper bits as
unknown, which inhibits optimizations.
By marking all bits above the source element width as known zero, this
enables DAG combine and other optimizations to eliminate redundant
operations such as AND masks and SIGN_EXTEND_INREG.
For example, this allows patterns like:
(sign_extend_inreg (VPICK_ZEXT_ELT ...), i32)
to be simplified when the sign bit is known to be zero.
[MLIR][Vector] Remove implicit bitcast behavior from vector.extract (#186383)
Drop the `isCompatibleReturnTypes` override on `ExtractOp` that allowed
`vector.extract` to return a `vector<1xT>` when the natural inferred
return type is scalar `T` (and vice versa). Switch the op from
`InferTypeOpAdaptorWithIsCompatible` to `InferTypeOpAdaptor` to match.
RFC:
https://discourse.llvm.org/t/rfc-remove-implicit-bitcast-behavior-of-vector-extract/90178
Add tiering API
This commit modifies the truenas API to wrap around tiering design
in the following ways:
A new namespace zfs.tier. will be added. This contains global
configuration for systemwide tiering settings. Parameters include
- enabled: whether to enable tiering. This feature requries changes
to global ZFS behavior and we will have various internal checks
that check this value in datastore extend context methods.
- max_concurrent_jobs: the maximum number of concurrent rewrite
jobs (tier migrations for existing data).
- min_available_space: point in available space for a dataset where
tier migrations will error out.
The namespace will also support APIs for managing and querying
[9 lines not shown]