US 11,922,036 B2
Host data stream assignment with space-leveling across storage block containers
Oleg Kragel, San Jose, CA (US); Vijay Sivasankaran, Dublin, CA (US); Mikhail Palityka, Oakville (CA); and Lawrence Vazhapully Jacob, Folsom, CA (US)
Assigned to Western Digital Technologies, Inc., San Jose, CA (US)
Filed by Western Digital Technologies, Inc., San Jose, CA (US)
Filed on May 12, 2022, as Appl. No. 17/743,292.
Prior Publication US 2023/0367499 A1, Nov. 16, 2023
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/064 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0659 (2013.01); G06F 3/0673 (2013.01)] 20 Claims
OG exemplary drawing
 
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.