NAS-140028 / 26.0.0-BETA.1 / remove PoolUSBDisks alert (#18318)
This was added in https://github.com/truenas/middleware/pull/9630 which
was for a single community user running a plex app back when we were
still using k3s....
The methods that have to be called just to show this alert are
incredibly expensive and this is in a really hot path of code
(potentially). While it's bad that a user would create a zpool based on
USB disks, the amount of overhead and inefficiencies that we inherited
by this alert far outweigh the usefulness of this alert. The simplest
and best approach is to remove it. So that's what I'm doing. By removing
the alert, it allows us to remove expensive middleware calls from a
hot-path that affects our enterprise customers.
NOTE: I still leave logic in there to delete the alert if it's still in
our db on upgrade.
security/owasp-dependency-check: Remove expired port
2026-02-28 security/owasp-dependency-check: This port is 9 major versions and almost 8 years behind on upstream. No maintainer. No users in the ports tree. Does not compile with jdk11+.
devel/godot35: Remove expired port
2026-02-28 devel/godot35: Legacy version should have been removed with devel/godot35-tools, consider migrating to devel/godot
[mlir][IR] Generalize `DenseElementsAttr` to custom element types (#179122)
`DenseElementsAttr` supports only a hard-coded list of element types:
`int`, `index`, `float`, `complex`. This commit generalizes the
`DenseElementsAttr` infrastructure: it now supports arbitrary element
types, as long as they implement the new `DenseElementTypeInterface`.
The `DenseElementTypeInterface` has the following helper functions:
- `getDenseElementBitSize`: Query the size of an element in bits. (When
storing an element in memory, each element is padded to a full byte.
This is an existing limitation of the `DenseElementsAttr`; with an
exception for `i1`.)
- `convertToAttribute`: Attribute factory / deserializer. Converts bytes
into an MLIR attribute. The attribute provides the assembly format /
printer for a single element.
- `convertFromAttribute`: Serializer. Converts an MLIR attribute into
bytes.
Note: `convertToAttribute` / `convertFromAttribute` are mainly for
[23 lines not shown]
Revert "[mlir][IR] Generalize `DenseElementsAttr` to custom element types" (#183917)
Reverts llvm/llvm-project#183891
Reverting a second time. The build bot failure seems to be
non-deterministic.
[CMake] Use keyword signature in two additional callsites (#183889)
Fix-forward for https://github.com/llvm/llvm-project/pull/183541.
Two callsites to target_link_libraries were not migrated to the
keyword signature.
Signed-off-by: Itay Bookstein <itay.bookstein at nextsilicon.com>
NAS-140027 / 26.0.0-BETA.1 / add get_zpool_disks_impl (#18317)
Add zpool directory and a "get_zpool_disks_impl" function. This uses the
newly minted status() method in our C based libzfs module. The speed
benefits can't be overstated. In my very unscientific method of testing,
before these changes (using legacy libzfs module) it took ~0.78 seconds
and this one takes ~0.49 which is ~37% speed-up.
In practice, however, the speed-up will be more dramatic because I was
simply testing from user space going through our `midclt` (web socket
client script) which has a bunch of overhead.
java/openjdk25: Fix headless build
The OpenJDK headless builds still need xorg and related libraries.
This should hopefully fix the pkg fallouts reported after the update to
25.0.2.
Reviewed by: fuz (mentor)
Approved by: fuz (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55589
yt-dlp-ejs: update to 0.5.0
- Dev and runtime improvements
- fix: sig extraction in main variant of player
- Fix sig solving for tce and es6 player variants
[mlir][VectorToLLVM] Fix crash in VectorInsertOpConversion with dynamic index (#183783)
VectorInsertOpConversion crashes with an assertion failure when
inserting a sub-vector at a dynamic position into a multi-dimensional
vector. The pattern calls getAsIntegers() on the position, which asserts
that all fold results are compile-time constant attributes.
The existing guard (checking llvm::IsaPred<Attribute>) only covered the
case where a scalar is inserted into the innermost dimension (the
extractvalue path). The guard was missing for the insertvalue path when
inserting a sub-vector at a dynamic position into a nested aggregate.
Fix: add the same guard before the llvm.insertvalue creation to return
failure() gracefully when any position index is dynamic, matching the
behavior of VectorExtractOpConversion.
Fixes #177829
Remove the IOMMU-specific bus_dmamap_sync() implementation and just call
the default implementation instead. The current #ifdef'ed out code just
doesn't make sense.
ok chris@
[mlir][IR] Generalize `DenseElementsAttr` to custom element types (#183891)
`DenseElementsAttr` supports only a hard-coded list of element types:
`int`, `index`, `float`, `complex`. This commit generalizes the
`DenseElementsAttr` infrastructure: it now supports arbitrary element
types, as long as they implement the new `DenseElementTypeInterface`.
The `DenseElementTypeInterface` has the following helper functions:
- `getDenseElementBitSize`: Query the size of an element in bits. (When
storing an element in memory, each element is padded to a full byte.
This is an existing limitation of the `DenseElementsAttr`; with an
exception for `i1`.)
- `convertToAttribute`: Attribute factory / deserializer. Converts bytes
into an MLIR attribute. The attribute provides the assembly format /
printer for a single element.
- `convertFromAttribute`: Serializer. Converts an MLIR attribute into
bytes.
Note: `convertToAttribute` / `convertFromAttribute` are mainly for
[26 lines not shown]