IP Library Granted Patent US 11,662,932
Granted Patent B2
US 11,662,932 · App. 17/358,786 · Granted May 30, 2023

Tiered storage system with defragmentation based on weighted flash fragmentation factor

Inventors: Amit Sharma (Bengaluru, IN); Dinesh Kumar Agarwal (Bangalore, IN)
Assignee: Western Digital Technologies, Inc.
G06F3/0644G06F3/0608G06F3/0659G06F3/0679G06F12/1009
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,662,932
App. No.
17/358,786
Granted
May 30, 2023
Kind
B2
Abstract

Systems and method for providing tier selection for data based on a weighted flash fragmentation factor. A weighted flash fragmentation factor is determined indicating a severity of fragmentation in a non-volatile storage based on a logical block address range in a logical-to-physical mapping table for data from a host device to be stored in the tiered data storage system. The factor is shared with the host device to determine a tier selection. The data is stored according to the tier selection based on the factor.

Claims (65)

1. A method, comprising:

determining, responsive to a proposed storage operation from a host device targeting a host logical block address, a weighted flash fragmentation factor for a data storage device, wherein the weighted flash fragmentation factor:

is a function of:

a change in a quantity of sense operations; and

a change to a number of entries in a logical-to-physical mapping table; and

indicates a severity of fragmentation in storage device media of the data storage device;

sharing the weighted flash fragmentation factor with the host device for use by the host device in a tier selection for the proposed storage operation;

receiving, responsive to the tier selection by the host device, the proposed storage operation; and

executing, by the data storage device, the proposed storage operation.

2. The method of claim 1 , wherein the weighted flash fragmentation factor is based on a difference in access time of previously stored data in the data storage device.

3. The method of claim 2 , wherein the difference in access time is based on the change in the quantity of sense operations to read the host logical block address in the data storage device.

4. The method of claim 2 , wherein the weighted flash fragmentation factor is further based on a proposed change to the logical-to-physical mapping table of the data storage device corresponding to the proposed storage operation.

5. The method of claim 1 , wherein determining the weighted flash fragmentation factor further comprises determining the weighted flash fragmentation factor for each logical block address range in the data storage device.

6. The method of claim 1 , wherein sharing the weighted flash fragmentation factor with the host device comprises sharing the weighted flash fragmentation factor for each logical block address range in the data storage device using a buffer selected from:

a host managed buffer; and

a controller memory buffer.

7. The method of claim 1 , wherein the determining the weighted flash fragmentation factor is responsive to receiving a request to calculate the weighted flash fragmentation factor for the logical host block address of the proposed storage operation.

8. The method of claim 1 , wherein the tier selection for the proposed storage operation is based on:

an anticipated access frequency of data in the proposed storage operation; and

the weighted flash fragmentation factor.

9. The method of claim 1 , further comprising:

identifying, responsive to the proposed storage operation from the host device, a gap in logical block addresses in the logical-to-physical mapping table; and

requesting that future data be stored in the data storage device according to the gap in the logical block addresses in the logical-to-physical mapping table.

10. The method of claim 1 , further comprising:

identifying, responsive to the proposed storage operation from the host device, a logical block address range of a fragment of data that is included in another range of logical block addresses; and

requesting that the fragment of data be moved to a tier different than the data storage device.

11. A data storage device, comprising:

a processor;

a memory;

a logical-to-physical mapping table configured to store a mapping of logical block addresses to physical addresses of storage device media;

a fragmentation manager, stored in the memory for execution by the processor, configured to:

determine, responsive to a proposed storage operation from a host device targeting a host logical block address, a weighted flash fragmentation factor for the data storage device, wherein the weighted flash fragmentation factor:

is a function of:

a change in a quantity of sense operations; and

a change to a number of entries in the logical-to-physical mapping table; and

indicates a severity of fragmentation in the storage device media based on a logical block address range of data to be stored in the storage device media; and

share the weighted flash fragmentation factor with the host device for use by the host device in a tier selection for the proposed storage operation; and

a multi-tier memory mapping module, stored in the memory for execution by the processor, configured to:

receive, responsive to the tier selection by the host device, the proposed storage operation; and

execute, by the data storage device, the proposed storage operation.

12. The data storage device of claim 11 , wherein the weighted flash fragmentation factor is based on a difference in access time of previously stored data in the data storage device.

13. The data storage device of claim 12 , wherein the difference in access time is based on the change in the quantity of sense operations in the data storage device.

14. The data storage device of claim 12 , wherein the weighted flash fragmentation factor is further based on a proposed change to the logical-to-physical mapping table of the data storage device corresponding to the proposed storage operation.

15. The data storage device of claim 11 , wherein to generate the weighted flash fragmentation factor further comprises generating the weighted flash fragmentation factor for each logical block address range in the storage device media.

16. The data storage device of claim 11 , wherein to share the weighted flash fragmentation factor to the host device comprises sharing the weighted flash fragmentation factor for each logical block address range in the data storage device in one of:

a host managed buffer; and

a controller memory buffer.

17. The data storage device of claim 11 , wherein to generate the weighted flash fragmentation factor is in response to receiving a request to calculate the weighted flash fragmentation factor for a logical block address of data.

18. The data storage device of claim 11 , wherein the tier selection for the proposed storage operation is based on:

an anticipated access frequency of data in the proposed storage operation; and the weighted flash fragmentation factor.

19. The data storage device of claim 18 , further comprising:

a relocation module, stored in the memory for execution by the processor, configured to:

identify a gap in logical block addresses in the logical-to-physical mapping table in the data storage device;

identify a logical block address range of a fragment of data that is included in another range of logical block addresses; and

request the fragment of data be moved to a tier different than the data storage device.

20. A data storage device, comprising:

a non-volatile storage medium;

means for determining, responsive to a proposed storage operation from a host device targeting a host logical block address, a weighted flash fragmentation factor for the data storage device, wherein the weighted flash fragmentation factor:

is a function of:

a change in a quantity of sense operations; and

a change to a number of entries in a logical-to-physical mapping table; and

indicates a severity of fragmentation in a storage device media of the data storage device;

means for sharing the weighted flash fragmentation factor with the host device for use by the host device in a tier selection for the proposed storage operation;

means for receiving, responsive to the tier selection by the host device, the proposed storage operation; and

means for executing, by the data storage device, the proposed storage operation.

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 057651 FRAME 0296 Recorded Feb 8, 2022
From: JPMORGAN CHASE BANK, N.A.
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 058981/0958 →
SECURITY INTEREST Recorded Sep 17, 2021
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A., AS AGENT
Reel/Frame 057651/0296 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 10, 2021
From: SHARMA, AMIT; AGARWAL, DINESH KUMAR
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 057136/0604 →