fixup! [clang] Forward `-fvalidate-ast-input-files-content` when loading AST dumps
Apparently `-t 300001010000` is not a universally valid date format.
This should fix the buildbot failure caused by #196298
Replace with an in-line python script that should be more portable.
[AMDGPU] Replace vdst_in opcode exclusion list with position check (#196946)
Use getNamedOperandIdx to detect if vdst_in has already been added by a
prior converter, instead of maintaining a hardcoded opcode list.
[AArch64] Improve v1i64/v2i64 clmulh. (#196694)
We can use pmull/pmull2 to compute the full product then take the high
half.
---------
Co-authored-by: Matthew Devereau <matthew.devereau at arm.com>
[clang-tidy][NFC] Use `std::array` instead of `SmallVector` in `UseTrailingReturnTypeCheck`
We know we have exactly 2 `Token` in the array. There is no need to use `SmallVector` here.
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.
[mlir][SparseTensor] Terminology cleanup PIV -> PCV (NFC) (#196707)
This PR standardizes terminology in the MLIR sparsifier by replacing the
PIV (Pointer, Index, Value) terminology with the PCV (Position,
Coordinate, Value) terminology established in
https://reviews.llvm.org/D144773. The changes include renaming template
parameters and error macros.
[lldb] Rename GetInstanceVariableName to GetInstanceName (NFC) (#196453)
Based on Jim's comments
(https://github.com/llvm/llvm-project/pull/195187#discussion_r3205135577)
which highlights that it is incorrect to call this/self an "instance
variable".
I went with "instance name" to leave out the word "object", since not
all instances values are objects.
Add tiering API
This commit modifies the truenas API to wrap around tiering design
in the following ways:
A new namespace zfs.tier. will be added. This contains global
configuration for systemwide tiering settings. Parameters include
- enabled: whether to enable tiering. This feature requries changes
to global ZFS behavior and we will have various internal checks
that check this value in datastore extend context methods.
- max_concurrent_jobs: the maximum number of concurrent rewrite
jobs (tier migrations for existing data).
- min_available_space: point in available space for a dataset where
tier migrations will error out.
The namespace will also support APIs for managing and querying
[9 lines not shown]
[LLVM] Add validation to check the number of intrinsic args (#196563)
Add validation to check the number of intrinsic args. In service of
that, extend `getIntrinsicInfoTableEntries` to return several things:
* ArrayRef to the Table (as a convenience).
* Number of arguments
* Does the intrinsic have variable arguments.
This avoids some code duplication at various callers of
`getIntrinsicInfoTableEntries`. To have `getIntrinsicInfoTableEntries`
correctly compute the number of arguments based on trip count of the
while loop, move parsing of element type for `IIT_SAME_VEC_WIDTH_ARG` to
a recursive call from `DecodeIITType`.
NAS-140915 / 27.0.0-BETA.1 / Add recursion for filesystem.set_zfs_attributes (#18906)
This commit expands the API for filesystem.set_zfs_attributes to include
options for recursion. Specifically, we can do non-recursive, recursive
on files only and recursive on directories only, or recursively on both
files and directories.
(cherry picked from commit 67210c8d06d459ed00b50d39df666f9439d218a4)