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 |
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.
|