Patent ID: 11907076
Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 13:
14. A computer device, comprising:
at least one processor; and
a memory, wherein the memory stores a computer program which can be run on the at least one processor, and the computer program, when being executed by the at least one processor, causes the at least one processor to:
acquiring the capacity of to-be-written data after snapshot, and comparing the capacity of the to-be-written data with a preset capacity;
under the condition that the capacity of the to-be-written data is greater than or equal to the preset capacity, writing the to-be-written data into a snapshot volume in a Redirect On Write manner;
under the condition that the capacity of the to-be-written data is less than the preset capacity, writing the to-be-written data into a solid state drive in a Redirect On Write manner; and
under the condition that a background write-back thread detects that there is data writing into the solid state drive, writing corresponding data in a source volume into the snapshot volume in a Copy On Write manner, and writing the to-be-written data in the solid state drive into the source volume.