IP Library Granted Patent US 9,354,955
Granted Patent B1
US 9,354,955 · App. 14/250,000 · Granted May 31, 2016

Partial garbage collection for fast error handling and optimized garbage collection for the invisible band

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,354,955
App. No.
14/250,000
Granted
May 31, 2016
Kind
B1
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.

Claims (33)

1. A method for managing garbage collection of memory locations in a data storage device (DSD) comprising a plurality of dies, each die comprising a plurality of memory blocks, the method comprising:

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 of memory, the garbage collecting comprising:

determining one or more journals corresponding to the selected physical region, the one or more journals 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 of memory contain valid data based on a comparison of information in the one or more journals and a mapping table;

if valid data exists, copying valid data into memory locations in memory regions other than the selected physical region of memory; and

alternating garbage collecting on an invisible band journal with garbage collecting the selected physical region of memory associated with one or more data band journals, wherein garbage collecting on the invisible band journal comprises mapping information transaction entries recording what logical data are mapped to a location designed for denoting that logical data has been invalidated,

wherein the selected physical region of memory is erased when the block management region is erased.

2. The method of claim 1 , wherein the block management region comprises one or more blocks from a plurality of dies in the DSD.

3. The method of claim 1 , wherein a smallest physical region of memory that can be selected to be garbage collected is a flash page (F-page).

4. The method of claim 1 , wherein the physical region is selected upon detection of a program error at a physical location in the selected physical region.

5. The method of claim 1 , wherein the physical region is selected upon detection of a high bit error count during a read operation.

6. The method of claim 1 , wherein the selected physical region of memory is in a data band and associated with one or more data band journals.

7. The method of claim 6 , wherein the selected physical region of memory in the data band stores at least one logical data segment that spans boundaries of the one or more data band journals.

8. The method of claim 1 , wherein the one or more data band journals and the invisible band journal are selected to contain substantially a same number of recorded mapping information transaction entries.

9. A data storage device (DSD), comprising:

a controller; and

a plurality of dies, each die comprising a plurality of memory blocks,

wherein the controller is configured to:

select a physical region of memory to garbage collect, the selected physical region being a subset of a block management region; and

garbage collect the selected physical region of memory, wherein the garbage collecting comprising:

determine one or more journals corresponding to the selected physical region, the one or more journals comprising transaction entries indicating what logical data are written to memory locations in the selected physical region;

determine whether the memory locations within the physical region of memory contain valid data based on a comparison of information in the one or more journals and a mapping table; and

if valid data exists, copy valid data into memory locations in memory regions other than the selected physical region of memory; and

alternate garbage collecting on an invisible band journal with garbage collecting the selected physical region of memory associated with one or more data band journals, wherein garbage collecting on the invisible band journal comprises mapping information transaction entries recording what logical data are mapped to a location designed for denoting that logical data has been invalidated,

wherein the selected physical region of memory is erased when the block management region is erased.

10. The DSD of claim 9 , wherein the block management region comprises one or more blocks from a plurality of dies in the DSD.

11. The DSD of claim 9 , wherein the controller is further configured to select a flash page (F-page) as a smallest physical region of memory that can be selected to be garbage collected.

12. The DSD of claim 9 , wherein the physical region is selected upon detection of a program error at a physical location in the selected physical region.

13. The DSD of claim 9 , wherein the physical region is selected upon detection of a high bit error count during a read operation.

14. The DSD of claim 9 , wherein the controller is further configured to select the physical region of memory in a data band and associated with one or more data band journals.

15. The DSD of claim 14 , wherein the controller is further configured to store, in the selected physical region of memory in the data band, at least one logical data segment that spans boundaries of the one or more data band journals.

16. The DSD of claim 9 , wherein the controller is further configured to select the one or more data band journals and the invisible band journal to contain substantially a same number of recorded mapping information transaction entries.

Assignments (20)
SECURITY AGREEMENT Recorded Apr 25, 2025
From: SANDISK TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 071050/0001 →
PARTIAL RELEASE OF SECURITY INTERESTS Recorded Apr 25, 2025
From: JPMORGAN CHASE BANK, N.A., AS AGENT
To: SANDISK TECHNOLOGIES, INC.
Reel/Frame 071382/0001 →
PATENT COLLATERAL AGREEMENT Recorded Aug 23, 2024
From: SANDISK TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A., AS THE AGENT
Reel/Frame 068762/0494 →
CHANGE OF NAME Recorded Jun 27, 2024
From: SANDISK TECHNOLOGIES, INC.
To: SANDISK TECHNOLOGIES, INC.
Reel/Frame 067982/0032 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 29, 2024
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: SANDISK TECHNOLOGIES, INC.
Reel/Frame 067567/0682 →
PATENT COLLATERAL AGREEMENT - A&R LOAN AGREEMENT Recorded Aug 21, 2023
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 064715/0001 →
PATENT COLLATERAL AGREEMENT - DDTL LOAN AGREEMENT Recorded Aug 21, 2023
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 067045/0156 →
RELEASE OF SECURITY INTEREST AT REEL 038744 FRAME 0481 Recorded Feb 8, 2022
From: JPMORGAN CHASE BANK, N.A.
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 058982/0556 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 29, 2018
From: SKYERA, LLC
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 046726/0328 →
RELEASE OF SECURITY INTEREST Recorded Mar 5, 2018
From: U.S. BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 045501/0714 →
SECURITY AGREEMENT Recorded May 17, 2016
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 038744/0481 →
SECURITY AGREEMENT Recorded May 17, 2016
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 038722/0229 →
SECURITY AGREEMENT Recorded May 17, 2016
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: U.S. BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT
Reel/Frame 038744/0281 →
CHANGE OF NAME Recorded Jul 17, 2015
From: SKYERA, INC.
To: SKYERA, LLC
Reel/Frame 036129/0673 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 20, 2015
From: JONES, JUSTIN; TOMLIN, ANDREW J.; SWEAZEY, PAUL; LAM, JOHNNY A.
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 034760/0759 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 6, 2015
From: MULLENDORE, RODNEY N.
To: SKYERA, INC.
Reel/Frame 034648/0212 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 6, 2015
From: JONES, JUSTIN; TOMLIN, ANDREW J.; SWEAZEY, PAUL; LAM, JOHNNY A.
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 034785/0906 →
RELEASE OF SECURITY INTEREST Recorded Jan 6, 2015
From: DELL PRODUCTS L.P.
To: SKYERA, LLC
Reel/Frame 034742/0069 →
SECURITY INTEREST Recorded Nov 11, 2014
From: SKYERA, INC.
To: WESTERN DIGITAL CAPITAL, INC.
Reel/Frame 034204/0849 →
SECURITY INTEREST Recorded Aug 14, 2014
From: SKYERA, INC.
To: DELL PRODUCTS L.P.
Reel/Frame 033546/0001 →