发明名称 |
METHOD AND DEVICE FOR RECOVERING CHECKPOINT IN COPY ON WRITE BASED FILE SYSTEM |
摘要 |
Disclosed are a method and device for recovering a checkpoint in a copy on write based file system. The method for recovering a checkpoint comprises: according to a checkpoint recovery instruction, obtaining M data blocks which are allocated between the last checkpoint recovery moment and this checkpoint recovery moment by a file system, where M is an integer which is not smaller than 1, wherein, the M data blocks are data blocks allocated for at least one of a checkpoint and a snapshot which are generated between the last checkpoint recovery moment and this checkpoint recovery moment; conducting a fixed-step addition operation on the number of times that a data block among the M data blocks needing to be reserved is quoted, and determining a first data block needing to be recovered from the M data blocks; determining a second data block needing to be recovered from N data blocks allocated for at least one of a checkpoint and a snapshot which are reserved at the last checkpoint recovery moment, where N is an integer which is not smaller than 1; and recovering the first data block and the second data block. |
申请公布号 |
WO2015180394(A1) |
申请公布日期 |
2015.12.03 |
申请号 |
WO2014CN89458 |
申请日期 |
2014.10.24 |
申请人 |
HUAWEI TECHNOLOGIES CO., LTD. |
发明人 |
XIE, YONG;LI, YUGUO;ZHONG, YANHUI;FU, XUDONG |
分类号 |
G06F17/30 |
主分类号 |
G06F17/30 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|