CPC G06F 12/0246 (2013.01) [G06F 3/0614 (2013.01); G06F 3/0631 (2013.01); G06F 3/064 (2013.01); G06F 3/0652 (2013.01); G06F 3/0679 (2013.01); G06F 12/0253 (2013.01); G06F 12/0891 (2013.01); G06F 2212/7201 (2013.01)] | 10 Claims |
1. A method of operating a storage device comprising a memory device including write-completed blocks storing data and free blocks each containing no data and a memory controller controlling the memory device to perform a garbage collection operation, the method comprising:
determining a victim block on which to perform the garbage collection operation among the write-completed blocks;
determining an attribute of valid data stored in the victim block according to a result of comparing a number of map segments corresponding to the valid data with a threshold value, the map segments including mapping information between logical addresses and physical addresses of the valid data; and
storing the valid data to one of the free blocks based on erase counts of the free blocks and the attribute of the valid data.
|