Implementing enhanced data caching and takeover of non-owned storage devices in dual storage device controller configuration with data in write cache
First Claim
1. A method for implementing enhanced data caching and takeover of non-owned storage devices in a computer system comprising:
- providing each of a first storage device controller and a second storage device controller with a cache memory;
connecting a plurality of storage devices to the first storage device controller and second storage device controller, and assigning respective ones of the storage devices assigned to the first storage device controller, and respective other ones of the storage devices assigned to the second storage device controller;
during normal run-time, each storage device controller performing the steps of;
writing data to its cache memory and writing a cached mirrored copy in the cache memory of the other storage device controller, and storing a cached mirrored copy in its cache memory from cached write data of the other storage device controller;
validating cached write data after writing data to its cache memory by reading the write data from its cache memory;
responsive to detecting any error on the read, marking the storage device controller as failed and reset the failed storage device controller;
responsive to the failing of a storage device controller, a surviving storage device controller performing the steps of;
queuing host read/write operations for storage devices assigned to the surviving storage device controller; and
testing from the surviving storage device controller'"'"'s cache memory cached mirrored copy of the failed storage device controller'"'"'s cache before taking ownership of all storage devices.
6 Assignments
0 Petitions
Accused Products
Abstract
A method, system and computer program product are provided for implementing enhanced data caching and takeover of non-owned storage devices in a computer system. Each of a first controller and a second controller has a cache memory. During normal run-time, each storage device controller validates cached write data after it is written to its cache memory by reading the write data from its cache memory. If any error is detected on the read, then unit check failed storage device controller, which results in a reset of the failed storage device controller. When a storage device controller detects its dual partner controller fails, the surviving storage device controller queues host read/write operations for its storage devices already owned, and tests a cache mirrored copy from its cache memory of the failed first storage device controller before takeover of the failed controller'"'"'s storage devices.
59 Citations
20 Claims
-
1. A method for implementing enhanced data caching and takeover of non-owned storage devices in a computer system comprising:
-
providing each of a first storage device controller and a second storage device controller with a cache memory;
connecting a plurality of storage devices to the first storage device controller and second storage device controller, and assigning respective ones of the storage devices assigned to the first storage device controller, and respective other ones of the storage devices assigned to the second storage device controller;during normal run-time, each storage device controller performing the steps of; writing data to its cache memory and writing a cached mirrored copy in the cache memory of the other storage device controller, and storing a cached mirrored copy in its cache memory from cached write data of the other storage device controller; validating cached write data after writing data to its cache memory by reading the write data from its cache memory; responsive to detecting any error on the read, marking the storage device controller as failed and reset the failed storage device controller; responsive to the failing of a storage device controller, a surviving storage device controller performing the steps of; queuing host read/write operations for storage devices assigned to the surviving storage device controller; and testing from the surviving storage device controller'"'"'s cache memory cached mirrored copy of the failed storage device controller'"'"'s cache before taking ownership of all storage devices. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A system for implementing enhanced data caching and takeover of non-owned storage devices in a computer system comprising:
-
a first storage device controller having a cache memory; a second storage device controller having a cache memory; a plurality of storage devices connected to the first storage device controller and second storage device controller, respective ones of the storage devices assigned to the first storage device controller, and respective other ones of the storage devices assigned to the second storage device controller; during normal run-time, each storage device controller performing the steps of; writing data to its cache memory and writing a cached mirrored copy in the cache memory of the other storage device controller, and storing a cached mirrored copy in its cache memory from cached write data of the other storage device controller;
validating cached write data after writing data to its cache memory by reading the write data from its cache memory;responsive to detecting any error on the cached write data read, marking the storage device controller as failed and resetting the failed storage device controller; responsive to the failing of a storage device controller, a surviving storage device controller performing the steps of; queuing host read/write operations for storage devices assigned to the surviving storage device controller; and testing from the surviving storage device controller'"'"'s cache memory cached mirrored copy of the failed storage device controller'"'"'s cache before taking ownership of all storage devices. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
Specification