Compression and secure, end-to-end encrypted, ZFS cloud storage
First Claim
1. A method of transforming blocks on a cloud object store that is remote from a block storage system, the method comprising:
- receiving, at an application layer of the block storage system and through a system call interface of an interface layer of the block storage system, a first request to store or modify a file, the first request including file data;
generating, at a transactional object layer of the block storage system, a plurality of data blocks, each data block of the plurality of data blocks corresponding to at least a portion of the file data;
receiving, at the application layer of the block storage system and through the system call interface of the interface layer of the block storage system, one or more communications that identify one or more transformation actions to perform on the plurality of data blocks, the one or more transformation actions including one or more of;
a compression type to compress each data block of the plurality of data blocks by; and
an encryption type to encrypt each data block of the plurality of data blocks, wherein an encryption key associated with the encryption type is retrieved locally from the block storage system;
transforming each data block of the plurality of data blocks to form a plurality of transformed blocks by performing the one or more transformation actions on each data block of the plurality of data blocks;
generating, at the transactional object layer of the block storage system, a plurality of metadata blocks corresponding to the plurality of transformed blocks, the plurality of metadata blocks being configured to hierarchically point to lower-level blocks associated with the file and thereby correspond to at least part of a tree hierarchy for the file, wherein;
each metadata block of the plurality of metadata blocks includes one or more address pointers, each address pointer of the one or more address pointers being pointed to a transformed block of the plurality of transformed blocks or to a metadata block of the plurality of metadata blocks;
each transformed block of the plurality of transformed blocks being pointed to by at least one metadata block of the plurality of metadata blocks;
the plurality of metadata blocks includes a root block that is positioned at a top of the tree hierarchy for the file and one or more non-root metadata blocks; and
each non-root metadata block of the plurality of metadata blocks being pointed to by at least one metadata block of the plurality of metadata blocks of the tree hierarchy of the file;
causing a set of cloud storage objects to be stored in the cloud object store by transmitting the plurality of transformed blocks and the plurality of metadata blocks to a hybrid cloud storage system, the hybrid cloud storage system managing data storage in the cloud object store;
transmitting, to the hybrid cloud storage system, one or more second requests for a set of addresses, each address of the set of addresses corresponding to a transformed block of the plurality of transformed blocks or a metadata block of the plurality of metadata blocks; and
receiving, from the hybrid cloud storage system, one or more responses to the one or more second requests, each response of the one or more responses identifying an address corresponding to a transformed block of the plurality of transformed blocks or a metadata block of the plurality of metadata blocks, the address identifying a storage location in the cloud object store.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques described herein relate to systems and methods of data storage, and more particularly to providing layering of file system functionality on an object interface. In certain embodiments, file system functionality may be layered on cloud object interfaces to provide cloud-based storage while allowing for functionality expected from a legacy applications. For instance, POSIX interfaces and semantics may be layered on cloud-based storage, while providing access to data in a manner consistent with file-based access with data organization in name hierarchies. Various embodiments also may provide for memory mapping of data so that memory map changes are reflected in persistent storage while ensuring consistency between memory map changes and writes. For example, by transforming a ZFS file system disk-based storage into ZFS cloud-based storage, the ZFS file system gains the elastic nature of cloud storage.
59 Citations
20 Claims
-
1. A method of transforming blocks on a cloud object store that is remote from a block storage system, the method comprising:
-
receiving, at an application layer of the block storage system and through a system call interface of an interface layer of the block storage system, a first request to store or modify a file, the first request including file data; generating, at a transactional object layer of the block storage system, a plurality of data blocks, each data block of the plurality of data blocks corresponding to at least a portion of the file data; receiving, at the application layer of the block storage system and through the system call interface of the interface layer of the block storage system, one or more communications that identify one or more transformation actions to perform on the plurality of data blocks, the one or more transformation actions including one or more of; a compression type to compress each data block of the plurality of data blocks by; and an encryption type to encrypt each data block of the plurality of data blocks, wherein an encryption key associated with the encryption type is retrieved locally from the block storage system; transforming each data block of the plurality of data blocks to form a plurality of transformed blocks by performing the one or more transformation actions on each data block of the plurality of data blocks; generating, at the transactional object layer of the block storage system, a plurality of metadata blocks corresponding to the plurality of transformed blocks, the plurality of metadata blocks being configured to hierarchically point to lower-level blocks associated with the file and thereby correspond to at least part of a tree hierarchy for the file, wherein; each metadata block of the plurality of metadata blocks includes one or more address pointers, each address pointer of the one or more address pointers being pointed to a transformed block of the plurality of transformed blocks or to a metadata block of the plurality of metadata blocks; each transformed block of the plurality of transformed blocks being pointed to by at least one metadata block of the plurality of metadata blocks; the plurality of metadata blocks includes a root block that is positioned at a top of the tree hierarchy for the file and one or more non-root metadata blocks; and each non-root metadata block of the plurality of metadata blocks being pointed to by at least one metadata block of the plurality of metadata blocks of the tree hierarchy of the file; causing a set of cloud storage objects to be stored in the cloud object store by transmitting the plurality of transformed blocks and the plurality of metadata blocks to a hybrid cloud storage system, the hybrid cloud storage system managing data storage in the cloud object store; transmitting, to the hybrid cloud storage system, one or more second requests for a set of addresses, each address of the set of addresses corresponding to a transformed block of the plurality of transformed blocks or a metadata block of the plurality of metadata blocks; and receiving, from the hybrid cloud storage system, one or more responses to the one or more second requests, each response of the one or more responses identifying an address corresponding to a transformed block of the plurality of transformed blocks or a metadata block of the plurality of metadata blocks, the address identifying a storage location in the cloud object store. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. One or more non-transitory tangible computer-readable storage media storing computer-executable instructions for performing a computer process for transforming blocks on a cloud object store that is remote from a block storage system on a computing system, the computer process comprising:
-
receiving, at an application layer of the block storage system and through a system call interface of an interface layer of the block storage system, a first request to store or modify a file, the first request including file data; generating, at a transactional object layer of the block storage system, a plurality of data blocks, each data block of the plurality of data blocks corresponding to at least a portion of the file data; receiving, at the application layer of the block storage system and through the system call interface of the interface layer of the block storage system, one or more communications that identify one or more transformation actions to perform on the plurality of data blocks, the one or more transformation actions including one or more of; a compression type to compress each data block of the plurality of data blocks by; and an encryption type to encrypt each data block of the plurality of data blocks, wherein an encryption key associated with the encryption type is retrieved locally from the block storage system; and transforming each data block of the plurality of data blocks to form a plurality of transformed blocks by performing the one or more transformation actions on each data block of the plurality of data blocks; and generating, at the transactional object layer of the block storage system, a plurality of metadata blocks corresponding to the plurality of transformed blocks, the plurality of metadata blocks being configured to hierarchically point to lower-level blocks associated with the file and thereby correspond to at least part of a tree hierarchy for the file, wherein; each metadata block of the plurality of metadata blocks includes one or more address pointers, each address pointer of the one or more address pointers being pointed to a transformed block of the plurality of transformed blocks or to a metadata block of the plurality of metadata blocks; each transformed block of the plurality of transformed blocks being pointed to by at least one metadata block of the plurality of metadata blocks; the plurality of metadata blocks includes a root block that is positioned at a top of the tree hierarchy for the file and one or more non-root metadata blocks; and each non-root metadata block of the plurality of metadata blocks being pointed to by at least one metadata block of the of the plurality of metadata blocks of the tree hierarchy of the file; causing a set of cloud storage objects to be stored in the cloud object store by transmitting the plurality of transformed blocks and the plurality of metadata blocks to a hybrid cloud storage system, the hybrid cloud storage system managing data storage in the cloud object store; transmitting, to the hybrid cloud storage system, one or more second requests for a set of addresses, each address of the set of addresses corresponding to a transformed block of the plurality of transformed blocks or a metadata block of the plurality of metadata blocks; and receiving, from the hybrid cloud storage system, one or more responses to the one or more second requests, each response of the one or more responses identifying an address corresponding to a transformed block of the plurality of transformed blocks or a metadata block of the plurality of metadata blocks, the address identifying a storage location in the cloud object store. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system for transforming blocks on a cloud object store that is remote from a block storage system comprising:
-
one or more processors; a non-transitory computer-readable medium coupled to the one or more processors and storing instructions, wherein the instructions, when executed by the one or more processors, cause the one or more processors, to perform operations including; receiving, at an application layer of the block storage system and through a system call interface of an interface layer of the block storage system, a first request to store or modify a file, the first request including file data; generating, at a transactional object layer of the block storage system, a plurality of data blocks, each data block of the plurality of data blocks corresponding to at least a portion of the file data; receiving, at the application layer of the block storage system and through the system call interface of the interface layer of the block storage system, one or more communications that identify one or more transformation actions to perform on the plurality of data blocks, the one or more transformation actions including one or more of; a compression type to compress each data block of the plurality of data blocks by; and an encryption type to encrypt each data block of the plurality of data blocks, wherein an encryption key associated with the encryption type is retrieved locally from the block storage system; and transforming each data block of the plurality of data blocks to form a plurality of transformed blocks by performing the one or more transformation actions on each data block of the plurality of data blocks; generating, at the transactional object layer of the block storage system, a plurality of metadata blocks corresponding to the plurality of transformed blocks, the plurality of metadata blocks being configured to hierarchically point to lower-level blocks associated with the file and thereby correspond to at least part of a tree hierarchy for the file, wherein; each metadata block of the plurality of metadata blocks includes one or more address pointers, each address pointer of the one or more address pointers being pointed to a transformed block of the plurality of transformed blocks or to a metadata block of the plurality of metadata blocks; each transformed block of the plurality of transformed blocks being pointed to by at least one metadata block of the plurality of metadata blocks; the plurality of metadata blocks includes a root block that is positioned at a top of the tree hierarchy for the file and one or more non-root metadata blocks; and each non-root metadata block of the plurality of metadata blocks being pointed to by at least one metadata block of the plurality of metadata blocks of the tree hierarchy of the file; causing a set of cloud storage objects to be stored in the cloud object store by transmitting the plurality of transformed blocks and the plurality of metadata blocks to a hybrid cloud storage system, the hybrid cloud storage system managing data storage in the cloud object store; transmitting, to the hybrid cloud storage system, one or more second requests for a set of addresses, each address of the set of addresses corresponding to a transformed block of the plurality of transformed blocks or a metadata block of the plurality of metadata blocks; and receiving, from the hybrid cloud storage system, one or more responses to the one or more second requests, each response of the one or more responses identifying an address corresponding to a transformed block of the plurality of transformed blocks or a metadata block of the plurality of metadata blocks, the address identifying a storage location in the cloud object store. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification