Patent ID: 11886728
Assignee: MICRON TECHNOLOGY, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method comprising:
receiving, from an application, an indication of a start of an undo logging operation, the indication of the start of the undo logging operation identifying a first physical memory block of a memory device, the first physical memory block addressed by one or more memory lines;
responsive to receiving, from the application, the indication of the start of the undo logging operation:
receiving a write request for a memory address range assigned to the first physical memory block of the memory device;
responsive to the write request:
allocating a second physical memory block of the memory device;
updating at least one bit of a metadata data structure for the memory address range from indicating that memory requests are to be serviced at the first physical memory block to indicate that memory requests are to be serviced at the second physical memory block; and
servicing the memory request for the memory address range using the second physical memory block; and

determining that the undo logging operation failed; and

responsive to determining that the undo logging operation failed, updating the at least one bit of the metadata data structure for the memory line from indicating that memory requests are to be serviced at the second physical memory block to indicate that memory requests are to be serviced at the first physical memory block.