IP Library › Granted Patent US 10,031,668
Granted Patent B2
US 10,031,668 · App. 15/055,933 · Granted Jul 24, 2018

Determining status of a host operation without accessing the host in a shared storage environment

Inventors: Adam Litke (Bethel Park, PA); Nir Soffer (Ra'anana, IL); Liron Aravot (Ra'anana, IL)
Assignee: Red Hat Israel, Ltd.
G06F3/0604G06F3/065G06F3/067G06F3/0637G06F3/0644G06F3/0664G06F9/45558G06F2009/45583
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 10,031,668
App. No.
15/055,933
Granted
Jul 24, 2018
Kind
B2
Abstract

Implementations of the disclosure provides for determining status of a host operation without accessing the host in a shared storage environment. A method of the disclosure includes acquiring, by a processing device, a lease on a storage volume associated with a storage domain. The lease grants the processing device exclusive access to the storage volume. Responsive to acquiring the lease, a data structure associated with the storage volume is modified to indicate that data of the storage volume is invalid. An update operation is initiated with respect to the storage volume. Upon completion of the update operation, the data structure is updated to indicate that the data valid and the lease on the storage volume is released.

Claims (45)

1. A method comprising:

acquiring, by a processing device, a lease on a storage volume associated with a storage domain, the lease granting the processing device exclusive access to the storage volume; responsive to acquiring the lease:

modifying, by the processing device, a data structure associated with the storage volume to indicate that data of the storage volume is invalid;

initiating an update operation with respect to the data;

updating, by the processing device upon completion of the update operation, the data structure to indicate that the data is valid; and

releasing, by the processing device, the lease on the storage domain associated the storage volume.

2. The method of claim 1 , wherein the update operation comprises instructions to copy data to the storage volume from another storage volume.

3. The method of claim 1 , wherein the modifying comprises one of: setting or clearing an indicator stored in the data structure.

4. The method of claim 1 , wherein the data of the storage volume is related to a virtual disk of a virtual machine executed by the processing device.

5. The method of claim 1 , further comprising updating a value stored in the data structure,

the value indicative of an extent of completeness of the update operation.

6. A system comprising:

a memory storing a plurality of storage volumes; and

a processing device, operatively coupled to the memory, to

acquire a lease on a storage volume associated with a storage domain, the lease granting the processing device exclusive access to the storage volume;

responsive to acquiring the lease:

modify a data structure associated with the storage volume to indicate that data of the storage volume is invalid;

initiate an update operation with respect to the data;

update, upon completion of the update operation, the data structure to indicate that the data is valid; and

release the lease on the storage domain associated the storage volume.

7. The system of claim 6 , wherein the update operation comprises instructions to copy data to the storage volume from another storage volume.

8. The system of claim 6 , wherein to modify, the processing device is further to at least one of: set or clear an indicator stored in the data structure.

9. The system of claim 6 , wherein the data of the storage volume is related to a virtual disk of a virtual machine executed by the processing device.

10. The system of claim 6 , wherein the processing device is further to update a value stored in the data structure, the value indicative of an extent of completeness of the update operation.

11. A non-transitory computer-readable storage medium comprising executable instructions that when executed, by a processing device, cause the processing device to:

acquire, by the processing device, a lease on a storage volume associated with a storage domain, the lease granting the processing device exclusive access to the storage volume; responsive to acquiring the lease:

modify a data structure associated with the storage volume to indicate that data of the storage volume is invalid;

initiate an update operation with respect to the data;

update, upon completion of the update operation, the data structure to indicate that the data is valid; and

release the lease on the storage domain associated the storage volume.

12. The non-transitory computer-readable storage medium of claim 11 , wherein the update operation comprises instructions to copy data to the storage volume from another storage volume.

13. The non-transitory computer-readable storage medium of claim 11 , wherein to modify, the processing device is further to at least one of: set or clear an indicator stored in the data structure.

14. The non-transitory computer-readable storage medium of claim 11 , wherein the data of the storage volume is related to a virtual disk of a virtual machine executed by the processing device.

15. The non-transitory computer-readable storage medium of claim 11 , wherein the processing device is further to update a value stored in the data structure, the value indicative of an extent of completeness of the update operation.

16. A method comprising:

acquiring, by a processing device of a shared storage system, a lease on a storage volume, the lease granting the processing device exclusive access to the storage volume;

responsive to acquiring the lease:

identifying, by the processing device, a data structure associated with the storage volume on a storage domain;

modifying, by the processing device, the data structure to indicate that data of the storage volume is invalid;

determining, by the processing device, whether an update operation related to the data of the storage volume is complete in view of modifications to the data structure; and

updating the data structure to indicate that the data is valid in view of the determining.

17. The method of claim 16 , wherein further comprising responsive to detecting that the lease is unavailable, determining that the update operation is incomplete.

18. The method of claim 16 , wherein the determining comprises examining an indicator stored in the data structure, the indicator indicates whether data associated with the update operation is invalid.

19. The method of claim 18 , wherein the examining comprises determining whether the indicator is set or cleared.

20. The method of claim 16 , further comprising examining a value stored in the data structure, the value indicative of an extent of completeness of the update operation.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 1, 2016
From: LITKE, ADAM; SOFFER, NIR; ARAVOT, LIRON
To: RED HAT, INC.
Reel/Frame 037863/0565 →
Continuity (1)
Related Publication 20170249082A1 · Aug 31, 2017