Garbage collection in a storage system
First Claim
1. A computing system comprising:
- a data storage medium;
a data storage controller configured to;
determine that a current segment within the data storage medium is in use by identifying a valid mapping of a location in the current segment to one or more virtual addresses;
copy data from the location in the current segment to a new storage location in the data storage medium; and
reclaim the location in the current segment.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method for performing garbage collection. A system includes a storage medium, a first table including entries which map a virtual address to locations in the storage medium, and a second table with entries which include a reverse mapping of a physical address in a data storage medium to one or more virtual addresses. A storage controller is configured to perform garbage collection. During garbage collection, the controller is configured to identify one or more entries in the second table which correspond to a segment to be garbage collected. In response to determining the first table includes a valid mapping for a virtual address included in an entry of the one of the one or more entries, the controller is configured to copy data from a first location identified in the entry to a second location in the data storage medium, and reclaim the first storage location.
272 Citations
17 Claims
-
1. A computing system comprising:
-
a data storage medium; a data storage controller configured to; determine that a current segment within the data storage medium is in use by identifying a valid mapping of a location in the current segment to one or more virtual addresses; copy data from the location in the current segment to a new storage location in the data storage medium; and reclaim the location in the current segment. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for use in a computing system, the method comprising:
-
determining that a current segment within a data storage medium is in use by identifying a valid mapping of a location in the current segment to one or more virtual addresses; copying data from the location in the current segment to a new storage location in the data storage medium; and reclaiming the location in the current segment. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A non-transitory computer readable storage medium comprising program instructions, wherein said program instructions are executable to:
-
determine that a current segment within a data storage medium is in use by identifying a valid mapping of a location in the current segment to one or more virtual addresses; copy data from the location in the current segment to a new storage location in the data storage medium; and reclaim the location in the current segment. - View Dependent Claims (14, 15, 16, 17)
-
Specification