×

Firehose dump of SRAM write cache data to non-volatile memory using a supercap

  • US 8,195,901 B2
  • Filed: 02/05/2009
  • Issued: 06/05/2012
  • Est. Priority Date: 02/05/2009
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method, in a data processing system, for firehose dumping modified data in a static random access memory of a hard disk drive to non-volatile memory of the hard disk drive during a power event, the method comprising:

  • receiving an indication of the power event in the hard disk drive;

    suspending command processing in the hard disk drive;

    setting a token in the non-volatile storage indicating that a flash memory in the non-volatile memory contains the modified data;

    copying a portion of a static random access memory cache table containing information on the modified data in the static random access memory to the flash memory;

    copying the modified data from the static random access memory to the flash memory, wherein copying the modified data from the static random access memory to the flash memory further comprises;

    initializing a cache block pointer to point to a first logical block address of the modified data in the static random access memory;

    copying the modified data stored in the static random access memory that is associated with the first logical block address pointed to by the cache block pointer to the flash memory at an address that corresponds to an address where the modified data is stored in the static random access memory;

    determining whether all cached logical block addresses have been copied from the static random access memory to corresponding locations in the flash memory;

    responsive to all of the cached logical block addresses failing to have been copied from the static random access memory to the corresponding locations in the flash memory, incrementing the cache block pointer to the next logical block address in the static random access memory;

    copying the modified data stored in the static random access memory that is associated with the next logical block address pointed to by the cache block pointer to the flash memory at an address that corresponds to an address where the modified data is stored in the static random access memory; and

    repeating the incrementing and copying steps until all of the cached logical block addresses have been copied from the static random access memory to corresponding locations in the flash memory;

    determining whether the power event that initiated the copy of the modified data in the static random access memory to the flash memory is still present; and

    responsive to the power event that initiated the copy still being present, shutting down the hard disk drive.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×