Storage deduplication for containers with encrypted storage
AssigneeRed Hat, Inc.
InventorMichael Tsirkin
Life of this patent
Estimating the term…
Abstract
Technology for enabling a kernel to perform data deduplication on encrypted storage of a container. An example method may involve: enabling, by a kernel, a guest program of a container to access a first storage block of a first container and a second storage block of a second container; receiving, by the kernel from the guest program, an indication that the first storage block and the second storage block are duplicate storage blocks; and updating the first storage block or the second storage block to cause the duplicate storage blocks to reference a common storage location.
Claims20
A method comprising:
- enabling, by a kernel, a guest program of a container to access a first storage block of a first container and a second storage block of a second container;
- providing, by the kernel, to the guest program, a set of one or more candidate storage blocks;
- receiving, by the kernel, from the guest program, an indication that the first storage block and the second storage block are identified, among the set of one or more candidate storage blocks, as duplicate storage blocks;
- and
- updating the first storage block or the second storage block to cause the duplicate storage blocks to reference a common storage location.
A system comprising:
- a memory;
- and
- a processing device communicably coupled to the memory, the processing device to:
- enable, by a kernel, a guest program of a container to access a first storage block of a first container and a second storage block of a second container;
- provide, by the kernel, to the guest program, a set of one or more candidate storage blocks;
- receive, by the kernel, from the guest program, an indication that the first storage block and the second storage block are identified, among the set of one or more candidate storage blocks, as duplicate storage blocks;
- and
- update the first storage block or the second storage block to cause the duplicate storage blocks to reference a common storage location.
A non-transitory machine-readable storage medium storing instructions which, when executed, cause a processing device to perform operations comprising:
- enabling, by a kernel, a guest program of a container to access a first memory page of a first container and a second memory page of a second container;
- providing, by the kernel, to the guest program, a set of one or more candidate storage blocks;
- receiving, by the kernel, from the guest program, an indication that the first memory page and the second memory page are identified, among the set of one or more candidate storage blocks, as duplicate memory pages;
- and
- updating the first storage block or the second storage block to cause the duplicate memory pages to reference a common storage location in a physical memory device.
Dependencies are inferred from the claim text.