发明名称 Method and apparatus for shadowing a hierarchical file system index structure to enable error recovery
摘要 The method of the invention updates a tree arranged index for an hierarchical file system (HFS). The index includes at least one index value, i.e., an index page, that is logically positioned between an index anchor value and a sequence page. The sequence page includes actual index data. Logical positioning of the index page is determined by one or more pointers. The method initially responds to an index update request by making an update "shadow" copy of (i) a sequence page and (ii) any other index pages, up to and including a root page, that are to be updated in accord with the update request. Thereafter, an index manager updates the shadow copy of the sequence page in accord with the update request. The index manager further updates the root page and each shadowed index page that is present in a path to the updated sequence page to indicate that the path has been updated and includes the most current data. If a cancel or error indication occurs prior to updating of the index path, the shadowed copies of the sequence page, index page and root page are released, enabling the system to return to the non-updated pages. Otherwise, the index manager updates the index anchor value to point to the updated root page, thereby indicating that the index update has been successfully accomplished. Periodically, the new index anchor value, sequence page, index and root pages are written to disk.
申请公布号 US6192376(B1) 申请公布日期 2001.02.20
申请号 US19980191172 申请日期 1998.11.13
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 KINCAID W. JAMES;LEVISH DAVID;MAHON THOMAS A.
分类号 G06F11/14;G06F17/30;(IPC1-7):G06F17/30 主分类号 G06F11/14
代理机构 代理人
主权项
地址