oxidecomputer / oxidecomputer/omicron

Disk allocation should use multiple region sets

Open
#1,644 0 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.