Disk drive steering write data to write cache based on workload
First Claim
1. A disk drive comprising:
- a non-volatile write cache;
a disk;
a head actuated over the disk; and
control circuitry operable to;
receive a plurality of write commands from a host, wherein each write command comprises write data;
determine a workload for a non-cache area of the disk independent of a sequentiality of the write commands;
when the workload for the non-cache area of the disk is less than a threshold independent of a workload for the write cache, store substantially all of the write data in the non-cache area of the disk; and
when the workload for the non-cache area of the disk is greater than the threshold independent of the workload for the write cache, store a first percentage of the write data in the non-volatile write cache and a second percentage of the write data in the non-cache area of the disk, wherein the first percentage is proportional to the workload for the non-cache area of the disk.
8 Assignments
0 Petitions
Accused Products
Abstract
A disk drive is disclosed comprising a non-volatile write cache and a head actuated over a disk. A plurality of write commands are received from a host, wherein each write command comprises write data. A workload for a non-cache area of the disk is determined, and when the workload for the non-cache area of the disk is less than a threshold independent of a workload for the write cache, substantially all of the write data is stored in the non-cache area of the disk. When the workload for the non-cache area of the disk is greater than the threshold independent of the workload for the write cache, a first percentage of the write data is stored in the non-volatile write cache and a second percentage of the write data is stored in the non-cache area of the disk, wherein the first percentage is proportional to the workload for the non-cache area of the disk.
-
Citations
26 Claims
-
1. A disk drive comprising:
-
a non-volatile write cache; a disk; a head actuated over the disk; and control circuitry operable to; receive a plurality of write commands from a host, wherein each write command comprises write data; determine a workload for a non-cache area of the disk independent of a sequentiality of the write commands; when the workload for the non-cache area of the disk is less than a threshold independent of a workload for the write cache, store substantially all of the write data in the non-cache area of the disk; and when the workload for the non-cache area of the disk is greater than the threshold independent of the workload for the write cache, store a first percentage of the write data in the non-volatile write cache and a second percentage of the write data in the non-cache area of the disk, wherein the first percentage is proportional to the workload for the non-cache area of the disk. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A method of operating a disk drive, the disk drive comprising a head actuated over a disk and a non-volatile write cache, the method comprising:
-
receiving a plurality of write commands from a host, wherein each write command comprises write data; determining a workload for a non-cache area of the disk independent of a sequentiality of the write commands; when the workload for the non-cache area of the disk is less than a threshold independent of a workload for the write cache, store substantially all of the write data in the non-cache area of the disk; and when the workload for the non-cache area of the disk is greater than the threshold independent of the workload for the write cache, storing a first percentage of the write data in the non-volatile write cache and a second percentage of the write data in the non-cache area of the disk, wherein the first percentage is proportional to the workload for the non-cache area of the disk. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26)
-
Specification