Cache control method and system for mixed streaming and...

Error detection/correction and fault detection/recovery – Data processing system error or fault handling – Reliability and availability

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C714S006130, C711S113000

Reexamination Certificate

active

06606717

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to disk drive performance features and more particularly to a disk drive having a cache control technique for caching both streaming and non-streaming data.
2. Description of the Prior Art
A host computer stores and accesses data on a disk drive by issuing commands to the disk drive over a standardized interface. The smallest indivisible data unit addressable on a disk is a disk sector or logical block which has an assigned logical block address (LBA). Existing disk drives typically have a semiconductor cache memory for temporarily storing disk data that is likely to be requested by a host computer. The semiconductor memory greatly enhances the performance of the disk drive because the semiconductor memory has a response time latency for storing and accessing data that is a much smaller than the response time latency for mechanically storing and accessing data stored on a rotating disk.
The nature of data stored in a disk drive may be generally defined as streaming data and non-streaming data. Streaming data is often associated with continuous audio and/or full-motion video data for live or real-time presentation to an audience. Non-streaming data is often associated with blocks of text data, numeric data and program control code. In order to provide a competitive product, a disk drive must provide high performance in an environment when both streaming and non-streaming data are accessed.
Accordingly, there exists a need for a disk drive having a disk data cache memory for effectively and efficiently responding to host commands for both streaming and non-streaming data. The present invention satisfies these needs.
SUMMARY OF THE INVENTION
The present invention is embodied in a method, and related apparatus, for caching disk data in a disk drive configured to receive commands for both streaming and non-streaming data from a host. In the method, a memory segment is provided for caching disk data associated with a logical block address range and a plurality of data blocks are cached in the memory segment. A lossy state record is provided for the memory segment. The lossy state record is set to be true if one of the plurality of data blocks in the memory segment contains a data error and is set to be false if no data error is in the cached data blocks. A host command specifying a commanded logical block address range is received and compared with the logical block address range cached in the memory segment to determine whether the commanded logical block address range overlaps the cached logical block address range. If the host command is for streaming data and the lossy state record is true, the cached data blocks of the overlapping commanded logical block address range, including the block containing the data error, are transferred to the host. Otherwise, if the host command is for non-streaming data, the lossy state record is checked and if the lossy state record is false, the cached data blocks of the overlapping commanded logical block address range are transferred to the host.
Also, for non-streaming data, the lossy state record may be checked and if the lossy state record is true, a subset of the cached data blocks may be transferred to the host. The subset may be the cached data blocks preceding the data block having an error. Further, a disk operation may be scheduled to recover the data block having an error.
Additionally, the host command may be a mode-change host command in that the host command is for streaming data following a previous command for non-streaming data or the host command is for non-streaming data following a previous command for streaming data. The plurality of data blocks may remain cached in the memory segment for the mode-change host command.


REFERENCES:
patent: 5754882 (1998-05-01), Tobagi et al.
patent: 5996015 (1999-11-01), Day et al.
patent: 6061504 (2000-05-01), Tzelnic et al.
patent: 6330630 (2001-12-01), Bell
patent: 6389460 (2002-05-01), Stewart et al.
patent: 6396907 (2002-05-01), Didcock
patent: 6496980 (2002-12-01), Tillman et al.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Cache control method and system for mixed streaming and... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Cache control method and system for mixed streaming and..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Cache control method and system for mixed streaming and... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3076505

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.