×

Fast destaging method using parity engine

  • US 6,052,822 A
  • Filed: 08/26/1998
  • Issued: 04/18/2000
  • Est. Priority Date: 12/22/1997
  • Status: Expired due to Fees
First Claim
Patent Images

1. A fast destaging method using a parity engine, comprising the steps of:

  • a. inspecting a read cache of a disk array after receiving a read request for a requested read block from a host system at the disk array;

    b. returning the requested read block from the read cache if the requested read block is resident in the read cache and returning the requested read block from a disk after reading through the read cache if the requested read block is not resident in the read cache;

    c. inspecting first a write cache and then a destaging cache of the disk array after receiving a write request for a requested write block from the host system at the disk array and writing the requested write block received from the host onto one of the write caches and the destaging cache if the requested write block is resident in the one of the write cache and the destaging cache;

    d. determining whether there is an available block to allocate to the write cache if the requested write block is not resident in the one of the write cache and the destaging cache and routing the requested write block onto the available block if an available block is found;

    e. moving a write cache block from the write cache to the destaging cache if no available block is found in said step d.;

    f. reading an old data and an old parity of the write cache block and calculating a mid-parity therefrom;

    g. determining whether the destaging cache is full after step f.;

    h. writing the write request block to one of the write cache and the destaging cache if the destaging cache is determined not to be full in said step g.; and

    i. generating a destaging by calculating a new parity from the mid-parity and a new data, writing a new parity block and a new data block onto each data disk and parity disk of said disk array, and writing the write request block to the write cache if the destaging cache is determined to be full in said step g.

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