Partial garbage collection for fast error handling and optimized garbage collection for the invisible band
First Claim
1. A method for managing garbage collection for an invisible band in a data storage device (DSD), the method comprising:
- designating an invisible band that comprises a memory address range designed to indicate that logical data has been invalidated;
creating one or more invisible band S-journals for TRIM operations, wherein the one or more invisible band S-journals contains mapping information transaction entries recording what logical data are mapped to a location designed for denoting that logical data has been invalidated;
scheduling garbage collection for the one or more invisible band S-journals by alternating garbage collection on the one or more invisible band S-journals with garbage collection on one or more data band S-journals, wherein the one or more data band S-journals contain mapping information transaction entries indicating what logical data are written to memory locations in a selected physical region of the DSD; and
performing the scheduled garbage collection.
10 Assignments
0 Petitions
Accused Products
Abstract
A method for managing garbage collection of memory locations in an DSD having a plurality of dies each having a plurality of memory blocks includes: selecting a physical region of memory to be garbage collected, the selected physical region being a subset of a block management region; and garbage collecting the selected physical region. The garbage collecting includes: determining one or more journals corresponding to the selected physical region, the journal comprising transaction entries indicating what logical data are written to memory locations in the selected physical region; determining whether the memory locations within the physical region contain valid data based on a comparison of information in the journal and a mapping table; and if valid data exists, copying valid data into memory locations in memory regions other than the selected physical region of memory. The selected physical region of memory is erased when the block management region is erased.
-
Citations
6 Claims
-
1. A method for managing garbage collection for an invisible band in a data storage device (DSD), the method comprising:
-
designating an invisible band that comprises a memory address range designed to indicate that logical data has been invalidated; creating one or more invisible band S-journals for TRIM operations, wherein the one or more invisible band S-journals contains mapping information transaction entries recording what logical data are mapped to a location designed for denoting that logical data has been invalidated; scheduling garbage collection for the one or more invisible band S-journals by alternating garbage collection on the one or more invisible band S-journals with garbage collection on one or more data band S-journals, wherein the one or more data band S-journals contain mapping information transaction entries indicating what logical data are written to memory locations in a selected physical region of the DSD; and performing the scheduled garbage collection. - View Dependent Claims (2, 3)
-
-
4. A data storage device (DSD), comprising:
-
a controller; a plurality of dies, each die comprising a plurality of memory blocks, an invisible band that comprises a memory address range designed to indicate that logical data has been invalidated; and one or more invisible band S-journals created by TRIM operations, wherein the one or more invisible band S-journal contains mapping information transaction entries recording what logical data are mapped to a location designed for denoting that logical data has been invalidated; wherein the controller is configured to schedule garbage collection for the one or more invisible band S-journals by alternating garbage collection on the one or more invisible band S-journals with garbage collection on one or more data band S-journals, wherein the one or more data band S-journals contains mapping information transaction entries indicating what logical data are written to memory locations in a selected physical region of the DSD; and wherein the controller is configured to perform the scheduled garbage collection. - View Dependent Claims (5, 6)
-
Specification