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]
NAS-140352 / 26.0.0-BETA.2 / Fix flake8 errors (by sonicaj) (#18497)
Automatic cherry-pick failed. Please resolve conflicts by running:
git reset --hard HEAD~1
git cherry-pick -x d68f53e34624c88f1ca22708032daccd8dc7a03b
If the original PR was merged via a squash, you can just cherry-pick the
squashed commit:
git reset --hard HEAD~1
git cherry-pick -x bf8905ddb47cc0c4448dc64a8418a66f0f3fefbc
This commit adds changes to fix flake8 errors present in the repo to
simplify github action and avoid unnecessary complexity.
Original PR: https://github.com/truenas/middleware/pull/18496
Co-authored-by: Waqar Ahmed <waqarahmedjoyia at live.com>
[libc] Modular printf option (float only)
This adds LIBC_CONF_PRINTF_MODULAR, which causes floating point support
(later, others) to be weakly linked into the implementation.
__printf_modular becomes the main entry point of the implementaiton, an
printf itself wraps __printf_modular. printf it also contains a
BFD_RELOC_NONE relocation to bring in the float aspect.
See issue #146159 for context.
[AMDGPU][AMDGPUBaseInfo] Replace Waitcnt members with array (#182927)
This patch replaces the member variables of Waitcnt with an array. This
helps in several ways:
(i) It helps replace switch cases with array accesses, and
(ii) It makes operating on all elements with a loop which is much
easier, and should require less maintenance if we add more counters
[AArch64][PAC] Rework discriminator analysis in AUT and AUTPAC
Make use of post-processing the discriminator components by custom
inserter hook to eliminate duplication for DAGISel and GlobalISel and
improve cross-BB analysis for DAGISel.
[flang][OpenMP] Store bad ExecutionPartConstruct in LoopSequence
LoopSequence keeps track of whether it contains code that would be an
invalid intervening code, or that would prevent loop nesting from
being a perfect nesting. To improve the quality of diagnostic messages
store the pointer to the offending parser::ExecutionPartConstruct.
Issue: https://github.com/llvm/llvm-project/issues/185287
[flang][OpenMP] Allow "Reason" messages to not have source locations
When explanatory messages are generated there may be cases when there
is no satisfactory source location to apply them to. This patch allows
storing such messages without a source location.
The messages will be equipped with a source location at the time when
they are attached to the main error message (usually it will be the
same location as used for the main message).
Issue: https://github.com/llvm/llvm-project/issues/185287