Allow lower partition alignment if it is necessary to replace a disk in a pool created without partition margins
(cherry picked from commit 685921de30881eed6acbc494309274bac34b96d1)
Allow lower partition alignment if it is necessary to replace a disk in a pool created without partition margins
(cherry picked from commit 685921de30881eed6acbc494309274bac34b96d1)
Allow lower partition alignment if it is necessary to replace a disk in a pool created without partition margins
(cherry picked from commit 685921de30881eed6acbc494309274bac34b96d1)
NAS-140328 / 27.0.0-BETA.1 / Allow lower partition alignment if it is necessary to replace a disk in a pool created without partition margins (#18476)
Old TrueNAS systems:
* Used the entire disk for the data partition
* Used smaller partition alignment
When replacing a disk with such a partition, the new partition must be
at least
as large as the one being replaced (ZFS requires this). However, when
using a
larger alignment, the new partition may not fit on the disk. In that
case,
we must use a smaller alignment.
[lldb][PlatformDarwin][test] Move Platform test utilities into common header for re-use (#187036)
In https://github.com/llvm/llvm-project/pull/187031 I'm planning on
re-using the `MockScriptInterpreterPython` and `CreateFile` API from a
different unit-test in `Platform/`.
[analyzer] Fix [[clang::suppress]] for nested templates (#183727)
For nested templates, we might need to walk the member template chain to
get to the primary template. This can be an arbitrary long chain, of the
partial specializations.
Previously, we hit the assertion `This class template must have a redecl
that is a definition` because we only walked the redecls of the given
template. However, that redecl-chain might not have a redecl that is the
definition.
Sometimes (in case of member templates) you also need to walk the member
specialization and continue walking the redecls of that one.
(Don't ask me more, because I have no clue how these nested templates
and their redecls are implemented. It just works™️)
Fixes #182659
Assisted-by: claude
[libc] Add Jeff Bailey to Maintainers.rst (#186662)
Add Jeff Bailey as a maintainer for General Maintenance and
Documentation. Jeff has been contributing to LLVM-libc since January
2022. This addition was discussed at the most recent LLVM-libc meeting
with no objections raised.
[Instrumentation][nsan] Intrinsic tests + bugfixes (#186803)
Add comprehensive lit-test coverage to the NumericalStabilitySanitizer's
intrinsic and libfunc handling.
Also, several minor bugfixes:
- Fix typo in llvm.nearbyint.f80's name.
- Remove lround and llround intrinsics, since they return ints (and are
not instrumented by nsan as a result).
- Fix fmuladd.f64 intrinsic to map to fmuladd instead of fma.
- Add missing fmuladd.f80 variant.
[flang][OpenMP] Use the LoopSequence-based checks (#185300)
Turn on the new loop-construct checks. Remove some checks from
resolve-directives.cpp which are now done in the semantic analysis.
Update tests.
Issue: https://github.com/llvm/llvm-project/issues/185287
[lldb] Fix permission issue in API test on lldb-x86_64-win (#187021)
Deleting the executable at the end of this API test-case fails with a
permission error, likely because lldb still holds a reference to the
EXE. Exit explicitly to avoid that.
[SPIR-V] Add support for arbitrary precision integer constants in instruction printer (#185306)
This PR improves the SPIR-V instruction printer output for integer
constants using `SPV_ALTERA_arbitrary_precision_integers` extension.
Previously, when `OpConstantI` was encoded with multiple 32-bit words
(for integer widths > 64), the inst printer printed the raw per-word
immediates. This was hard to read and did not reflect the actual value
at the declared integer bitwidth.
Now, with the change in this patch, the instruction printer reconstructs
the multi-word literal into a single `APInt`, truncates it to the
bitwidth declared by the corresponding `OpTypeInt`, and prints the
resulting value as one readable integer (including correct negative
values where applicable).
---------
Co-authored-by: yixing.zhang <yixingzh at smtp.igk.intel.com>
Generate nfs.conf after system global ID creation on first boot
3fc4fba680 deletes /etc/nfs.conf on first boot when system.global.id
is missing. Without it, rpc-pipefs-generator cannot create
rpc_pipefs.target, rpc_pipefs is never mounted, and nfs-idmapd cannot
start. This only affects first boot since the file persists on reboots.
Generate nfs.conf in the global ID migration after the UUID is created,
ensuring it exists before POST_INIT daemon-reload runs the generator.