oxidecomputer / oxidecomputer/omicron
Disk allocation should use multiple region sets
Open
@jmpesp is already working on this.
Since Aug 24, 2022.
storage
- Dominant language
- Rust
- Stars
- 572
- Forks
- 97
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 96
Description
test_disk_backed_by_multiple_region_sets creates six 10 GiB crucible datasets, then tries to create a 20 GiB disk. This test currently fails because the the current allocation algorithm does not split a disk across multiple sets of datasets - it queries for the three crucible datasets with the most available space and fails if there isn't room in them for the virtual disk.
Change the allocation algorithm to use as many datasets as is required to fulfill the total disk size.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.