Namespace planning of non-volatile memory that takes advantage of multi-channel accessing and considers multi-channel properties is provided. A data storage device includes a non-volatile memory and a controller. The controller accesses the non-volatile memory through multiple channels. When performing namespace planning on the non-volatile memory, the controller makes each assigned channel correspond to just one namespace.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A data storage device, comprising: a non-volatile memory; and a controller, accessing the non-volatile memory through multiple channels, wherein: when performing namespace planning on the non-volatile memory, the controller makes each assigned channel correspond to just one namespace; when another namespace is requested to be created, a namespace originally existing in the non-volatile memory is de-attached to be planned by the controller again; and the controller moves data from a de-attached space to a newly-planned space.
2. The data storage device as claimed in claim 1 , wherein: the controller assigns all channels.
3. The data storage device as claimed in claim 2 , wherein: total number of channels is X; total number of namespaces is Y; and each namespace is accessed through Z channels, where Z is a quotient of dividing X by Y.
4. The data storage device as claimed in claim 1 , wherein: according to the control of the controller, the size requirement of each namespace is equally divided to be responsible by assigned channels.
5. The data storage device as claimed in claim 4 , wherein: the controller sets each channel to correspond to a logical address range and thereby the size requirement of each namespace is handled.
6. The data storage device as claimed in claim 5 , wherein: the non-volatile memory is a flash memory, which is controlled by a host through the controller with the host issuing logical block addresses; and the controller sets each channel to correspond to a range of logical block address and thereby the size requirement of each namespace is handled.
7. The data storage device as claimed in claim 6 , wherein: for each channel, the controller uses spare blocks to perform garbage collection and wear leveling.
8. The data storage device as claimed in claim 6 , wherein: channels assigned to the same namespace are responsible for equal-sized logical block address ranges and thereby the size requirement of each namespace is handled.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
October 9, 2018
May 12, 2020
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.