Patent ID: 9235344
Filing Date: 2016-01-12
CPC Classification: G06F

Claim Text:
1. A method, comprising: adding, by a first processing device, a TRIM/UNMAP layer between an operating system and a disk driver to support TRIM/UNMAP commands; utilizing the TRIM/UNMAP layer, by the first processing device, to identify blocks of a disk image that are unallocated by the operating system as identified unallocated blocks; sending, by the first processing device, a list of the identified unallocated blocks to a second processing device; in response to receiving the list of the identified unallocated blocks, identifying, by the second processing device, allocated blocks from the list of the identified unallocated blocks; sending, by the second processing device, a request for only the allocated blocks to the first processing device; receiving, by the first processing device, a request for only allocated blocks from the second processing device, the allocated blocks being from sections of the disk image not included in the list of the identified unallocated blocks; transferring, by the first processing device to the second processing device, the allocated blocks in response to the request for the only allocated blocks; simulating, by the second processing device, the operating system to introduce the TRIM/UNMAP layer on the second processing device and send a second list of identified unallocated blocks to the first processing device; and marking, by the first processing device, blocks of the disk image based on the second list of identified unallocated blocks to maintain information for subsequent client use.