Patent ID: 11893277
Assignee: WESTERN DIGITAL TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A data storage device comprising:
a disk;
a head actuated over the disk;
a first semiconductor memory (SM) having a first endurance, wherein the first SM is distinct from the disk;
a second SM having a second endurance lower than the first endurance, wherein the second SM is distinct from the disk and the first SM, and wherein the second endurance is based on a number of times the second SM is erased, and the second SM has a block size for garbage collection and erasure; and
control circuitry configured to:
receive a write command including write data from a host;
determine a size of write data of the write command;
when a determined size of the write command is less than a threshold that is based on the block size for garbage collection and erasure of the second SM, store, the write data in a first SM write cache in the first SM; and
when the determined size of the write command is greater than the threshold, store the write data in a second SM write cache in the second SM.