发明名称 Method and system for garbage collection in a storage system based on longevity of stored data
摘要 A method for managing data. The method includes receiving a first request to write data to persistent storage and in response to the first request, writing the data to a short-lived block in the persistent storage, where the data is short-lived data or data of unknown longevity. The method further includes performing a modified garbage collection operation that includes: selecting a first frag page in a first block, determining that the first frag page is live, and migrating, based on the determination that the first frag page is live, the first frag page to a long-lived block in the persistent storage, where the long-lived block is distinct from the short-lived block and wherein the long-lived block does not include any short-lived data.
申请公布号 US9600409(B2) 申请公布日期 2017.03.21
申请号 US201414473325 申请日期 2014.08.29
申请人 EMC IP HOLDING COMPANY LLC 发明人 Bonwick Jeffrey S.
分类号 G06F12/02;G06F3/06 主分类号 G06F12/02
代理机构 Osha Liang LLP 代理人 Osha Liang LLP
主权项 1. A non-transitory computer readable medium comprising instructions, which when executed by a processor perform a method, the method comprising: receiving a first request to write data to persistent storage; in response to the first request and after determining that the data is non-persistent data, writing the data to a first block in the persistent storage; and performing a modified garbage collection operation comprising: selecting a frag page in a second block;determining that the frag page comprises persistent data, wherein the first frag page comprises persistent data when the first frag page is live, andmigrating, based on the determination that the first frag page comprises persistent data, the first frag page to a third block in the persistent storage,wherein the third block is distinct from the first block and wherein the third block does not include any non-persistent data, and receiving a second request to write second data to the persistent storage, wherein the second request comprises information which indicates that the second data is persistent data; and in response to the second request, writing the second data to the third block in the persistent storage.
地址 Hopkinton MA US
您可能感兴趣的专利