Patent ID: 8074027

Claim:
A method performed by a kernel-mode driver for utilizing a file system cache for caching a physical log comprising a plurality of log records, each log record being identified with a log sequence number (LSN), the method comprising the steps of: maintaining a beginning LSN, the beginning LSN identifying a temporal beginning to the physical log, wherein the beginning LSN is a minimum of a base LSN or an archive tail LSN, the base LSN being associated with a log record that is oldest among the plurality of log records and active in the physical log, and the archive tail LSN being associated with a log record that is oldest among the plurality of log records in the physical log for which archiving has not occurred; maintaining a cache base LSN that is less than or equal to the beginning LSN; mapping an LSN of a log record to an address in the file system cache by generating a cache address for the log record that is substantially equal to an offset between the cache base LSN and the LSN of the log record; and advancing the cache base LSN when an offset to the beginning LSN exceeds a predetermined threshold for unusable cache addresses.