IP Library Granted Patent US 10,061,696
Granted Patent B2
US 10,061,696 · App. 15/166,694 · Granted Aug 28, 2018

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

Inventors: Justin Jones (Burlingame, CA); Andrew J. Tomlin (San Jose, CA); Paul Sweazey (Santa Cruz, CA); Johnny A. Lam (Firestone, CO); Rodney N. Mullendore (San Jose, CA)
Assignee: Western Digital Technologies, Inc.
G06F12/0253G06F11/073G06F11/0793G06F12/00G06F12/0246G06F2212/1044G06F2212/7205
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 10,061,696
App. No.
15/166,694
Granted
Aug 28, 2018
Kind
B2
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 (21)

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.

2. The method of claim 1 , wherein the one or more invisible band S-journals scheduled for garbage collection contains substantially a same number of entries as the one or more data band S-journals scheduled for garbage collection.

3. The method of claim 1 , comprising:

determining whether a first invisible band S-journal scheduled for garbage collection contains valid metadata;

copying the determined valid metadata from first invisible band S-journal to a second invisible band S-journal; and

freeing the first invisible band S-journal for use.

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.

5. The DSD of claim 4 , wherein the one or more invisible band S-journals scheduled for garbage collection contains substantially a same number of entries as the one or more data band S-journals scheduled for garbage collection.

6. The DSD of claim 4 , wherein the controller configured to:

determine whether a first invisible band S-journal scheduled for garbage collection contains valid metadata;

copy the determined valid metadata from first invisible band S-journal to a second invisible band S-journal; and

free the first invisible band S-journal for use.

Assignments (13)
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 →
SECURITY AGREEMENT Recorded Apr 25, 2025
From: SANDISK TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 071050/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 052915 FRAME 0566 Recorded Feb 8, 2022
From: JPMORGAN CHASE BANK, N.A.
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 059127/0001 →
SECURITY INTEREST Recorded Feb 6, 2020
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A., AS AGENT
Reel/Frame 052915/0566 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 29, 2018
From: SKYERA, LLC
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 046726/0328 →
CHANGE OF NAME Recorded Jun 10, 2016
From: SKYERA, INC.
To: SKYERA, LLC
Reel/Frame 038955/0828 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 10, 2016
From: MULLENDORE, RODNEY N.
To: SKYERA, INC.
Reel/Frame 038874/0050 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 10, 2016
From: JONES, JUSTIN; TOMLIN, ANDREW J.; SWEAZEY, PAUL; LAM, JOHNNY A.
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 038872/0371 →
Continuity (3)
Continuation 14250000 · Apr 10, 2014
Provisional Application 61955418 · Mar 19, 2014
Related Publication 20160275012A1 · Sep 22, 2016