Write cache method, cache synchronization method and device
A write cache and write cache technology, which is applied in the fields of write cache method, cache synchronization method and device, can solve the problems that data cannot be written to the disk in time, write cache efficiency is low, cache equipment, etc., so as to improve space utilization and shorten waiting time the effect of time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0039] figure 1 It is a flowchart of an embodiment of a write caching method provided by the present invention. Such as figure 1 As shown, the method for writing data in the memory to the cache device provided in this embodiment includes:
[0040] Step 11: If the cache device caches old data with the same disk address as the data to be cached, update the version number of the data to be cached so that the version number of the data to be cached indicates that the data to be cached is written into the cache device later than the old data, and The cache address of the old data is used as the cache address of the previous version of the data to be cached, wherein the old data is the same old data as the disk address of the data to be cached.
[0041]Before writing the data to be cached in the cache device, first determine whether there is old data cached in the cache device with the same disk address as the data to be cached. If there is old data cached in the cache device with...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 