METHOD FOR BACKING UP DATA IN A CASE OF POWER FAILURE OF STORAGE SYSTEM, AND STORAGE SYSTEM CONTROLLER
First Claim
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, in the buffer, of data that is in the buffer and 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, if the second time is greater than the first time.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention discloses a method for backing up data in a case of a power failure of a storage system including: when a power failure is detected, acquiring current refresh progress of a buffer in a storage system, an address, in the buffer, of data that is in the buffer and 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, if the second time is greater than the first time.
-
Citations
12 Claims
-
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, in the buffer, of data that is in the buffer and 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, if the second time is greater than the first time. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A storage system controller, comprising:
-
an acquiring unit, configured to;
when a power failure is detected, acquire current refresh progress of a buffer in a storage system, an address, in the buffer, of data that is in the buffer and needs to be backed up to a non-volatile memory in the storage system, and a first time required for backing up the data;a calculating unit, configured to calculate, 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; a refreshing unit, configured to stop refreshing the buffer if the second time is greater than the first time; and a backup unit, configured to back up the data to the non-volatile memory. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification