Mass storage controller with apparatus and method for extending battery backup time by selectively providing battery power to volatile memory banks not storing critical data
First Claim
1. A write-caching mass storage controller, comprising:
- a plurality of volatile memory banks, each having separate power inputs;
a battery, coupled to provide power to said plurality of volatile memory banks via said separate power inputs during a main power loss;
switches, coupled to said battery and the main power, each having a control input, said switches configured to selectively provide power to said plurality of volatile memory banks from the main power or from said battery in response to said control input;
a processor, coupled to said plurality of volatile memory banks, configured to control storage of critical data to a first subset of said plurality of volatile memory banks and to refrain from controlling storage of said critical data to a second subset of said plurality of volatile memory banks, wherein said first and second subset are mutually exclusive, wherein said critical data comprises data which must be retained during said main power loss to avoid loss of write-cached user data, wherein said processor is configured to execute programs; and
control logic, coupled to said control input of said switches, configured to receive information from said processor specifying which of said plurality of volatile memory banks is included in each of said first and second subsets, and configured to control said switches to;
provide main power to said plurality of volatile memory banks under normal conditions; and
provide battery power to said first subset of volatile memory banks and disable said second subset of said plurality of volatile memory banks from receiving power from said battery in response to detecting said loss of main power.
2 Assignments
0 Petitions
Accused Products
Abstract
A battery-backed write-caching mass storage controller is disclosed. The controller includes a plurality of volatile memory banks for caching write data prior to being written to disk drives. Critical data is stored into a first subset of the memory banks, leaving a second subset of memory banks storing only non-critical data. Critical data is data that must be retained during a main power loss to avoid loss of write-cached user data. Critical data includes the write-cached user data itself, as well as metadata describing the write-cached user data. When the controller detects a loss of main power, the controller causes the critical memory banks to receive battery power, but disables battery power to the non-critical memory banks in order to extend the length of time the critical memory banks can continue to receive battery power to reduce the likelihood of user data loss.
-
Citations
43 Claims
-
1. A write-caching mass storage controller, comprising:
-
a plurality of volatile memory banks, each having separate power inputs; a battery, coupled to provide power to said plurality of volatile memory banks via said separate power inputs during a main power loss; switches, coupled to said battery and the main power, each having a control input, said switches configured to selectively provide power to said plurality of volatile memory banks from the main power or from said battery in response to said control input; a processor, coupled to said plurality of volatile memory banks, configured to control storage of critical data to a first subset of said plurality of volatile memory banks and to refrain from controlling storage of said critical data to a second subset of said plurality of volatile memory banks, wherein said first and second subset are mutually exclusive, wherein said critical data comprises data which must be retained during said main power loss to avoid loss of write-cached user data, wherein said processor is configured to execute programs; and control logic, coupled to said control input of said switches, configured to receive information from said processor specifying which of said plurality of volatile memory banks is included in each of said first and second subsets, and configured to control said switches to; provide main power to said plurality of volatile memory banks under normal conditions; and provide battery power to said first subset of volatile memory banks and disable said second subset of said plurality of volatile memory banks from receiving power from said battery in response to detecting said loss of main power. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A method for reducing battery power consumption during a main power supply loss to reduce the likelihood of loss of user write-cached data in a write-caching mass storage controller, comprising:
-
supplying power from the main power supply to first and second subsets of a plurality of volatile memory banks of the controller, wherein the first and second subset are mutually exclusive; receiving information from a processor indicating that the first subset of the plurality of volatile memory banks is storing critical data and that the second subset of the plurality of volatile memory banks is not storing critical data, wherein the critical data comprises data which must be retained during the main power supply loss to avoid loss of write-cached user data; storing critical data to the first subset of the plurality of volatile memory banks in exclusion of the second subset of the plurality of volatile memory banks, while said supplying power from the main power supply to the first and second subsets of the plurality of volatile memory banks of the controller; detecting the main power supply loss, after said storing the critical data; supplying power from the battery to the first subset of the plurality of volatile memory banks in response to said detecting the main power supply loss; and disabling the second subset of the plurality of volatile memory banks from receiving power from the battery in response to said detecting the main power supply loss. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 43)
-
-
35. A write-caching mass storage controller, comprising:
-
a plurality of volatile memory banks, each having separate power inputs; a battery, coupled to provide power to said plurality of volatile memory banks via said separate power inputs, during a main power loss; and switches, coupled to said battery and the main power, each having a control input, said switches configured to selectively provide power to said plurality of volatile memory banks from the main power or from said battery in response to said control input; a processor, coupled to said plurality of volatile memory banks and to said control input of said switches, configured to control storage of critical data to a first subset of said plurality of volatile memory banks and to refrain from controlling storage of said critical data to a second subset of said plurality of volatile memory banks, wherein said first and second subset are mutually exclusive, wherein said critical data comprises data which must be retained during said main power loss to avoid loss of write-cached user data, wherein said processor is configured to execute programs, said processor further configured to control said switches to; provide main power to said plurality of volatile memory banks under normal conditions; and provide battery power to said first subset of volatile memory banks and, disable said second subset of said plurality of volatile memory banks from receiving power from said battery in response to detecting the loss of main power. - View Dependent Claims (36, 37, 38, 39, 40, 41, 42)
-
Specification