Disk storage allocation
AssigneeHewlett Packard Enterprise Development LP
InventorsDave Donaghy, Josh Whelan, John Butt
Life of this patent
Estimating the term…
Abstract
According to an example, to allocate disk storage space, a request to store a new data chunk in a container is received. For a list of available containers, an exposure count for the container is fetched in the event that a container comprises a data chunk from a same source as the new data chunk. An optimal container to store the new data chunk is determined, and in the event that an exposure count of the optimal container is less than an exposure count limit, the new data chunk in the optimal container is stored.
Claims20
A method comprising:
- receiving, in a system comprising a hardware processor, a request to store a new data chunk in a container;
- identifying, by the system, available containers;
- in response to a first container of the available containers storing a data chunk from a same source as the new data chunk, fetching, by the system, a first exposure count for the first container and not increasing the first exposure count based on the new data chunk;
- in response to a second container of the available containers not storing a data chunk from the same source, fetching, by the system, a second exposure count for the second container and increasing the second exposure count based on the new data chunk;
- determining, by the system, an optimal container of the available containers to store the new data chunk based on comparing exposure counts, including the first exposure count and the increased second exposure count, of the available containers;
- and
- in response to an exposure count of the optimal container being less than an exposure count limit, storing the new data chunk in the optimal container.
A system comprising:
- a processor;
- a non-transitory storage medium storing instructions executable on the processor to:
- receive a given data chunk of a file that is divided into a plurality of data chunks;
- fetch exposure counts for respective containers of a plurality of containers from a database;
- in response to determining that a first container of the plurality of containers stores a data chunk for the file, decline to increase a first exposure count for the first container based on the given data chunk;
- in response to determining that a second container of the plurality of containers does not store a data chunk for the file, increase a second exposure count for the second container based on the given data chunk;
- determine an optimal container from the plurality of containers to store the given data chunk based on the first exposure count and the increased second exposure count;
- and
- cause storing of the given data chunk in the optimal container in response to an exposure count of the optimal container satisfying a criterion.
A non-transitory computer readable storage medium comprising instructions that upon execution cause a system to:
- receive a request to store a new data chunk of a source in a container in a storage system;
- identify available containers available to store the new data chunk;
- retrieve exposure counts for respective containers of the available containers;
- in response to determining that a first container of the available containers stores a data chunk for the source, decline to increase a first exposure count for the first container based on the new data chunk;
- in response to determining that a second container of the available containers does not store a data chunk for the source, increase a second exposure count for the second container based on the new data chunk;
- determine an optimal container to store the new data chunk based on comparing the first exposure count and the increased second exposure count;
- and
- in response to the optimal container having an exposure count greater than or equal to an exposure count limit, create a new container and store the new data chunk in the new container.
Dependencies are inferred from the claim text.