Increase reserve on ScaleIO disk formatting for fragmentation#7955
Increase reserve on ScaleIO disk formatting for fragmentation#7955yadvr merged 1 commit intoapache:4.18from
Conversation
Signed-off-by: Marcus Sorensen <mls@apple.com>
Codecov Report
@@ Coverage Diff @@
## 4.18 #7955 +/- ##
============================================
+ Coverage 13.06% 14.40% +1.33%
- Complexity 9097 10114 +1017
============================================
Files 2720 2748 +28
Lines 257465 259424 +1959
Branches 40146 40385 +239
============================================
+ Hits 33643 37368 +3725
+ Misses 219594 217222 -2372
- Partials 4228 4834 +606
... and 175 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
yadvr
left a comment
There was a problem hiding this comment.
LGTM - didn't test it though. I'm wondering if this could be an env-specific attribute (in which case this may be tuneable as a global settings or property in agent.properties)
It shouldn't change based on environment, it should just be accounted for as part of the storage implementation. |
|
Makes sense, thanks @mlsorensen |
|
@blueorangutan package |
|
@rohityadavcloud a [SF] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7014 |
|
@blueorangutan test |
|
@rohityadavcloud a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Merging based on simulator as code path won't be tested by smoketests/kvm that uses nfs/local storage and not scaleio. |
|
[SF] Trillian test result (tid-7667)
|
Description
This PR increases the overhead calculated for ScaleIO encrypted volumes slightly from 32MB to 128MB, due to edge cases found with lots of small writes over many weeks causing excessive fragmentation. Ideally discard/fstrim is being issued in the guest to free some meaningful amount of space occasionally, but this should help for situations where that isn't guaranteed.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Tested locally, and updated the unit tests to verify the return value is as expected.