IP Library Granted Patent US 8,639,872
Granted Patent B1
US 8,639,872 · App. 13/149,703 · Granted Jan 28, 2014

Hybrid drive comprising write cache spanning non-volatile semiconductor memory and disk

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 8,639,872
App. No.
13/149,703
Granted
Jan 28, 2014
Kind
B1
Abstract

A hybrid drive is disclosed comprising a head actuated over a disk comprising a plurality of data tracks, where each data track comprises a plurality of data sectors. The hybrid drive further comprises a non-volatile semiconductor memory (NVSM) comprising a plurality of memory segments. When a write command is received from a host including write data, the write data is written to one of a disk cache and a NVSM cache, wherein the write data is eventually flushed to a non-cache area of the disk.

Claims (50)

1. A hybrid drive comprising:

a disk comprising a plurality of data tracks, each data track comprising a plurality of data sectors;

a head actuated over the disk;

a non-volatile semiconductor memory (NVSM) comprising a plurality of memory segments; and

control circuitry operable to:

define a disk cache comprising a plurality of the data sectors and a NVSM cache comprising a plurality of the memory segments;

receive a write command from a host including write data;

determine whether to write the write data to one of the disk cache and the NVSM cache in response to a disk counter and a NVSM counter;

write the write data to one of the disk cache and the NVSM cache;

increment the disk counter when data is written to the disk cache;

increment the NVSM counter when data is written to the NVSM cache; and

flush the write data to a non-cache area of the disk.

2. The hybrid drive as recited in claim 1 , wherein the control circuitry is further operable to map a logical block address (LBA) received with the write command to a physical block address (PBA) assigned to a data sector in the non-cache area of the disk.

3. The hybrid drive as recited in claim 1 , wherein the control circuitry is further operable to determine whether to write the write data to one of the disk cache and the NVSM cache in response to a ratio of the disk counter and the NVSM counter.

4. The hybrid drive as recited in claim 3 , wherein the control circuitry is further operable to write the write data to the disk cache when the ratio of the disk counter to the NVSM counter exceeds a threshold.

5. The hybrid drive as recited in claim 4 , wherein the control circuitry is further operable to adjust the threshold in response to a free space remaining in the NVSM cache.

6. The hybrid drive as recited in claim 4 , wherein the control circuitry is further operable to adjust the threshold in response to a free space remaining in the disk cache.

7. The hybrid drive as recited in claim 4 , wherein the control circuitry is further operable to adjust the threshold in response to a life remaining of the NVSM.

8. The hybrid drive as recited in claim 1 , wherein the control circuitry is further operable to write the write data to the NVSM cache when the head is away from the disk cache.

9. The hybrid drive as recited in claim 1 , wherein the control circuitry is further operable to write the write data to the disk cache when the NVSM is busy servicing other access commands.

10. The hybrid drive as recited in claim 1 , wherein the control circuitry is further operable to adjust a size of the NVSM cache in response to a life remaining of the NVSM.

11. The hybrid drive as recited in claim 1 , wherein the control circuitry is further operable to flush the write data to the non-cache area of the disk during an idle mode of the hybrid drive.

12. The hybrid drive as recited in claim 1 , wherein the control circuitry is further operable to:

receive a read command from the host comprising a logical block address (LBA);

read data from the NVSM cache when the LBA is mapped to a physical block address (PBA) assigned to a memory segment of the NVSM cache;

when the LBA is not mapped to the NVSM cache, read data from the disk cache when the LBA is mapped to a PBA assigned to a data sector of the disk cache; and

when the LBA is not mapped to the NVSM cache and the disk cache, read data from the non-cache area of the disk when the LBA is mapped to a PBA assigned to a data sector of the non-cache area of the disk.

13. A method of operating a hybrid drive, the hybrid drive comprising a disk comprising a plurality of data tracks, each data track comprising a plurality of data sectors, a head actuated over the disk, and a non-volatile semiconductor memory (NVSM) comprising a plurality of memory segments, the method comprising:

defining a disk cache comprising a plurality of the data sectors and a NVSM cache comprising a plurality of the memory segments;

receiving a write command from a host including write data;

determining whether to write the write data to one of the disk cache and the NVSM cache in response to a disk counter and a NVSM counter;

writing the write data to one of the disk cache and the NVSM cache;

incrementing a disk counter when data is written to the disk cache;

incrementing an NVSM counter when data is written to the NVSM cache; and

flushing the write data to a non-cache area of the disk.

14. The method as recited in claim 13 , further comprising mapping a logical block address (LBA) received with the write command to a physical block address (PBA) assigned to a data sector in the non-cache area of the disk.

15. The method as recited in claim 13 , further comprising determining whether to write the write data to one of the disk cache and the NVSM cache in response to a ratio of the disk counter and the NVSM counter.

16. The method as recited in claim 15 , further comprising writing the write data to the disk cache when the ratio of the disk counter to the NVSM counter exceeds a threshold.

17. The method as recited in claim 16 , further comprising adjusting the threshold in response to a free space remaining in the NVSM cache.

18. The method as recited in claim 16 , further comprising adjusting the threshold in response to a free space remaining in the disk cache.

19. The method as recited in claim 16 , further comprising adjusting the threshold in response to a life remaining of the NVSM.

20. The method as recited in claim 13 , further comprising writing the write data to the NVSM cache when the head is away from the disk cache.

21. The method as recited in claim 13 , further comprising writing the write data to the disk cache when the NVSM is busy servicing other access commands.

22. The method as recited in claim 13 , further comprising adjusting a size of the NVSM cache in response to a life remaining of the NVSM.

23. The method as recited in claim 13 , further comprising flushing the write data to the non-cache area of the disk during an idle mode of the hybrid drive.

24. The method as recited in claim 13 , further comprising:

receiving a read command from the host comprising a logical block address (LBA);

reading data from the NVSM cache when the LBA is mapped to a physical block address (PBA) assigned to a memory segment of the NVSM cache;

when the LBA is not mapped to the NVSM cache, reading data from the disk cache when the LBA is mapped to a PBA assigned to a data sector of the disk cache; and

when the LBA is not mapped to the NVSM cache and the disk cache, reading data from the non-cache area of the disk when the LBA is mapped to a PBA assigned to a data sector of the non-cache area of the disk.

Assignments (8)
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 038744 FRAME 0481 Recorded Feb 8, 2022
From: JPMORGAN CHASE BANK, N.A.
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 058982/0556 →
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: U.S. BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT
Reel/Frame 038744/0281 →
SECURITY AGREEMENT Recorded May 17, 2016
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 038722/0229 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 31, 2011
From: BOYLE, WILLIAM B.; SYU, MEI-MAN L.; CAIN, WILLIAM C.
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 026365/0361 →