Using a status indicator for a merge operation for writing data associated with a virtual machine
AssigneeRed Hat, Inc.
InventorsAdam Litke, Federico Simoncelli
Life of this patent
Estimating the term…
Abstract
A virtual machine may be identified. A status indicator associated with a last volume of a series of volumes of a virtual disk that is associated with the virtual machine may be received. The virtual machine may be executed to write new data to the last volume of the series of volumes or a previous volume of the series of volumes in view of the status indicator that is associated with the last volume of the series of volumes of the virtual disk.
Claims16
A method comprising:
- identifying a merge operation associated with a virtual disk of a virtual machine;
- receiving a request to initiate a pivot stage of the merge operation;
- in response to receiving the request to initiate the pivot stage of the merge operation, updating, by a processing device, a status indicator for a last volume of the virtual disk to indicate that the request to initiate the pivot stage of the merge operation has been received after a completion of an active mirroring stage that copies data of the last volume of the virtual disk to a previous volume of the virtual disk;
- and
- transmitting data to initiate the pivot stage of the merge operation in response to updating the status indicator for the volume of the virtual disk, wherein the pivot stage is associated with a switching of writing new data of the virtual machine from the last volume to the previous volume of the virtual disk.
A system, comprising:
- a memory;
- and
- a processing device, operatively coupled with the memory, to:
- identify a merge operation associated with a virtual disk of a virtual machine;
- receive a request to initiate a pivot stage of the merge operation;
- in response to receiving the request to initiate the pivot stage of the merge operation, update a status indicator for a last volume of the virtual disk to indicate that the request to initiate the pivot stage of the merge operation has been received after a completion of an active mirroring stage that copies data of the last volume of the virtual disk to a previous volume of the virtual disk;
- and
- transmit data to initiate the pivot stage of the merge operation in response to updating the status indicator for the volume of the virtual disk, wherein the pivot stage is associated with a switching of writing new data of the virtual machine from the last volume to the previous volume of the virtual disk.
A non-transitory machine-readable storage medium comprising data that, when accessed by a processing device, cause the processing device to:
- identify a merge operation associated with a virtual disk of a virtual machine;
- receive a request to initiate a pivot stage of the merge operation;
- in response to receiving the request to initiate the pivot stage of the merge operation, update, by the processing device, a status indicator for a last volume of the virtual disk to indicate that the request to initiate the pivot stage of the merge operation has been received after a completion of an active mirroring stage that copies data of the last volume of the virtual disk to a previous volume of the virtual disk;
- and
- transmit data to initiate the pivot stage of the merge operation in response to updating the status indicator for the volume of the virtual disk, wherein the pivot stage is associated with a switching of writing new data of the virtual machine from the last volume to the previous volume of the virtual disk.
Dependencies are inferred from the claim text.