Skip to content

Use the available drive count to calculate the size of each allocation. - #146

Merged
ajfloeder merged 1 commit into
masterfrom
allocation-policy-bug
Aug 29, 2025
Merged

Use the available drive count to calculate the size of each allocation.#146
ajfloeder merged 1 commit into
masterfrom
allocation-policy-bug

Conversation

@ajfloeder

Copy link
Copy Markdown
Contributor

Adjusted the spare allocation policy to use the number of drives available at the time that a storage pool is created.

Tested with 16 and 15 drives.
16 drives
create 16000000000000 -> 1000000000000 bytes/drive
15 drives
create 16000000000000 -> 1066666672128 bytes/drive -> adjusted capacity 16000000081920
15 drives
create 15000000000000 -> 1000000000000 bytes/drive

Signed-off-by: Anthony Floeder <anthony.floeder@hpe.com>
@ajfloeder
ajfloeder merged commit 67f617d into master Aug 29, 2025
2 checks passed
@ajfloeder
ajfloeder deleted the allocation-policy-bug branch August 29, 2025 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants