Patent ID: 6611852
Filing Date: 2003-08-26
Classification: G06F,Y10S

Abstract:
A method for cleaning a log structure, the log structure including one or more segments, each segment including live data, the method comprising:ordering the one or more segments into a hot list according to age, with the youngest segment at the beginning of the hot list and the oldest segment at the end of the hot list, the youngest segment being the most recently used segment and the oldest segment being the least recently used segment; pushing one or more of the oldest segments in the hot list to a cleaning matrix, the cleaning matrix grouping segments according to age and percent of live data in the segment; traversing the cleaning matrix looking for a segment; determining whether enough live data has been found to write a complete segment; sequentially repeating the previous two processes until enough live data has been found to write a complete segment; reading data from the one or more found segments; and writing the read live data into an unused segment.