Invention Grant
- Patent Title: Garbage collection for solid state disks
- Patent Title (中): 垃圾收集固态硬盘
-
Application No.: US12508879Application Date: 2009-07-24
-
Publication No.: US08166233B2Publication Date: 2012-04-24
- Inventor: Mark R. Schibilla , Randy J. Reiter
- Applicant: Mark R. Schibilla , Randy J. Reiter
- Applicant Address: US CA Milpitas
- Assignee: LSI Corporation
- Current Assignee: LSI Corporation
- Current Assignee Address: US CA Milpitas
- Main IPC: G06F13/00
- IPC: G06F13/00

Abstract:
Described embodiments provide a method of recovering storage space on a solid state disk (SSD). An index and valid page count are determined for each block of a segment of an SSD. If the valid page count of at least one block in the segment is zero, a quick clean is performed. A quick clean deallocates blocks having zero valid pages and places them in a queue for erasure. Otherwise, a deep clean is performed. A deep clean determines a compaction ratio, N-M, wherein N is a number of partially valid blocks and M is a number of free blocks required to compact the valid data from the N partially valid blocks into M entirely valid blocks. At least one data structure of the SSD is modified to refer to the M entirely valid blocks, and the N partially valid blocks are placed in the queue for erasure.
Public/Granted literature
- US20110022778A1 Garbage Collection for Solid State Disks Public/Granted day:2011-01-27
Information query