IP Library Granted Patent US 11,573,893
Granted Patent B2
US 11,573,893 · App. 16/569,163 · Granted Feb 7, 2023

Storage system and method for validation of hints prior to garbage collection

Inventors: Ramanathan Muthiah (Bangalore, IN); Judah Gamliel Hahn (Ofra, IL)
Assignee: Western Digital Technologies, Inc.
G06F12/0253G06F3/0616G06F3/0653G06F3/0659G06F3/0673G06F13/1694
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 11,573,893
App. No.
16/569,163
Granted
Feb 7, 2023
Kind
B2
Abstract

A storage system and method for validation of hints prior to garbage collection are provided. In one embodiment, a method is provided comprising receiving a command from a host to store data in a memory; storing, in the memory, the data and a hint that characterizes the data; determining whether the hint is still valid; and in response determining that the hint is still valid, using the hint in performing garbage collection. Other embodiments are provided.

Claims (48)

1. A method for using a validated hint in performing garbage collection, the method comprising:

performing the following in a storage system comprising a memory:

receiving a command from a host to store data in the memory;

storing, in the memory, the data and a hint that characterizes the data, wherein the data is stored in an area of the memory that stores other data consistent with the hint;

logging a read pattern of the data;

validating the hint against the read pattern by determining whether the hint is consistent with the read pattern;

in response to determining that the hint is consistent with the read pattern, using the hint in performing garbage collection; and

in response to determining that the hint is not consistent with the read pattern:

removing the hint;

deriving a new hint; and

using the new hint in performing garbage collection.

2. The method of claim 1 , wherein the read pattern comprises a log of read commands.

3. The method of claim 1 , wherein the read pattern is derived.

4. The method of claim 1 , wherein at least one garbage collection parameter is used to validate the hint.

5. The method of claim 4 , wherein the at least one garbage collection parameter comprises data age.

6. The method of claim 4 , wherein the at least one garbage collection parameter comprises a validity count associated with the data.

7. The method of claim 1 , wherein the hint is received from the host.

8. The method of claim 1 , wherein the hint is derived by the storage system.

9. The method of claim 1 , wherein the hint is stored as metadata in a flash management unit.

10. The method of claim 1 , wherein the hint characterizes the data by indicating one or more of the following: whether or not the data will be updated frequently, a file type for the data, a sequence of logical block addresses associated with the data, whether the data is part of an existing file, whether the data replaces data of an existing file, and whether the data is a copy of a file already stored in the memory.

11. The method of claim 1 , wherein the validating is triggered by a determination to perform garbage collection.

12. The method of claim 1 , wherein the hint is used in performing garbage collection to determine whether to move the data to a single-level cell or a multi-level cell.

13. A storage system comprising:

a memory; and

a controller configured to be in communication with the memory, wherein the controller is further configured to:

receive a command from a host to store data in the memory;

store, in the memory, the data and a hint that characterizes the data, wherein the data is stored in an area of the memory that stores other data consistent with the hint;

log a read pattern of the data;

validate the hint against the read pattern by determinin whether the hint is consistent with the read pattern;

in response to determining that the hint is consistent with the read pattern, use the hint in performing garbage collection; and

in response to determining that the hint is not consistent with the read pattern:

remove the hint;

derive a new hint; and

use the new hint in performing garbage collection.

14. The storage system of claim 13 , wherein the controller is further configured to attempt to validate the hint using at least one garbage collection parameter.

15. The storage system of claim 13 , wherein the hint is received from a host.

16. The storage system of claim 13 , wherein the hint is derived by the controller.

17. The storage system of claim 13 , wherein the memory comprises a three-dimensional memory.

18. The storage system of claim 13 , wherein the storage system is configured to be integrated in a host.

19. The storage system of claim 13 , wherein the storage system is configured to be removably connected with a host.

20. A storage system comprising:

a memory;

means for receiving a command from a host to store data in the memory;

means for storing, in the memory, the data and a hint that characterizes the data, wherein the data is stored in an area of the memory that stores other data consistent with the hint;

means for logging a read pattern of the data;

means for validating the hint against the read pattern by determining whether the hint is consistent with the read pattern;

means for using the hint in performing garbage collection in response to determining that the hint is consistent with the read pattern; and

means for removing the hint, deriving a new hint, and using the new hint in performing garbage collection in response to determining that the hint is not consistent with the read pattern.

Assignments (10)
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 - DDTL LOAN AGREEMENT Recorded Aug 21, 2023
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 067045/0156 →
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 →
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 Sep 16, 2019
From: MUTHIAH, RAMANATHAN; HAHN, JUDAH GAMLIEL
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 050384/0781 →
Continuity (1)
Related Publication 20210081316A1 · Mar 18, 2021