IP Library Granted Patent US 7,500,070
Granted Patent B2
US 7,500,070 · App. 11/508,473 · Granted Mar 3, 2009

Methods and apparatus for improved RAID 1 mirror re-synchronization

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,500,070
App. No.
11/508,473
Granted
Mar 3, 2009
Kind
B2
Abstract

Systems and methods for improving performance of a re-synchronization process in a RAID level 1 storage system. In one aspect a local cache memory associated with the second or mirrored disk drive is enabled during the re-synchronization operation but left disabled during normal operation processing host requests. The cache is flushed to the persistent medium of the second disk drive before resuming normal I/O request processing. In another aspect normal I/O request processing is interleaved with portions of the processing for re-synchronization of the mirrored disk drive. Normal I/O request processing proceeds for a first period of time. Re-synchronization processing for a portion of the mirrored information then proceeds (with local cache memory of the mirrored disk drive enabled) for a second period of time.

Claims (42)

1. A method for synchronizing a mirrored disk drive from a primary disk drive wherein the mirrored disk drive includes local cache memory, the method comprising:

processing host I/O requests with the local cache memory disabled;

re-synchronizing of the mirrored disk drive and the primary disk drive between completion of a first host I/O request and commencement of a next host I/O request wherein the re-synchronization enables the local cache memory for the duration of the re-synchronization, the step of re-synchronizing further comprises:

enabling the local cache memory;

re-synchronizing a portion of the mirrored disk drive from the primary disk drive for a first period of time;

disabling the local cache memory; and

flushing the contents of the local cache memory to persistent recordable medium of the mirrored disk drive for a second period of time; and

adjusting the duration of the first period of time and of the second period of time such that the sum of the first period of time and the second period of time is substantially equal to a predetermined total period of time.

2. The method of claim 1 further comprising:

adjusting the duration of the second period of time as a function of the volume of data to be flushed from the local cache memory.

3. The method of claim 1 farther comprising:

adjusting the duration of the first period of time and of the second period of time as a function of the time required to complete the step of flushing.

4. A method operable in a storage system having a RAID level 1 volume including a first disk drive and a second disk drive on which contents of the first disk drive is mirrored, the method comprising:

repeating the steps of:

performing host supplied I/O requests for a first period of time;

enabling local cache memory on the second disk drive responsive to completion of I/O requests during the first period of time;

re-synchronizing, for a second period of time, the second disk drive from the contents of the first disk drive responsive to enabling the local cache memory;

disabling the local cache memory responsive to completion of re-synchronization during the second period of time;

flushing the local cache memory responsive to disabling the cache memory and prior to resuming performing I/O requests wherein the step of flushing is operable for a third period of time; and

adjusting the duration of the second period of time and of the third period of time such that the sum of the second period of time and the third period of time is substantially equal to the first period of time.

5. The method of claim 4

wherein the step of adjusting further comprises:

adjusting the duration of the second period of time as a function of the volume of data to be flushed from the local cache memory.

6. The method of claim 4

wherein the step of adjusting further comprises:

adjusting the duration of the third period of time as a function of the time required to complete the step of flushing.

7. A storage system comprising:

a first disk drive;

a second disk drive having a local cache memory wherein the local cache memory is controllably enabled and disabled; and

a storage controller coupled to the first disk drive and coupled to the second disk drive,

wherein the storage controller is adapted to:

receive and process write requests from an attached host system by writing host supplied data on the first disk drive and by mirroring the host supplied data on the second disk drive with the local cache memory disabled,

re-synchronize the data mirrored on the second disk drive with the local cache memory enabled;

process write requests, for a first period of time, with the local cache memory disabled; and

perform re-synchronization of the mirrored data on the second disk drive, for a second period of time, with the local cache enabled by re-synchronizing a portion of the mirrored data; and

flushing the mirrored data from the local cache memory for a third period of time that is a predetermined portion of the second period of time.

8. The system of claim 7

wherein the storage controller is further adapted to interleave processing of write requests with the re-synchronization.

9. The system of claim 8

wherein the storage controller is further adapted to assure that the local cache memory is flushed before resuming processing of write requests following re-synchronization.

10. The system of claim 7

wherein the storage controller is further adapted to adjust the third period of time based on the time required to complete the flushing of mirrored data.

Assignments (8)
TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENTS Recorded Feb 3, 2017
From: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
To: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.
Reel/Frame 041710/0001 →
PATENT SECURITY AGREEMENT Recorded Feb 11, 2016
From: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.
To: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
Reel/Frame 037808/0001 →
TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENT RIGHTS (RELEASES RF 032856-0031) Recorded Feb 2, 2016
From: DEUTSCHE BANK AG NEW YORK BRANCH, AS COLLATERAL AGENT
To: LSI CORPORATION; AGERE SYSTEMS LLC
Reel/Frame 037684/0039 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 3, 2015
From: LSI CORPORATION
To: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.
Reel/Frame 035390/0388 →
CHANGE OF NAME Recorded Jun 6, 2014
From: LSI LOGIC CORPORATION
To: LSI CORPORATION
Reel/Frame 033102/0270 →
PATENT SECURITY AGREEMENT Recorded May 8, 2014
From: LSI CORPORATION; AGERE SYSTEMS LLC
To: DEUTSCHE BANK AG NEW YORK BRANCH, AS COLLATERAL AGENT
Reel/Frame 032856/0031 →
MERGER Recorded Feb 19, 2008
From: LSI SUBSIDIARY CORP.
To: LSI CORPORATION
Reel/Frame 020548/0977 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 23, 2006
From: SCHILLING, JASON B.; BESMER, BRAD D.
To: LSI LOGIC CORP.
Reel/Frame 018222/0219 →