# US 2017/0371589 A1 · Hybrid Data Storage Device with Embedded Command Queuing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0371589 A1
- Document ID: US20170371589A1
- Status: Published application
- Kind: A1
- Application number: 15/190,948
- Filed: 2016-06-23
- Published: 2017-12-28
- Earliest claimed: 2016-06-23
- Assignees: Seagatge Technology LLC
- Applicants: Seagate Technology LLC
- Inventors: Stanton M. Keeler; John D. Moon; Greg D. Larrew; Leata M. Blankenship
- Web page: https://patentgrep.com/patent/US20170371589A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/061: {Improving I/O performance}
- G06F 3/068: {Hybrid storage device}
- G06F 3/0656: {Data buffering arrangements}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Apparatus and method for managing data in a hybrid data storage device. In some embodiments, a hybrid device has a hard disc drive (HDD) controller circuit coupled to non-volatile rotatable storage media and a solid state drive (SSD) controller circuit coupled to non-volatile solid state memory. A top level controller circuit directs a first portion of the received access commands to the HDD controller circuit and a second portion of the received access commands to the SSD controller circuit. The top level controller circuit performs an embedded queuing operation to forward internally generated data cleaning commands to an HDD command queue to write data previously transferred from the host device to the solid state memory to the rotatable storage media concurrently while least one of the first portion of the access commands is pending in the HDD command queue.

## Claims

### Claim 1

A hybrid data storage device comprising:
a hard disc drive (HDD) controller circuit coupled to non-volatile rotatable storage media;
a solid state drive (SSD) controller circuit coupled to non-volatile solid state memory; and
a top level controller circuit configured to receive host data transfer access commands from a host device and direct a first portion of the access commands to the HDD controller circuit for inclusion in an HDD command queue pending subsequent execution and to direct a second portion of the access commands to the SSD controller circuit for inclusion in an SSD command queue pending subsequent execution, the top level controller further configured to perform an embedded queuing operation to forward internally generated data cleaning commands to the HDD command queue to write data previously transferred from the host device to the solid state memory to the rotatable storage media concurrently with the presence of at least one of said first portion of the access commands pending in the HDD command queue.

### Claim 2 (depends on 1)

The hybrid data storage device of claim 1, wherein the rotatable media comprises a magnetic recording disc.

### Claim 3 (depends on 1)

The hybrid data storage device of claim 1, wherein the solid state memory comprises a flash memory array.

### Claim 4 (depends on 1)

The hybrid data storage device of claim 1, wherein the local controller circuit emulates communications between the host device and the HDD controller circuit.

### Claim 5 (depends on 1)

The hybrid data storage device of claim 1, further comprising a local volatile memory comprising a dynamic random access memory (DRAM) partitioned into a first portion used to temporarily store data transferred between the non-volatile rotatable storage media and the host, and a second portion used to temporarily store data transferred between the non-volatile solid state memory and the host.

### Claim 6 (depends on 5)

The hybrid data storage device of claim 5, wherein the local volatile memory is partitioned into a first partition accessible only by the HDD controller circuit and a second partition accessible only by the SSD controller circuit.

### Claim 7 (depends on 1)

The hybrid data storage device of claim 1, wherein a total number of the cleaning commands forwarded to the HDD controller circuit by the top level controller circuit is selected in relation to a total number of the host data transfer access commands pending in the HDD command queue.

### Claim 8 (depends on 1)

The hybrid data storage device of claim 1, wherein a total number of the cleaning commands forwarded to the HDD controller circuit by the top level controller circuit is selected to bring a combined total number of the cleaning commands and a total number of the host data transfer access commands up to a maximum predetermined threshold number of commands.

### Claim 9 (depends on 1)

The hybrid data storage device of claim 1, wherein a population of available cleaning commands are identified by the top level controller circuit, and the top level controller circuit selects at least one of the available cleaning commands for forwarding to the HDD controller circuit responsive to at least one of the pending host data transfer access commands in the HDD command queue.

### Claim 10 (depends on 1)

The hybrid data storage device of claim 1, wherein the top level controller circuit directs the SSD controller circuit to execute a read operation to retrieve a data set from the solid state memory to a local buffer memory associated with a selected cleaning command, followed by forwarding the selected cleaning command to the HDD controller circuit.

### Claim 11 (depends on 1)

The hybrid data storage device of claim 1, wherein the top level controller circuit is further configured to concurrently perform a second embedded queuing operation to forward internally generated data pinning commands to the SSD command queue to write data previously transferred from the host device to the rotatable storage media to the solid state memory concurrently with the presence of at least one of said second portion of the access commands pending in the SSD command queue.

### Claim 12

A computer implemented method comprising:
using a hybrid data storage device to receive host data transfer access commands from a host device;
forwarding a first portion of the access commands to a hard disc drive (HDD) controller circuit coupled to non-volatile rotatable storage media of the hybrid data storage device for placement thereof into an HDD command queue pending execution in a selected order;
forwarding a different, second portion of the access commands to a solid state drive (SSD) controller circuit coupled to non-volatile solid state memory of the hybrid data storage device for placement thereof into an SSD command queue pending execution in a selected order; and
performing an embedded queuing operation to forward internally generated data cleaning commands to the HDD command queue to write data previously transferred from the host device to the solid state memory to the rotatable storage media concurrently with the presence of at least one of said first portion of the access commands pending in the HDD command queue.

### Claim 13 (depends on 12)

The method of claim 12, wherein the rotatable media comprises a magnetic recording disc.

### Claim 14 (depends on 12)

The method of claim 12, wherein the solid state memory comprises a flash memory array.

### Claim 15 (depends on 12)

The method of claim 12, wherein the hybrid data storage device further comprises a local volatile memory comprising a dynamic random access memory (DRAM) partitioned into a first portion used to temporarily store data transferred between the non-volatile rotatable storage media and the host, and a second portion used to temporarily store data transferred between the non-volatile solid state memory and the host.

### Claim 16 (depends on 12)

The method of claim 12, wherein a total number of the cleaning commands forwarded to the HDD controller circuit by the top level controller circuit is selected in relation to a total number of the host data transfer access commands pending in the HDD command queue.

### Claim 17 (depends on 12)

The method of claim 12, wherein a total number of the cleaning commands forwarded to the HDD controller circuit by the top level controller circuit is selected to bring a combined total number of the cleaning commands and a total number of the host data transfer access commands up to a maximum predetermined threshold number of commands.

### Claim 18 (depends on 12)

The method of claim 12, wherein a population of available cleaning commands are identified by the top level controller circuit, and the top level controller circuit selects at least one of the available cleaning commands for forwarding to the HDD controller circuit responsive to at least one of the pending host data transfer access commands in the HDD command queue.

### Claim 19 (depends on 12)

The method of claim 12, wherein the top level controller circuit directs the SSD controller circuit to execute a read operation to retrieve a data set from the solid state memory to a local buffer memory associated with a selected cleaning command, followed by forwarding the selected cleaning command to the HDD controller circuit.

### Claim 20 (depends on 12)

The method of claim 12, wherein the top level controller circuit is further configured to concurrently perform a second embedded queuing operation to forward internally generated data pinning commands to the SSD command queue to write data previously transferred from the host device to the rotatable storage media to the solid state memory concurrently with the presence of at least one of said second portion of the access commands pending in the SSD command queue.
