×

Method and apparatus for data cache in converged system

  • US 10,176,098 B2
  • Filed: 11/17/2014
  • Issued: 01/08/2019
  • Est. Priority Date: 11/17/2014
  • Status: Active Grant
First Claim
Patent Images

1. A computer device comprising:

  • a first node, the first node comprising;

    a first storage device having a plurality of first internal address spaces;

    a first cache memory; and

    a first processor, configured to provide a virtual volume, the virtual volume having a plurality of virtual address spaces, the plurality of virtual address spaces including first virtual address spaces, which correspond to the plurality of first internal address spaces of the first storage device;

    wherein the first processor is configured to cache data of a virtual address space of the virtual address spaces in a first cache space of the first cache memory by associating the virtual address space with the first cache space, andwherein the first processor is configured to cache data of a first internal address space of the plurality of first internal address spaces in a second cache space of the first cache memory by associating the first internal address space with the second cache space;

    wherein, in response to receiving a command from an application to read target data stored on the first storage device of the first node when data caching is enabled for the virtual volume, the first processor is configured to;

    determine if the target data has been cached to the first cache space;

    allocate the first cache space to cache the target data if the target data has not been cached to the first cache space;

    determine if target data has been cached to the second cache space associated with the first internal address space of the first storage device, if data caching is enabled for the first storage device;

    for the data caching being enabled for the first storage device;

    allocate the second cache space to cache the target data if the target data has not been cached to the second cache space;

    issue a read command to the first storage device to read the target data and cache the target data to the second cache space;

    transfer the target data from the second cache space to the first cache space; and

    transfer the target data from the first cache space to the application;

    for the data caching not being enabled for the first storage device;

    transfer the target data from a node having responsibility of the target data to the first cache space; and

    transfer the target data from the first cache space to the application.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×