IP Library Granted Patent US 11,416,160
Granted Patent B1
US 11,416,160 · App. 17/185,367 · Granted Aug 16, 2022

Volume operation propagation for synchronous remote copy

Inventor: Tomohiro Kawaguchi (Santa Clara, CA)
Assignee: HITACHI, LTD.
G06F3/065G06F3/067G06F3/0619G06F3/0644G06F9/522
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,416,160
App. No.
17/185,367
Granted
Aug 16, 2022
Kind
B1
Abstract

Example implementations described herein are directed to systems and methods for facilitating remote copy pair volume with data consistency. For a command received for one of a first volume and a second volume during execution of a pair synchronization process between the first volume and the second volume, example implementations can involve determining whether an address range of one of the first volume and the second volume configured to be provided to a host computer is to be locked based on the command; locking the address range of the one of the first volume and the second volume for the determination indicative of the address range of one of the first volume and the second volume is to be locked; and executing the command on the first volume and the second volume while the address range configured to be provided to the host computer is locked.

Claims (50)

1. A method, comprising:

for a command received for one of a first volume and a second volume during execution of a pair synchronization process between the first volume and the second volume:

determining whether an address range of one of the first volume and the second volume configured to be provided to a host computer is to be locked based on the command;

locking the address range of the one of the first volume and the second volume for the determination indicative of the address range of one of the first volume and the second volume is to be locked; and

executing the command on the first volume and the second volume while the address range configured to be provided to the host computer is locked,

wherein the determining whether the address range of the one of the first volume and the second volume configured to be provided to the host computer is to be locked based on the command comprises:

referring to a command list presets freeze requirements for the address range based on command type; and

for the command having the command type associated with a freeze requirement for the address range based on the referring to the command list, providing the determination indicative of the address range of the one of the first volume and the second volume is to be locked.

2. The method of claim 1 , wherein the command is a write operation command, wherein the executing the command on the first volume and the second volume while the address range configured to be provided to the host computer is locked comprises:

executing the command on the one of the first volume and the second volume;

sending a completion token to a storage drive managing another one of the first volume and the second volume; and

upon receipt of the completion token from the storage drive indicative of the executing of the command on the another one of the first volume and the second volume, unlocking the address range.

3. The method of claim 1 , wherein the executing the command on the first volume and the second volume while the address range is locked comprises:

executing the command on the first volume; and

transferring the command to the second volume upon completion of the execution of the command on the first volume.

4. The method of claim 1 , further comprising unlocking the address range configured to be provided to the host computer after executing the command on the first volume and the second volume.

5. The method of claim 1 , wherein the pair synchronization process comprises generating snapshots for the first volume and the second volume.

6. A non-transitory computer readable medium, storing instructions for executing a process, the instructions comprising:

for a command received for one of a first volume and a second volume during execution of a pair synchronization process between the first volume and the second volume:

determining whether an address range of one of the first volume and the second volume configured to be provided to a host computer is to be locked based on the command;

locking the address range of the one of the first volume and the second volume for the determination indicative of the address range of one of the first volume and the second volume is to be locked; and

executing the command on the first volume and the second volume while the address range configured to be provided to the host computer is locked,

wherein the determining whether the address range of the one of the first volume and the second volume configured to be provided to the host computer is to be locked based on the command comprises:

referring to a command list presets freeze requirements for the address range based on command type, and

for the command having the command type associated with a freeze requirement for the address range based on the referring to the command list, providing the determination indicative of the address range of the one of the first volume and the second volume is to be locked.

7. The non-transitory computer readable medium of claim 6 , wherein the command is a write operation command, wherein the executing the command on the first volume and the second volume while the address range configured to be provided to the host computer is locked comprises:

executing the command on the one of the first volume and the second volume; sending a completion token to a storage drive managing another one of the first volume and the second volume; and

upon receipt of the completion token from the storage drive indicative of the executing of the command on the another one of the first volume and the second volume, unlocking the address range.

8. The non-transitory computer readable medium of claim 6 , wherein the executing the command on the first volume and the second volume while the address range is locked comprises:

executing the command on the first volume; and

transferring the command to the second volume upon completion of the execution of the command on the first volume.

9. The non-transitory computer readable medium of claim 6 , the instructions further comprising unlocking the address range configured to be provided to the host computer after executing the command on the first volume and the second volume.

10. The non-transitory computer readable medium of claim 6 , wherein the pair synchronization process comprises generating snapshots for the first volume and the second volume.

11. An apparatus, comprising:

a processor, configured to:

for a command received for one of a first volume and a second volume during execution of a pair synchronization process between the first volume and the second volume:

determine whether an address range of one of the first volume and the second volume configured to be provided to a host computer is to be locked based on the command;

lock the address range of the one of the first volume and the second volume for the determination indicative of the address range of one of the first volume and the second volume is to be locked; and

execute the command on the first volume and the second volume while the address range configured to be provided to the host computer is locked,

wherein the processor is configured to determine whether the address range of the one of the first volume and the second volume configured to be provided to the host computer is to be locked based on the command by:

referring to a command list presets freeze requirements for the address range based on command type; and

for the command having the command type associated with a freeze requirement for the address range based on the referring to the command list, providing the determination indicative of the address range of the one of the first volume and the second volume is to be locked.

12. The apparatus of claim 11 , wherein the command is a write operation command, wherein the processor is configured to execute the command on the first volume and the second volume while the address range configured to be provided to the host computer is locked by:

executing the command on the one of the first volume and the second volume; sending a completion token to a storage drive managing another one of the first volume and the second volume; and

upon receipt of the completion token from the storage drive indicative of the executing of the command on the another one of the first volume and the second volume, unlocking the address range.

13. The apparatus of claim 11 , wherein the processor is configured to execute the command on the first volume and the second volume while the address range configured to be provided to the host computer is locked by:

executing the command on the first volume; and

transferring the command to the second volume upon completion of the execution of the command on the first volume.

14. The apparatus of claim 11 , wherein the processor is configured to unlock the address range configured to be provided to the host computer after executing the command on the first volume and the second volume.

15. The apparatus of claim 11 , wherein the pair synchronization process comprises generating snapshots for the first volume and the second volume.

Assignments (2)
COMPANY SPLIT Recorded Aug 20, 2024
From: HITACHI, LTD.
To: HITACHI VANTARA, LTD.
Reel/Frame 069518/0761 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 25, 2021
From: KAWAGUCHI, TOMOHIRO
To: HITACHI, LTD.
Reel/Frame 055416/0231 →