pddupfd.2: fix errno value returned for non-procdesc argument
Noted and reviewed by: lwhsu
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D58666
workflows/release-documentation: Rework workflow to make it testable
Removed the environment declaration from the validation job and split
out the www-releases update into a separate job. This makes it safe
and possible to add a pull_request trigger so we can at least test
building the documentation when someone submits a pull request.
workflows: Remove unnecessary checkouts before uses of upload-release-artifact (#213830)
The workflow is now self-contained and checks out its own scripts, so we
don't need to do this in the calling workflow. The '$' prefix in the
uses tag tells github actions to load the action from the repository
directly rather than searching for it on the local file system.
https://github.blog/changelog/2026-07-30-reference-same-repository-actions-with-self-repository-syntax/
[AMDGPU][GISel] Add RegBankLegalize rules for amdgcn_tanh
Enable the existing gfx1250 and gfx13 GlobalISel coverage now that tanh operands are assigned to VGPRs.
Change-Id: I38b5693015550df52042dc52d1151ed4b7fea118
[clang][Lex] Fix ambiguous reference to Token error (#214300)
At least with GCC 11.4.0 this is deemed an error.
Fixes: 56dc58dc2550 ("[Clang][Preprocessor] Unify header-name lookahead
for import and include (#191004)")
[AMDGPU][Clang] Handle instantiation-dependent fence arguments
Refactor atomic builtin checks into their switch case and defer constant
evaluation of dependent arguments until instantiation, avoiding a potential
crash during template definition.
Fixes ROCM-29058.
DDT: Skip DDT log lookups in ddt_prune_walk()
DDT log is not explicitly locked, and serialized only by the TXG
sync process. Since that stage of ddt_prune_walk() is not in sync
with the TXG sync process, we can't access the DDT log there. We
could possibly lock it, but it seems we can just skip it, since it
is only a performance optimization, while the final LOG lookup is
be done by prune_candidates_sync() any way.
Reviewed-by: Rob Norris <rob.norris at truenas.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Alexander Motin <alexander.motin at TrueNAS.com>
Closes #18889
dbuf: use dirty record size for overridden writes
A level-0 dirty record retains its ARC buffer after dmu_sync() writes it
for an indirect ZIL record. If a newer transaction group changes the
block size before the older one syncs, that retained buffer and the live
dbuf legitimately have different sizes.
The normal fallback is reachable when encryption and dedup are enabled.
dmu_sync() keeps the dedup checksum for the override BP. Syncing-context
policy then enables dedup, but zio_write_bp_init() cannot reuse an
encrypted dedup override and restores the regular write pipeline.
dbuf_write() built its ABD from the retained buffer but passed the live
dbuf size to ZIO. After growth, compression can therefore read beyond
the retained allocation. After shrink, the older transaction group's
block is instead written with the newer, smaller LSIZE and truncated
data.
This was observed as a 527 KiB compression request against a retained
[20 lines not shown]
[AsmPrinter] Use DenseMap instead of MapVector (NFC) (#214256)
MBBSectionNumBlocks is accessed only via MapVector::operator[].
This patch changes its type to DenseMap to avoid populating the vector
portion of MapVector.
workflows: Remove unnecessary checkouts before uses of upload-release-artifact
The workflow is on self-contained and checks out its own scripts, so we
don't need to do this in the calling workflow. The '$' prefix in the
uses tag tells github actions to load the action from the repository
directly rather than searching for it on the local file system.
https://github.blog/changelog/2026-07-30-reference-same-repository-actions-with-self-repository-syntax/
[AMDGPU][Clang] Handle instantiation-dependent fence arguments
Refactor atomic builtin checks into their switch case and defer constant
evaluation of dependent arguments until instantiation, avoiding a potential
crash during template definition.
Fixes ROCM-29058.