×

Method for backing up data in a case of power failure of storage system, and storage system controller

  • US 9,465,426 B2
  • Filed: 10/31/2014
  • Issued: 10/11/2016
  • Est. Priority Date: 09/18/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method for backing up data in a case of a power failure of a storage system, the method comprising:

  • when a power failure is detected, acquiring current refresh progress of a buffer in a storage system, an address of data that is in the buffer which needs to be backed up to a non-volatile memory in the storage system, and a first time required for backing up the data;

    calculating, according to the current refresh progress of the buffer and the address of the data in the buffer, a second time for which the data can at least keep being not lost since a last refresh; and

    stopping refreshing the buffer, and backing up the data to the non-volatile memory, when the second time is greater than the first time;

    wherein acquiring current refresh progress of a buffer in a storage system comprises;

    acquiring, from a counter, the current refresh progress of the buffer in the storage system, wherein the current refresh progress is a current count value of the counter and the count value of the counter increases according to a set value each time a refresh command is sent to the buffer.

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