发明名称 Single instance buffer cache method and system
摘要 Provided is a method and system for reducing duplicate buffers in buffer cache associated with a storage device. Reducing buffer duplication in a buffer cache includes accessing a file reference pointer associated with a file in a deduplicated filesystem when attempting to load a requested data block from the file into the buffer cache. To determine if the requested data block is already in the buffer cache, aspects of the invention compare a fingerprint that identifies the requested data block against one or more fingerprints identifying a corresponding one or more sharable data blocks in the buffer cache. A match between the fingerprint of the requested data block and the fingerprint from a sharable data block in the buffer cache indicates that the requested data block is already loaded in buffer cache. The sharable data block in buffer cache is used instead thereby reducing buffer duplication in the buffer cache.
申请公布号 US9043555(B1) 申请公布日期 2015.05.26
申请号 US200912392994 申请日期 2009.02.25
申请人 NetApp, Inc. 发明人 Khona Rahul;Periyagaram Subramaniam;Yadav Sandeep;Pawar Dnyaneshwar
分类号 G06F12/00;G06F3/06 主分类号 G06F12/00
代理机构 LeClairRyan, a Professional Corporation 代理人 LeClairRyan, a Professional Corporation
主权项 1. A method of reducing data duplication in a buffer cache comprising: accessing, by a storage management computing device, a file reference pointer associated with a file in a deduplicated file system when loading a requested data block from the file into the buffer cache; comparing, by the storage management computing device, when the requested data block is not stored in association with the file reference pointer in the buffer cache, a fingerprint from the requested data block that identifies the requested data block taken from the deduplicated filesystem against one or more fingerprints identifying a corresponding one or more shareable data blocks in the buffer cache; determining, by the storage management computing device, when there is at least one other file reference pointer associated with a shareable data block of the one or more shareable data blocks in the buffer cache, and based on the comparing, when there is a match between the fingerprint of the requested data block and a fingerprint of the shareable data block of the one or more shareable data blocks in the buffer cache; marking, by the storage management computing device, the shareable data block from the match in the buffer cache when there is an attempt to modify the shareable data block, wherein the marked shareable data block is copied to the buffer cache after the attempt to modify the shareable data block and when there is at least one other file reference pointer associated with the shareable data block; and allocating, by the storage management computing device, the shareable data block from the match in the buffer cache, wherein the allocating comprises associating a new buffer header with the shareable data block, the new buffer header comprising metadata for the shareable data block.
地址 Sunnyvale CA US