Skip to content

Disk allocation should use multiple region sets #1644

Description

@jmpesp

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

storageRelated to storage.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions