CPC G06F 3/0611 (2013.01) [G06F 3/0659 (2013.01); G06F 3/0679 (2013.01); G06F 12/0246 (2013.01); G06F 12/0875 (2013.01); G06F 2212/1024 (2013.01)] | 19 Claims |
1. A data storage device, comprising:
a memory device; and
a controller coupled to the memory device, wherein the controller is configured to:
receive a deallocation command corresponding to a plurality of deallocation requests, wherein each of the plurality of deallocation requests corresponds to a logical block address (LBA) range;
determine that at least one of the plurality of deallocation requests is an unaligned deallocation request;
generate a tag for metadata for the unaligned deallocation request, wherein the tag for the metadata comprises a direction bit and a length bit;
concatenate the metadata including the tag to an LBA range of the unaligned deallocation request; and
complete the deallocation command using the metadata including the tag.
|