net/seda: does not compile with jdk25 and deprecate
Error with jdk25:
[javac] /wrkdirs/usr/ports/net/seda/work/seda-release-20020712/seda/src/seda/sandStorm/internal/ATTIC/AggTPSThreadManager.java:124: error: cannot find symbol
[javac] tg.stop();
[javac] ^
[javac] symbol: method stop()
[javac] location: variable tg of type ThreadGroup
Note that the original author of the SEDA framework already
doubted some parts of it in a blog from 2010.
https://matt-welsh.blogspot.com/2010/07/retrospective-on-seda.html
PR: 293559
Approved-by: no maintainer
NAS-140407 / 25.10.2.2 / Fix FC/iSCSI path availability during ALUA failover (#18568)
Fixes FC/iSCSI path availability during HA failover when ALUA is
enabled.
Four independent problems caused paths to drop or I/O to fail during the
`dev_disk` -> `dev_vdisk` LUN swap window:
- **FC path death**: HA iSCSI session logout cascaded through SCST and
removed LUN mappings before the LUN swap, destroying the ALUA tgt_dev
filter and causing LUN NOT SUPPORTED on FC. Fixed by deferring
`reset_active` to after `become_active` has replaced all LUN mappings.
- **90-second global drain**: `activate_extents` wrote `active=1` via
sysfs, triggering `scst_suspend_activity(90s)`. Fixed by removing the
job entirely - `bind_alua_state=1` already handles dev_vdisk file-open
drain-free via `blockio_on_alua_state_change_finish`.
- **LUN replace blocks on in-flight commands**: `scst_acg_repl_lun`
[16 lines not shown]
NAS-139966 / 27.0.0-BETA.1 / Strip double-quote and backslash from VPD serial numbers (#18579)
## Problem
Disk serial numbers may contain special characters (e.g., double quotes
or backslashes) due to unusual hardware encodings. These characters were
not removed during serial sanitization and were propagated into Netdata
chart and dimension identifiers.
The presence of unescaped quote or backslash characters resulted in
malformed JSON output and downstream parsing errors when consuming
metrics.
## Solution
Extended the serial sanitization logic to also strip double-quote (`"`)
and backslash (`\`) characters. This guarantees that disk identifiers
passed to Netdata are always JSON-safe.
[UnsafeBufferUsage] Check for uninstantiated default arguments to prevent crash. (#188817)
Fix a crash introduced by
https://github.com/llvm/llvm-project/pull/184899
The -Wunsafe-buffer-usage analysis was crashing when it encountered a
template function with a default argument that hadn't been instantiated
yet. This occurred in populateStmtsForFindingGadgets when it attempted
to access the default argument of each parameter.
This fix adds a check to ensure the default argument is instantiated
before attempting to access it.
Assisted-by: Gemini
shm_open(3): align the type of the mode_t parameter with POSIX
POSIX says that sys/mman.h should also define mode_t which is currently
missing.
With mode_t defined there, the type of the last parameter of the shm_open
function can be changed from __mode_t to mode_t, matching the standard.
Both issues flagged by Sortix os-test.
ok deraadt@, millert@
[lldb] Enable caching for BytecodeSyntheticChildren::FrontEnd::Update (#181199)
Update `BytecodeSyntheticChildren` to support `ChildCacheState` return
values from `@update` implementations.
[lldb][bytecode] Change compiler to require update return type decl (#188637)
To better ensure that bytecode `@update` implementations return a 0/1
value (see https://github.com/llvm/llvm-project/pull/181199), this
changes the Python -> formatter bytecode compiler to require that Python
`update` methods be declared to return `bool`.
A declaration like this will be a compiler error:
```py
def update(self):
# implementation...
```
[AMDGPU] Do not overlap dst with srcs for v_cvt_scalef32_2xpk16_fp6/bf6_f32 (#188809)
v_cvt_scalef32_2xpk16_fp6_f32 and v_cvt_scalef32_2xpk16_bf6_f32, as multipass instructions,
the destination operand must not overlap with any of the source operands.
In this work, we apply Constraints = "@earlyclobber $vdst" to these two instructions.
Fixes: LCCOMPILER-561
[VPlan] Explicitly unroll replicate-regions without live-outs by VF. (#170212)
This patch adds a new replicateReplicateRegionsByVF transform to
unroll replicate=regions by VF, dissolving them. The transform creates
VF copies of the replicate-region's content, connects them and converts
recipes to single-scalar variants for the corresponding lanes.
The initial version skips regions with live-outs (VPPredInstPHIRecipe),
which will be added in follow-up patches.
Depends on https://github.com/llvm/llvm-project/pull/170053
PR: https://github.com/llvm/llvm-project/pull/170212