| CPC G06F 12/0253 (2013.01) [G06F 12/0891 (2013.01)] | 20 Claims |

|
1. A data storage device, comprising:
a non-volatile storage medium;
a host interface configured to receive host storage commands from a plurality of host systems; and
a controller configured to:
store, to the non-volatile storage medium, host data units as values indexed by a corresponding key in key-value pairs;
receive, from a first host system of the plurality of host systems, a delete command for a target key-value pair, wherein the target key-value pair comprises a first host identifier for a storing host system that previously stored the target key-value pair;
move, responsive to the delete command, the corresponding key for the target key-value pair to a deleted data structure having a delete order;
add, responsive to the first host system being different than the storing host system, a foreign host indicator to an entry in the deleted data structure for the target key-value pair;
invalidate, during garbage collection, erase blocks corresponding to key-value pairs from the deleted data structure based on the delete order; and
remove, responsive to garbage collection, corresponding keys for the invalidated key-value pairs from the deleted data structure.
|