CPC G06F 3/0655 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0638 (2013.01); G06F 3/0679 (2013.01)] | 20 Claims |
1. A computer-implemented method comprising:
receiving, at a physical storage device, a first reversible write operation that writes first data to a first logical address on the physical storage device;
responsive to receiving the first reversible write operation, the physical storage device servicing the first reversible write operation, wherein the first reversible write operation updates first prior content stored at the first logical address prior to said servicing the first reversible write operation to the first data written by the first reversible write operation, wherein the first prior content is stored at a first physical address of the physical storage device, and wherein first mapping information of the physical storage device indicates that the first logical address is mapped to the first physical address, wherein said servicing the first reversible write operation includes:
retaining the first mapping information and the first prior content stored at the first physical address;
storing the first data at a second physical address of the physical storage device; and
adding second mapping information of the physical storage device to indicate that the first logical address is mapped to the second physical address of the physical storage device;
receiving, at the physical storage device, a read operation that requests to read the first prior content which is updated by said first reversible write operation and which is stored at the first logical address prior to said servicing the first reversible write operation; and
responsive to receiving the read operation, the physical storage device servicing the read operation, wherein said servicing the read operation includes:
the physical storage device using the first mapping information, that maps the first logical address to the first physical address, to read the first prior content from the first physical address of the physical storage device; and
returning the first prior content.
|