| CPC G06F 3/0604 (2013.01) [G06F 3/0659 (2013.01); G06F 3/0673 (2013.01)] | 15 Claims |

|
1. A data storage device, comprising:
a memory device; and
a controller coupled to the memory device, wherein the controller is configured to:
maintain a local key index list, wherein the local key index list includes a plurality of entries with each entry corresponding to a key, wherein a first entry of the plurality of entries is a spare entry and a second entry of the plurality of entries comprises a first value;
maintain a controller key index list, wherein the controller key index list includes a plurality of controller key entries corresponding to the local key index list and wherein a third entry of the plurality of controller key entries comprises the first value;
receive an instruction to change the first value to a second value;
enter the second value into the spare entry;
mark the second entry as a spare entry; and
change the third entry to the second value.
|