主权项 |
1. A method for use in managing cache backup and restore, the method comprising:
quiescing I/O operations at a cache module; taking a first snapshot of a storage object and a second snapshot of an SSD cache object, wherein the SSD cache object includes dirty data; unquiescing I/O operations at the cache module; and creating a single backup image comprising the first snapshot and the second snapshot, wherein the single backup image includes a backup header, one or more storage object data blocks, a dirty region logging (DRL) metadata block, and a cache superblock, and wherein a memory area occupied by the single backup image is determined by the equation:
backup image size=sizeof(storage object)+(2*backupheadersize)+sizeof(superblock, DRL metadata blocks). |