Data rollback for tiered memory and storage
View Patent ↗An embodiment of an electronic apparatus may comprise one or more substrates, and circuitry coupled to the one or more substrates, the circuitry to track transactions that access a first memory level of a multi-level memory, control access to at least the first memory level of the multi-level memory, and control a roll back of at least the first memory level of the multi-level memory based on the tracked transactions. In another embodiment, the circuitry is to control a roll back of a multi-level memory in response to a request to roll back the multi-level memory. Other embodiments are disclosed and claimed.
1. An electronic apparatus, comprising:
one or more substrates; and
circuitry coupled to the one or more substrates, the circuitry to:
track transactions that access a first memory level of a multi-level memory,
control access to at least the first memory level of the multi-level memory,
control a roll back of at least the first memory level of the multi-level memory based on the tracked transactions,
track an order and time of writes that are inserted in the first memory level, and
update a state of insertions in a lookup table based on the tracked order and time,
in response to a request to roll back the first memory level.
2. The apparatus of claim 1 , wherein the circuitry is further to:
maintain a queue of time information for writes inserted in the first memory level.
3. The apparatus of claim 2 , wherein an entry in the queue indicates an address of the write insertion, a size of the write insertion, and a timestamp of the write insertion.
4. An electronic apparatus, comprising:
one or more substrates; and
circuitry coupled to the one or more substrates, the circuitry to:
control a roll back of a multi-level memory in response to a request to roll back the multi-level memory;
determine respective numbers of sectors to roll back for each level of the multi-level memory in response to the request to roll back the multi-level memory; and
issue respective rollback commands that indicate the respective determined numbers of sectors to rollback each level of the multi-level memory.
5. The apparatus of claim 4 , wherein the circuitry is further to:
determine a first number of sectors to roll back a first memory level of the multi-level memory; and
determine a second number of sectors to roll back a second memory level of the multi-level memory based on a number of sectors indicated in the request to roll back the multi-level memory reduced by the determined first number of sectors.
6. The apparatus of claim 4 , wherein the circuitry is further to:
determine an amount of time for rollback of each level of the multi-level memory in response to a request to roll back the multi-level memory.
7. The apparatus of claim 6 , wherein the circuitry is further to:
issue respective roll back commands that indicate the amount of time to roll back each level of the multi-level memory.
8. An electronic system, comprising:
a multi-level memory that includes at least a front-end media device and a back-end media device;
first circuitry communicatively coupled to the multi-level memory, the first circuitry to:
track transactions that access the multi-level memory;
control access to at least the front-end media device;
track an order and time of writes that are inserted in the front-end media device; and
update a state of insertions in a lookup table based on the tracked order and time,
in response to a request to roll back the front-end media device; and
second circuitry communicatively coupled to the first circuitry to control a roll back of the multi-level memory.
9. The system of claim 8 , wherein the second circuitry is further to:
determine a first number of sectors to rollback for the front-end media device in response to a request to roll back the multi-level memory; and
determine a second number of sectors to rollback for the back-end media device in response to the request to roll back the multi-level memory.
10. The system of claim 9 , wherein the second circuitry is further to:
issue a first rollback command to the first circuitry that indicates the first number of sectors to roll back the front-end media device; and
issue a second rollback command to the first circuitry that indicates the second number of sectors to roll back the back-end media device.
11. The system of claim 8 , wherein the second circuitry is further to:
determine an amount of time for rollback of each level of the multi-level memory in response to a request to roll back the multi-level memory.
12. The system of claim 11 , wherein the second circuitry is further to:
issue respective roll back commands to the first circuitry for each level of the multi-level memory that indicate the amount of time to roll back each level of the multi-level memory.