Patent ID: 7908512

Claim:
A method of detecting undetected write errors in a storage system, comprising: writing data to a storage medium from a data cache; validating the data by validating the data cache and the metadata cache, wherein validating the data cache includes: maintaining a copy of the data in the data cache until said data on the storage medium is validated against the copy of the data in the data cache or until eviction of data from the cache is required; and prior to eviction of said data from the data cache, maintaining metadata for said data in a metadata cache until the data written to the storage medium has been validated against the metadata; and wherein validating the metadata cache includes: periodically reading unvalidated data blocks from the storage medium; computing metadata values for the unvalidated data blocks; comparing the computed metadata values to corresponding metadata values stored in the metadata cache for the unvalidated data blocks; if the computed value and corresponding value matches, then removing the value from the metadata cache, otherwise, invoking error handling for the unvalidated data blocks.