Patent ID: 11922036
Assignee: WESTERN DIGITAL TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A data storage device comprising:
a memory; and
a data storage controller including an electronic processor and a data storage controller memory that includes a space-leveling scheme and a block container assignment queue (BCAQ), the electronic processor, when executing the space-leveling scheme, is configured to:
receive a first host data stream,
store the first host data stream in the BCAQ,
detect a next storage block container switching event,
responsive to detecting the next storage block container switching event, randomly select a location of the BCAQ,
responsive to randomly selecting the location of the BCAQ, assign a second host data stream located at the location of the BCAQ that is selected to a storage block container of the memory, and
control the memory to store the second host data stream in the storage block container that is assigned.