NAS-143788 / 26.0.0-RC.1 / Add sharing.s3.force_disable_versioning (by anodos325) (#19737)
Versioning cannot return to OFF through sharing.s3.update. The new
endpoint is the deliberate exception: it forces the row to OFF, clears
snapshot_versions, restarts the S3 service, and the daemon then slowly
removes the stored versions. Refused on object-lock buckets.
Original PR: https://github.com/truenas/middleware/pull/19729
Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
kernel - Fix lost wakeup in fifo_open()
* fifo_open() tests fi_readers, drops the fifo and vnode locks, then
tsleeps. A peer opening in that window bumps the counter and issues
its wakeup before the sleeper is queued, so open(2) blocks forever
with a peer already attached. Both paths are affected.
* Queue with tsleep_interlock() before releasing the locks and sleep
with PINTERLOCKED.
Reviewed-by: @dillon
NAS-143795 / 27.0.0-BETA.1 / Fix snapshot count fast path (#19738)
`ds_hdl.get_property` does not exist. Both calls sat inside bare except
`Exception` blocks, so the `AttributeError` was swallowed every time.
`__try_count_via_nlink` always returned `None`, and `changed_ts` was
always `None`. The `st_nlink` short-circuit never ran and the TDB cache
never stored or hit a single entry. Every count fell through to a full
`iter_snapshots` walk, silently.
NAS-143788 / 26.0.0 / Add sharing.s3.force_disable_versioning (by anodos325) (#19736)
Versioning cannot return to OFF through sharing.s3.update. The new
endpoint is the deliberate exception: it forces the row to OFF, clears
snapshot_versions, restarts the S3 service, and the daemon then slowly
removes the stored versions. Refused on object-lock buckets.
Original PR: https://github.com/truenas/middleware/pull/19729
Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
iflib: Use private lifecycle state for control work
Use the context-locked datapath state for netmap initialization results,
resume completion and administrative work eligibility. Keep stopped
and failed interfaces eligible for link and mailbox recovery without
using IFF_DRV_OACTIVE as an implicit indication that initialization has
been attempted. Evaluate media and deferred admin eligibility under
the context lock rather than from an earlier IFF_DRV_ flag snapshot.
Always pass through iflib_stop() before an IOV-init callback which
changes the PF queue layout, as the IOV-uninit counterpart already does.
Neither administrative down nor a cleared IFF_DRV_RUNNING proves that
queue DMA is stopped. The private lifecycle state decides whether the
hardware stop is necessary; IFF_UP only decides whether to initialize
again afterward.
Reviewed by: iflib (gallatin)
MFC after: 2 weeks
Sponsored by: BBOX.io
Differential Revision: https://reviews.freebsd.org/D59597
NAS-143788 / 27.0.0-BETA.1 / Add sharing.s3.force_disable_versioning (#19729)
Versioning cannot return to OFF through sharing.s3.update. The new
endpoint is the deliberate exception: it forces the row to OFF, clears
snapshot_versions, restarts the S3 service, and the daemon then slowly
removes the stored versions. Refused on object-lock buckets.
[NewPM] Add helper function to skip for opt-bisect
With the introduction of CodeGen passes to the NewPM infrastructure, we
get the concept of required passes that perform optimizations and want
to skip them when running under opt bisect. This occurs for passes like
SelectionDAG and StackColoring. Add a helper function to make it easy to
query, although make it specific to opt bisect unlike the LegacyPM
skipFunction. A helper function is slightly more convenient (i.e., no
need to forward the pass name explicitly).
Reviewers: nikic, arsenm, aeubanks
Pull Request: https://github.com/llvm/llvm-project/pull/223486
[CHERI][RISCV][AsmPrinter] Use pointer index size rather than pointer size in AsmPrinter constant lowering. (#220100)
This prevents a crash due to APInt width mismatches during
accumulateConstantOffset for CHERI targets.
clang: Fix exception model flag tests if webassembly isn't build (#223770)
The wasm and emscripten RUN lines require the WebAssembly backend due to
the use of -mllvm -wasm-enable-eh, until that flag is fully replaced with
the new exception model flag.
Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
[flang][cuda][NFC] Move CUFDeviceIsActive function to the right place (#223453)
The definition and declaration were done in different files (descriptor
and allocator). Move all to allocatable as this check is used for the
automatic deallocation.
[[mlir][linalg] Infer reduction-neutral padding values in rewriteAsPaddedOp (#216517)
**Problem**:
with no explicit options.paddingValues, rewriteAsPaddedOp padded every
operand with zero — silently corrupting reductions (a padded
maximumf/mulf element gets combined).
**Change**:
Added a new public linalg::inferPaddingValues(builder, toPad) to pick a
semantics-preserving value per operand:
- no reduction dim → zero;
- contraction → zero (0 annihilates through the multiply);
- other reductions → the combiner's neutral (-inf for maximumf, 1 for
mulf, …), found via matchReduction so the real accumulator combiner is
used.
rewriteAsPaddedOp calls it when options.paddingValues is empty. If no
value can be inferred, it returns failure() with the error "could not
infer a padding value"; the caller is then expected to determine the
[6 lines not shown]
[docs] Prefer portable Markdown documentation links
Document and enforce source-relative Markdown links for documents and
generated heading anchors. Diagnose nonportable project: and generated HTML
links, and convert the existing LLVM Markdown links to the preferred form.