DATA ACCESS METHOD AND APPARATUS
The present invention provides a data access method applied to a processing device. The processing device manages a storage device based on a log-structured file system LFS, where the processing device writes a target file to the storage device based on an out place update OPU mechanism; and the pro...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The present invention provides a data access method applied to a processing device. The processing device manages a storage device based on a log-structured file system LFS, where the processing device writes a target file to the storage device based on an out place update OPU mechanism; and the processing device writes file attribute information corresponding to the target file in the storage device to out of band OOB data of the storage device, to restore, after abnormal power-off, access to the target file by using the file attribute information stored in the out of band OOB data. In this way, when writing the target file to the storage device, the processing device may write a file attribute corresponding to the target file to the out of band OOB data, so that after abnormal power-off, access to the target file may be restored by using the file attribute information, to prevent loss of the target file. |
---|