Buffer memory writing method and apparatus and synchronizing method and apparatus for disk cache region
The embodiment of the invention provides a buffer memory writing method and apparatus and a synchronizing method and apparatus for a disk cache region. The buffer memory writing method comprises steps of acquiring to-be-written data of a system, determining the size of the to-be-written data, writin...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention provides a buffer memory writing method and apparatus and a synchronizing method and apparatus for a disk cache region. The buffer memory writing method comprises steps of acquiring to-be-written data of a system, determining the size of the to-be-written data, writing the to-be-written data a data region of a disk when the size of the to-be-written data is larger than a first threshold value, and writing the to-be-written into data and corresponding metadata information into a buffer region of a non-volatile memory storer when the size of the to-be-written data is smaller or equal to the first threshold value. The metadata information comprises a disk address of the to-be-written data, data size and version number; and the version number indicates a sequence number of the to-be-written data updated by the system. The to-be-written data is directly written into the data region of the disk, so large handling capacity data can be buffered without the use of the buffer region of t |
---|