System and method for identifying block-level write operations to be transferred to a secondary site during replication
View Patent ↗A method involves generating a block-level write operation, which causes a value to be written to a primary volume, and generating information indicative of whether any of the block-level write operation should be transferred to a secondary site during replication of data in the primary volume. The information can indicate that all, part, or none of the block-level write operation should be transferred to the secondary site. If the information indicates that less than all of the block-level write operation should be transferred to a secondary site, the information can also indicate that logical information associated with the block-level write operation should be transferred to the secondary site instead of transferring the value being written by the block-level write operation.
1. A computer-implemented method, comprising:
receiving, from an application, both associated information and a block-level write operation to a primary volume, wherein
the receiving is performed by a computing device at a Primary site, wherein the computing device implements a replicator; and
in response to the associated information, determining that less than all of the block-level write operation should be transferred to a secondary site during replication of data in the primary volume, wherein
the determining is performed by the replicator.
2. The method of claim 1 , wherein
the associated information indicates that none of the block-level write operation should be transferred to the secondary site.
3. The method of claim 1 , wherein
the associated information indicates that less than all of the block-level write operation should be transferred to the secondary site, and
the block-level write operation comprises a command, addressing information, and a new value of data identified by the addressing information.
4. The method of claim 3 , wherein
the associated information indicates that logical information associated with the block-level write operation should be transferred to the secondary site instead of transferring the new value of the data identified by the addressing information.
5. The method of claim 4 , further comprising:
reading the new value from a source address on a secondary volume comprised in the secondary site; and
writing the new value to a destination address on the secondary volume, wherein the logical information comprises a length of the new value, the source address, and the destination address.
6. The method of claim 1 , further comprising:
transferring less than all of the block-level write operation to the secondary site in response to the determining that less than all of the block-level write operation should be transferred to the secondary site.
7. A system comprising:
a processor; and
a memory coupled to the processor, wherein the memory stores program instructions executable by the processor to:
receive, from an application, both associated information and a block-level write operation to a primary volume at a primary site, and
in response to the associated information, determine that less than all of the block-level write operation should be transferred to a secondary site during replication of data in the primary volume, wherein
the replication is initiated at the primary site.
8. The system of claim 7 , wherein the program instructions are executable by the processor to:
transfer less than all of the block-level write operation to the secondary site in response to determining that less than all of the block-level write operation should be transferred.
9. A computer readable medium comprising program instructions executable by a processor to:
receive, from an application, both associated information and a block-level write operation to a primary volume at a primary site, and
in response to the associated information, determine that less than all of the block-level write operation should be transferred to a secondary site during replication of data in the primary volume, wherein
the replication is initiated at the primary site.
10. The computer readable medium of claim 9 , wherein the program instructions are executable to:
not transfer any of the block-level write operation to the secondary site during replication if the associated information indicates that none of the block-level write operation should be transferred.
11. The computer readable medium of claim 9 , wherein the program instructions are executable to:
transfer less than all of the block-level write operation to the secondary site if the associated information indicates that less than all of the block-level write operation should be transferred.
12. The computer readable medium of claim 11 , wherein the program instructions are executable to:
in response to the associated information, transfer logical information associated with the block-level write operation to the secondary site instead of transferring a new value of data being modified by the block-level write operation.
13. A system comprising:
means for receiving, from an application, both associated information and a block-level write operation to a primary volume at a primary site,
means for determining, in response to the associated information, that less than all of the block-level write operation should be transferred to a secondary site during replication of data in the primary volume, wherein
the replication is initiated at the primary site, and
computer readable storage means for implementing the primary volume.