Method and system supporting per-file and per-block replication
First Claim
Patent Images
1. A method for writing data to a storage pool, comprising:
- receiving a first write operation to write a first block to the storage pool;
determining a first replication type for the first block using a first replication policy associated with the first block;
determining a first number of physical blocks required to write the first block to the storage pool using a size of the first block and the first replication type; and
writing the first block, in accordance with the first replication policy, to the storage pool by filling in the first number of physical blocks.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for writing data to a storage pool, involving receiving a first write operation to write a first block to the storage pool, determining a first replication type for the first block using a first replication policy associated with the first block, determining a first number of physical blocks required to write the first block to the storage pool using a size of the first block and the first replication type, and writing the first block, in accordance with the first replication policy, to the storage pool by filling in the first number of physical blocks.
-
Citations
18 Claims
-
1. A method for writing data to a storage pool, comprising:
-
receiving a first write operation to write a first block to the storage pool;
determining a first replication type for the first block using a first replication policy associated with the first block;
determining a first number of physical blocks required to write the first block to the storage pool using a size of the first block and the first replication type; and
writing the first block, in accordance with the first replication policy, to the storage pool by filling in the first number of physical blocks. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system for writing data, comprising:
-
a storage pool comprising;
a plurality of child blocks, wherein each of the plurality of child blocks comprises one selected from the group consisting of a data block and an indirect block, wherein the indirect block references at least one of the plurality of child blocks;
a parent block referencing at least one child block; and
a file system configured to write a first block to the storage pool, wherein the first block is one selected from the group consisting of the parent block and one of the plurality of child blocks, wherein the file system writes the first block to the storage pool using the following method steps;
determining a first replication type for the first block using a first replication policy associated with the first block;
determining a first number of physical blocks required to write the first block to the storage pool using a size of the first block and the first replication type; and
writing the first block, in accordance with the first replication policy, to the storage pool by filling in the first number of physical blocks. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer usable medium comprising computer readable program code embodied therein for causing a computer system to:
-
determine a first replication type for the first block using a first replication policy associated with the first block;
determine a first number of physical blocks required to write the first block to the storage pool using a size of the first block and the first replication type; and
write the first block, in accordance with the first replication policy, to the storage pool by filling in the first number of physical blocks. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification