×

Synchronization of physical disks

  • US 10,162,873 B2
  • Filed: 12/21/2012
  • Issued: 12/25/2018
  • Est. Priority Date: 12/21/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • identifying, by a processing device executing a virtual machine monitor, a steady state wherein a first count of writes associated with a virtual machine stored on a source physical disk and a destination physical disk are equal;

    receiving, by the virtual machine monitor, a set of write requests comprising data from a guest operating system of the virtual machine;

    providing, by the virtual machine monitor to the guest operating system, confirmation of a completion of a set of writes to the source physical disk;

    following providing to the guest operating system the confirmation of the completion of the set of writes to the source physical disk, asynchronously replicating, by the virtual machine monitor, the set of write requests to the destination physical disk;

    receiving, by the virtual machine monitor, a flush request from the guest operating system of the virtual machine, wherein the flush request comprises an instruction to the destination physical disk to write the data pending in cache of the destination physical disk to persistent storage of the destination physical disk;

    determining a second count of writes completed on the source physical disk at a time of a previous flush request is less than or equal to the first count of writes identified at the steady state;

    flushing, by the virtual machine monitor, the destination physical disk in response to the determining;

    providing, by the virtual machine monitor, to the guest operating system, confirmation of completion of the flushing of the destination physical disk following replication of the set of write requests to the destination physical disk and writing of the data to persistent storage of the destination physical disk;

    receiving, by the virtual machine monitor, a switch request from the virtual machine manager; and

    switching, by the virtual machine monitor, the virtual machine to the destination physical disk and issuing subsequent write requests to the destination physical disk.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×