Please download the dossier by clicking on the dossier button x
×

Virtual Block Devices

  • US 20130262405A1
  • Filed: 03/14/2013
  • Published: 10/03/2013
  • Est. Priority Date: 03/27/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method performed by data processing apparatus, the method comprising:

  • receiving a request to initialize a virtual machine, the virtual machine having an associated virtual block device;

    accessing a file map comprising a plurality of file map entries, each file map entry associating a respective block of data with a respective position within a respective data file to which the block of data was written, wherein each of the plurality of blocks of data is stored in the respective data file in association with metadata that identifies the block of data and a respective sequence number for a write request that resulted in the block being written to the position;

    determining file map entries corresponding to blocks of data allocated to the virtual block device and one or more files in which the blocks of data allocated to the virtual block device are stored;

    determining that a particular one of the blocks allocated to the virtual block device has been written to a new position not associated with the particular block in the file map, comprising;

    scanning one or more positions within the one or more files to determine that the particular block was written to the new position, the new position not being associated with the particular block in the file map, anddetermining, from a sequence number stored in association with the particular block at the new position, that the particular block was written to the new position subsequent to being written to the position indicated by the file map; and

    updating the position associated with the particular block to the new position.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×