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

Claim 15:
16. A data storage device comprising:
a disk;
a head actuated over the disk;
a semiconductor memory (SM), wherein the SM is distinct from the disk;
a non-volatile semiconductor (NVSM) comprising a plurality of blocks, wherein the NVSM is distinct from the disk and the SM; and
control circuitry configured to:
receive a plurality of write commands from a host, wherein each write command includes write data;
determine a size of write data of the write commands;
store, based upon the determining, at least some of the write data in a NVSM write cache in the NVSM; and
generate a command execution order for the write commands based on whether flushing the write data of each write command will enable erasing one or more blocks of the NVSM.