US 12,169,645 B2
Data storage device and operating method thereof
Hyun Tae Kim, Icheon-si (KR); and So Yoon Jung, Icheon-si (KR)
Assigned to SK HYNIX INC., Icheon-si (KR)
Filed by SK hynix Inc., Icheon-si (KR)
Filed on Nov. 9, 2021, as Appl. No. 17/522,767.
Claims priority of application No. 10-2021-0066072 (KR), filed on May 24, 2021.
Prior Publication US 2022/0374172 A1, Nov. 24, 2022
Int. Cl. G06F 3/06 (2006.01); G06F 12/0871 (2016.01); G06F 12/0873 (2016.01)
CPC G06F 3/0659 (2013.01) [G06F 3/0611 (2013.01); G06F 3/0634 (2013.01); G06F 3/0644 (2013.01); G06F 3/0673 (2013.01); G06F 3/0629 (2013.01); G06F 12/0871 (2013.01); G06F 12/0873 (2013.01); G06F 2212/1044 (2013.01)] 18 Claims
OG exemplary drawing
 
1. A data storage device comprising:
a storage unit configured to store data and including a plurality of storage areas; and
a controller in communication with the storage unit and configured to program write data to a first area as at least one of the plurality of storage areas with a priority over a second area as at least one of the plurality of storage areas and transfer data of the first area to the second area,
wherein the second area includes a plurality of logical units and the first area includes buffer areas associated with the plurality of logical units, respectively,
wherein the controller is further configured to adjust a size of a buffer area based on 1) a number of times saturated by the write data for the buffer area, a saturation occurring due to the size of the write data written to the buffer area being greater than a certain size and 2) an overflow size of the write data corresponding to a difference between the size of the write data and the certain size,
wherein the controller is configured to control an adjustment amount so that the adjusted size of the buffer area is less than or equal to a part of a remaining size of the first area.