发明名称 Method and system for ensuring reliability of cache data and metadata subsequent to a reboot
摘要 To ensure that the contents of a non-volatile memory device cache may be relied upon as accurately reflecting data stored on disk storage, it may be determined whether the cache contents and/or disk contents are modified during a power transition, causing cache contents to no longer accurately reflect data stored in disk storage. The cache device may be removable from the computer, and unexpected removal of the cache device may cause cache contents to no longer accurately reflect data stored in disk storage. Cache metadata may be managed during normal operations and across power transitions, ensuring that cache metadata may be efficiently accessed and reliably saved and restored across power transitions. A state of a log used by a file system may be determined prior to and subsequent to reboot of an operating system in order to determine whether data stored on a cache device may be reliably used.
申请公布号 US9032151(B2) 申请公布日期 2015.05.12
申请号 US200812271472 申请日期 2008.11.14
申请人 Microsoft Technology Licensing, LLC 发明人 Iyigun Mehmet;Bak Yevgeniy;Fortin Michael;Fields David;Ergan Cenk;Kirshenbaum Alexander
分类号 G06F12/08;G06F12/14;G06F12/00;G06F11/14 主分类号 G06F12/08
代理机构 代理人 Gabryjelski Henry;Drakos Kate;Minhas Micky
主权项 1. A method for operating a computer that is coupled to a storage medium and a cache device, the computer comprising an operating system, the method comprising acts of: (A) activating a write recorder component configured for identifying write operations performed to the storage medium which are not performed to the cache device; (B) in response to a request to write a data item to the storage medium at an address, causing the data item to be written to the storage medium at the address and to the cache device at a corresponding address; (C) capturing a snapshot of the data item written to the cache device at the corresponding address; (D) subsequent to a reboot of the operating system, determining whether the data item written to the cache device at the corresponding address can reliably be used to satisfy a request to read the data item from the storage medium at the address, the determining including determining, via the write recorder component, whether the data item written to the storage medium at the address was modified after completion of act (B); and (E) if it is determined in act (D) that the data item written to the cache device at the corresponding address cannot reliably be used to satisfy the request to read the data item from the storage medium at the address, then causing the cache device to be updated using the snapshot and data from the write recorder component.
地址 Redmond WA US