×

Coalescing Multiple Contexts into a Single Data Transfer in a Media Controller Architecture

  • US 20110131351A1
  • Filed: 11/23/2010
  • Published: 06/02/2011
  • Est. Priority Date: 11/30/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method of transferring data between a host device and a storage media coupled to a media controller, the method comprising:

  • receiving a host command requesting a data transfer;

    determining a total size of a data transfer between the host device and the media controller based on a corresponding host command request;

    generating one or more contexts for the media controller corresponding to the total size of the requested data transfer;

    associating, by the media controller, the one or more contexts with a transfer of data of the corresponding host command request between the host device and the storage media;

    wherein,if the data transfer is a write operation;

    transferring one or more data segments from the host device into a receive buffer, wherein a combined size of the one or more received data segments corresponds to the total size of the data transfer;

    transferring, in accordance with the one or more contexts, the one or more data segments from the receive buffer to the storage media; and

    if the requested data transfer is a read operation;

    retrieving, in accordance with the one or more contexts, data from the storage media into a transmit buffer;

    grouping the retrieved data into one or more segments wherein a combined size of the one or more retrieved data segments corresponds to the total size of the data transfer; and

    transmitting the one or more segments based on the total size of the data transfer.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×