Closed shundhammer closed 2 years ago
:heavy_check_mark: Public Jenkins job #440 successfully finished :heavy_check_mark: Created OBS submit request #980096
:heavy_check_mark: Internal Jenkins job #227 successfully finished :heavy_check_mark: Created IBS submit request #276746
Target Branch
This is the merge to master / Factory of https://github.com/yast/yast-storage-ng/pull/1303.
Bugzilla
https://bugzilla.suse.com/show_bug.cgi?id=1200018
Trello
https://trello.com/c/YN8fSMy3
Problem
A customer wishes to use 4 KiB (page size) chunks for creating a RAID0 on NVME, but the YaST partitioner does not offer that selection; it starts with 64 KiB.
Cause
Back when we introduced that feature, we decided on a minimum chunk size of 64 KiB unless the default chunk size for that RAID type would suggest something smaller. For RAID0, there was no different default, so the minimum was 64 KiB.
There was no strict technical limitation behind this minimum, only our belief back at the time (in 2017) that smaller values would not be useful.
Fix
Use a more elaborate minimum, depending on RAID type:
Now the minimum chunk size for RAID0 is 4 KiB, but the default is still 64 KiB which might is probably better for performance in most scenarios.
Related PR
This raised the minimum: https://github.com/yast/yast-storage-ng/pull/426
PR for SLE-15-SP4: https://github.com/yast/yast-storage-ng/pull/1303