Patent ID: 11960766
Assignee: WESTERN DIGITAL TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A data storage device comprising:
a memory comprising a first set of physical blocks and a second set of physical blocks wherein:
the first and second sets of physical blocks are associated with separate logical-to-physical address tables and separate block lists; and
the second set of physical blocks is configured for storing data protected against accidental deletion; and

a controller configured to:
receive, from a host, a first write command to write data in the memory;
write the data in the first set of physical blocks;
receive, from the host, a second write command to write a modified version of the data in the memory;
move the data from the first set of physical blocks to the second set of physical blocks to protect the data from accidental deletion;
write the modified version of the data in the first set of physical blocks;
receive, from the host, a request to restore the data, which was accidentally deleted by the modified version of the data; and
in response to receiving the request to restore the data, move the data from the second set of physical blocks to the first set of physical blocks.