iSCSI ALUA: regression test for failover LUN-replace stall
Add an extended test that builds 2 targets (25 + 10 LUNs), opens an
iSCSI session to the standby on the 25-LUN target so the kernel has
tgt_devs to clean up during become_active, then triggers an ungraceful
failover via poweroff_vm. Asserts:
- /var/log/failover.log on the new master does not contain
'Failed to restart service "iscsitarget" after 15 seconds',
which would indicate the LUN-replace loop stalled.
- /sys/kernel/scst_tgt/async_lun_replace reads 0 after failover,
confirming reset_active released the parked cleanup work.
- All LUNs are reachable on the new master.
A function-scoped fixture handles recovery (start_vm, wait_for_backup,
wait_for_settle) so the cluster is restored to a clean two-node state
even if an assertion above failed.
Uses the dataset() asset helper rather than zvol() for lower
per-extent overhead at this scale.
Release parked async LUN-replace cleanup after DLM peer eviction
scst.async_lun_replace=1 now also tells the kernel to park the deferred
cleanup of old tgt_devs from each LUN replace until the flag is cleared.
This avoids stalling become_active on scst_dlm_lock_wait inside
scst_clear_reservation while the dead peer is still a DLM lockspace
member.
Add iscsi.scst.disable_async_lun_replace and call it from the end of
iscsi.alua.reset_active, after dlm.reset_active (which evicts the peer)
completes.
[lldb] Support list-ing Source Embedded in DWARF (#191802)
Compiled programs that embed their source code into their debugging
information (using, e.g., DW_LNCT_LLVM_source) should display that code
during debugging sessions.
Fixes #191801
NAS-140966 / 26.0.0-RC.1 / Move UPLOADED_DB_PATH to utils.db to break import cycle (by bmeagherix) (#18933)
Preexisting fragility caused to manifest by PR #18918
Original PR: https://github.com/truenas/middleware/pull/18932
Co-authored-by: Brian M <brian.meagher at ixsystems.com>
[SPIRV] Extend NSDI debug handling for DebugTypeFunction.
Changes:
- Collect required types with DebugInfoFinder instead of walking DbgVariableRecords only. This allows processing types that might not be available in these records, and avoids code duplication for the traversals.
- Emit DebugTypeFunction for DISubroutineType when every signature slot maps to an
emitted debug type.
- Reset per-module state in beginModule().
- Replace parallel FileStringRegs/BasicTypeNameRegs with a StringMap OpString
cache, deduplicating identical strings.
- Add LLVM DINode flag lowering for NSDI.
- Cache DebugInfoNone, OpTypeVoid and OpTypeInt32 registers to avoid duplicate instructions.
[GitHub] Support issue_comment workflows in issue_write (#192205)
This is split off from #190010. We want to add a new workflow triggered
whenever a comment is added to an issue (workflow_run.event ==
'issue_comment'), that also writes an comment back via the issue_write
workflow.
However for issue_comment workflows, the head branch for the workflow
won't be the head of the PR, but the default branch of the repository.
So trying to fetch the PR based on the branch will fail.
GitHub docs seem to recommend that the PR number is explicitly passed
via an artifact in these cases:
https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#using-data-from-the-triggering-workflow
This PR adds support for this so we can eventually leave comments from
the test-suite.yml workflow
[libc] Fix -Wshadow warning in atanf.h (#196850)
x_d already exists in an outer scope and isn't modified if `x_abs <
0x3980'0000`, so no need to have a shadowing variable.
No behavior change.
[SPIRV] Extend NSDI debug handling for DebugTypeFunction.
Changes:
- Collect required types with DebugInfoFinder instead of walking DbgVariableRecords only. This allows processing types that might not be available in these records, and avoids code duplication for the traversals.
- Emit DebugTypeFunction for DISubroutineType when every signature slot maps to an
emitted debug type.
- Reset per-module state in beginModule().
- Replace parallel FileStringRegs/BasicTypeNameRegs with a StringMap OpString
cache, deduplicating identical strings.
- Add LLVM DINode flag lowering for NSDI.
- Cache DebugInfoNone, OpTypeVoid and OpTypeInt32 registers to avoid duplicate instructions.
math/givaro: Add DOXYGEN option
- Sort PLIST
- Bump PORTREVISION for package change
Documentation built with Doxygen should be added to DOXYGEN option
rather than DOCS option.
PR: 295149
[lldb] Confine TestDlopenOtherExecutable.py to Darwin-{x86_64,arm64} (#196405)
First, I remove all the `skipIf` and `expectedFailure` in favor of
`skipUnlessDarwin` because that appears to be the only supported
platform here.
Next, I limit the architectures to x86_64 and arm64. Opening other
executables is a hack that works in limited circumstances. arm64e is not
supported.