IP Library Granted Patent US 10,795,604
Granted Patent B2
US 10,795,604 · App. 16/042,960 · Granted Oct 6, 2020

Reporting available physical storage space of non-volatile memory array

Inventors: Michal Silbermintz (Tel Mond, IL); David Haliva (Kfar Saba, IL); Gadi Vishne (Petach-Tikva, IL)
Assignee: Western Digital Technologies, Inc.
G06F3/0653G06F3/0604G06F3/064G06F3/0688
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,795,604
App. No.
16/042,960
Granted
Oct 6, 2020
Kind
B2
Abstract

The disclosure relates in some aspects to reporting the amount of available physical storage space of a non-volatile memory (NVM) array. A device including an NVM array may send reports regarding the amount of available physical storage space in the non-volatile memory device to a host device or some other suitable apparatus. The amount of available physical storage space takes into account whether any of the physical address blocks of the NVM array have been designated as worn-out. The host device (or other suitable apparatus) may send a report to a user when the amount of available physical storage space is relatively low.

Claims (73)

1. A data storage apparatus, comprising:

a non-volatile memory array;

an interface; and

a processor coupled to the non-volatile memory array and the interface and configured to:

determine an amount of available physical storage space in the non-volatile memory array, wherein the amount of available physical storage space is based on a total amount of physical storage space, a first amount of storage space comprising used blocks, and a second amount of storage space comprising worn-out blocks,

determine an amount of write data associated with a pending write command in a command queue of the apparatus,

compare the amount of available physical storage space with the amount of write data,

generate an indication based on the comparison, wherein the indication indicates that the apparatus does not have sufficient data storage space for servicing the pending write command, and

send the indication to a host device via the interface thereby allowing the processor to take action to prevent the data storage apparatus from switching to a read-only mode of operation.

2. The apparatus of claim 1 , wherein the indication further indicates that the amount of available physical storage space is less than or equal to a threshold.

3. The apparatus of claim 1 , wherein the indication further indicates the amount of available physical storage space.

4. The apparatus of claim 1 , wherein the generation of the indication comprises:

comparing the amount of available physical storage space with a threshold; and

setting the indication based on the comparison.

5. The apparatus of claim 4 , wherein the determination of the amount of available physical storage space is triggered based on a timer of the apparatus.

6. The apparatus of claim 4 , wherein:

the processor is further configured to receive a request regarding the amount of available physical storage space; and

the determination of the amount of available physical storage space is triggered by the request.

7. The apparatus of claim 1 , wherein the amount of available physical storage space is further based on a third amount of storage space that is designated as being reserved for use by the apparatus.

8. A method for a data storage apparatus, comprising:

determining an amount of available physical storage space in a non-volatile memory array, wherein the amount of available physical storage space is based on a total amount of physical storage space, a first amount of storage space comprising used blocks, a second amount of storage space comprising worn-out blocks, and a third amount of storage space comprising reserved blocks;

determining an amount of write data associated with a pending write command in a command queue of the apparatus;

comparing the amount of available physical storage space with the amount of write data;

generating an indication based on the comparison, wherein the indication indicates that the apparatus does not have sufficient data storage space for servicing the pending write command; and

sending the indication to a host device thereby allowing the apparatus to take action to prevent the apparatus from switching to a read-only mode of operation.

9. The method of claim 8 , wherein the generation of the indication comprises:

determining whether the amount of available physical storage space is less than or equal to a threshold amount of storage space; and

setting the indication to further indicate that the amount of available physical storage space is less than or equal to the threshold amount of storage space.

10. The method of claim 9 , wherein the determination of the amount of available physical storage space comprises:

subtracting the first amount of storage space, the second amount of storage space, and the third amount of storage space from the total amount of physical storage space.

11. The method of claim 8 , further comprising:

receiving a request for a report on the amount of available physical storage space,

wherein the indication is sent in response to the request.

12. The method of claim 8 , wherein the indication further indicates that the apparatus does not have sufficient data storage space for servicing a write command.

13. A data storage apparatus, comprising:

means for determining an amount of available physical storage space in a non-volatile memory array, wherein the amount of available physical storage space is based on a total amount of physical storage space, a first amount of storage space comprising used blocks, and a second amount of storage space comprising worn-out blocks;

means for determining an amount of write data associated with a pending write command in a command queue of the apparatus;

means for comparing the amount of available physical storage space with the amount of write data;

means for generating a report based on the comparison, wherein the report indicates that the apparatus does not have sufficient data storage space for servicing the pending write command; and

means for sending the report to a host device thereby allowing the data storage apparatus to take action to prevent the data storage apparatus from switching to a read-only mode of operation.

14. The apparatus of claim 13 , wherein:

the generation of the report is based on at least one threshold; and

the apparatus further comprises means for receiving the at least one threshold.

15. A host device for accessing a non-volatile memory device, comprising:

a device interface to the non-volatile memory device; and

a processor coupled to the device interface and configured to:

receive, via the device interface, an indication of an amount of available physical storage space in the non-volatile memory device, wherein the amount of available physical storage space is based on a total amount of physical storage space, a first amount of storage space comprising used blocks, and a second amount of storage space comprising worn-out blocks,

determine, based on the indication, that issuance of a write command to the non-volatile memory device would cause the non-volatile memory device to switch to a read-only mode of operation, and

as a result of the determination that issuance of a write command to the non-volatile memory device would cause the non-volatile memory device to switch to a read-only mode of operation, manage writes issued to the non-volatile memory device to ensure that an amount of data subsequently written to the non-volatile memory device does not exceed the available physical storage space.

16. The host device of claim 15 , wherein the indication further indicates that the amount of available physical storage space is less than or equal to a threshold.

17. The host device of claim 16 , wherein the processor is further configured to:

determine the threshold; and

send the threshold to the non-volatile memory device via the device interface.

18. The host device of claim 15 , wherein:

the processor is further configured to output a message based on the indication; and

the message indicates that the amount of available physical storage space is less than or equal to a threshold.

19. The host device of claim 15 , wherein:

the processor is further configured to output a message based on the indication; and

the message indicates the amount of available physical storage space.

20. The host device of claim 15 , wherein:

the processor is further configured to send a request regarding the amount of available physical storage space to the non-volatile memory device via the device interface; and

the indication is received after the request is sent.

21. The host device of claim 15 , wherein:

the processor is further configured to send at least one write command to the non-volatile memory device via the device interface; and

the indication is received after the at least one write command is sent.

22. The host device of claim 21 , wherein the indication further indicates that the non-volatile memory device does not have sufficient data storage space for servicing the at least one write command.

23. The host device of claim 15 , wherein the processor is further configured to:

determine a maximum write size based on the indication; and

issue write commands to the non-volatile memory device via the device interface based on the determined maximum write size.

24. A method at a host device for of accessing a non-volatile memory device, comprising:

receiving an indication of an amount of available physical storage space in the non-volatile memory device, wherein the amount of available physical storage space is based on a total amount of physical storage space, a first amount of storage space comprising used blocks, and a second amount of storage space comprising worn-out blocks;

determining, based on the indication, that issuance of a write command to the non-volatile memory would cause the non-volatile memory to switch to a read-only mode of operation; and

as a result of the determination that issuance of a write command to the non-volatile memory device would cause the non-volatile memory device to switch to a read-only mode of operation, managing writes issued to the non-volatile memory device to ensure that an amount of data subsequently written to the non-volatile memory device does not exceed the available physical storage space.

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 Jul 23, 2018
From: SILBERMINTZ, MICHAL; HALIVA, DAVID; VISHNE, GADI
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 046433/0786 →
Cited By (1)
US 12,315,033