CPC G06F 3/0655 (2013.01) [G06F 3/061 (2013.01); G06F 3/0679 (2013.01)] | 20 Claims |
1. A storage device comprising:
flash memory having erase units, wherein the flash memory is to have one or more namespaces at a first hierarchical level, and groups of one or more of the erase units at a second hierarchical level;
a host interface to receive a write request and, in association with the write request, a designation of a specified namespace of the one or more namespaces, write data, and an associated handle that indicates context for the write data;
logic to cause the storage device to
select one of the groups, dependent on the handle, the selected one of the groups being associated with the specified namespace,
store the write data in the one or more erase units of the flash memory which are associated with the selected one of the groups,
track write data validity information for the one or more erase units of flash memory which are associated with the selected one of the groups; and
dependent on the validity information, perform garbage collection in a manner dedicated to the selected one of the groups;
wherein, as part of garbage collection performed for the selected group, the logic is to cause the storage device to copy the write data to a destination erase unit of the flash memory, the destination erase unit being selected dependent on the associated handle;
wherein the said logic comprises at least one of (1) instructional logic stored on a physical storage medium and (2) hardware logic.
|