IP Library Granted Patent US 7,627,713
Granted Patent B2
US 7,627,713 · App. 11/321,434 · Granted Dec 1, 2009

Method and apparatus to maintain data integrity in disk cache memory during and after periods of cache inaccessibility

Assignee: Intel Corporation
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,627,713
App. No.
11/321,434
Granted
Dec 1, 2009
Kind
B2
Abstract

A volatile or nonvolatile cache memory can cache mass storage device read data and write data. The cache memory may become inaccessible, and I/O operations may go directly to the mass storage device, bypassing the cache memory. A log of write operations may be maintained to update the cache memory when it becomes available.

Claims (31)

1. A method comprising:

receiving a cache inaccessibility notification signifying future inaccessibility of a disk cache during a time in which a hard disk will still be accessible;

flushing the disk cache to the hard disk;

receiving a write request from an operating system during the time in which the disk cache is inaccessible and the hard disk is accessible;

performing a write operation to the hard disk, creating stale data in the disk cache;

maintaining a log of the write operation to keep track of the stale data; and

invalidating the stale data in the disk cache when the disk cache becomes accessible;

wherein determining cache inaccessibility comprises receiving a cache inaccessibility notification signifying a change in system state, and wherein the cache inaccessibility notification signifies that a system is entering hibernation.

2. The method of claim 1 wherein maintaining a log of the write operation comprises storing a hard disk sector number.

3. A method comprising:

receiving a cache inaccessibility notification signifying future inaccessibility of a disk cache during a time in which a hard disk will still be accessible;

flushing the disk cache to the hard disk;

receiving a write request from an operating system during the time in which the disk cache is inaccessible and the hard disk is accessible;

performing a write operation to the hard disk, creating stale data in the disk cache;

maintaining a log of the write operation to keep track of the stale data; and

invalidating the stale data in the disk cache when the disk cache becomes accessible;

wherein maintaining a log of the write operation comprises maintaining a log on the hard disk.

4. The method of claim 3 further comprising writing an overflow indication to the log.

5. A computer-readable medium having instructions stored thereon that when executed result in the computer performing:

detecting a future cache inaccessibility situation, flushing a disk cache to a hard disk, receiving an operating system write request after the disk cache is inaccessible, performing a write operation to the hard disk creating stale data in the disk cache, maintaining a log of the write operation to keep track of the stale data, and invalidating the stale data in the disk cache when the disk cache becomes accessible, wherein maintaining a log of the write operation comprises maintaining a log on the hard disk.

6. The computer-readable medium of claim 5 wherein the instructions when executed further result in the computer performing writing an overflow indication to the log.

7. A system comprising:

a processor;

a radio frequency circuit coupled to the processor;

a hard disk coupled to the processor;

a hard disk cache coupled to the processor; and

a storage driver component to maintain a log of writes made to the hard disk during periods of hard disk cache inaccessibility and to later interpret the log and invalidate stale data in the hard disk cache created by the writes, wherein the log of writes is maintained on the hard disk.

8. The system of claim 7 further comprising a storage driver component to update the hard disk cache using information in the log.

9. A storage driver computer program product comprising:

a computer-readable medium having stored thereon computer-executable instructions that when executed cause a computer to maintain a log of writes made to a hard disk during periods of hard disk cache inaccessibility and to later interpret the log and invalidate stale data in the hard disk cache created by the writes;

wherein the computer-executable instructions further cause the computer to write an overflow indication to the log, and wherein the computer-executable instructions further cause the computer to invalidate the entire hard disk cache if an overflow indication is found in the log.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 19, 2023
From: INTEL CORPORATION
To: SK HYNIX NAND PRODUCT SOLUTIONS CORP.
Reel/Frame 063815/0490 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 29, 2005
From: TRIKA, SANJEEV N.; ESCHMANN, MICHAEL K.; MATTHEWS, JEANNA N.; SRINIVASAN, VASUDEVAN
To: INTEL CORPORATION
Reel/Frame 017431/0325 →
Continuity (1)
Related Publication 20070156954A1 · Jul 5, 2007