Method and data storage apparatus for replacement of invalid data blocks due to data migration
AssigneeSK hynix Inc.
InventorHyun Tae Kim
Life of this patent
Estimating the term…
Abstract
A data storage apparatus may include: a storage comprising a plurality of memory blocks; and a controller configured to: configure a write buffer pool by selecting a plurality of first memory blocks which are some of the plurality of memory blocks, manage remaining memory blocks except for the first memory blocks as second memory blocks, exclude one or more of the first memory blocks, whose data are migrated to the second memory blocks and add one or more of the second memory blocks to the write buffer pool.
Claims19
A data storage apparatus comprising:
- a storage comprising a plurality of memory blocks;
- and
- a controller configured to:
- configure a write buffer pool by selecting a plurality of first memory blocks which are some of the plurality of memory blocks, and manage remaining memory blocks, except for the first memory blocks, as second memory blocks, exclude, from the buffer pool, one or more of the first memory blocks whose data are migrated to the second memory blocks and add one or more of the second memory blocks to the write buffer pool, and
- in response to migrating the data from the one or more first memory blocks to the second memory blocks, substitute the one or more of the first memory blocks, in which the data become invalid due to the data being migrated to the second memory blocks, with free blocks among the second memory blocks.
A data storage apparatus comprising:
- a storage comprising a plurality of memory blocks;
- and
- a controller configured to configure a write buffer pool by selecting a plurality of first memory blocks which are some of the plurality of memory blocks,
- wherein the first memory blocks include at least one of a valid data block, an invalid data block and a free block, and
- wherein the controller is further configured to manage the write buffer pool to keep a number of the first memory blocks, except for the invalid data blocks, at a target level by adding after generating the invalid data blocks and prior to erasing the invalid data blocks, free blocks to the write buffer pool, wherein a number of the free blocks equals a number of the generated invalid data blocks.
An operation method of a data storage apparatus which includes a storage including a plurality of memory blocks and a controller configured to control the storage, the operation method comprising:
- configuring, by the controller, a write buffer pool by selecting a plurality of first memory blocks which are some of the plurality of memory blocks;
- managing, by the controller, remaining memory blocks, except for the first memory blocks as second memory blocks;
- migrating, by the controller, data stored in one or more of the first memory blocks to one or more of the second memory blocks;
- excluding from the write buffer pool, by the controller, the one or more of the first memory blocks and adding one or more of the second memory blocks to the write buffer pool, and
- in response to migrating the data from the one or more first memory blocks to the second memory blocks, substituting the one or more of the first memory blocks, in which the data become invalid due to the data being migrated to the second memory blocks, with free blocks among the second memory blocks.
Dependencies are inferred from the claim text.