-
公开(公告)号:US20230045119A1
公开(公告)日:2023-02-09
申请号:US17969889
申请日:2022-10-20
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Jie SU , Caicheng LIN , Laibin QIU , Wei XU
IPC: G06F21/62
Abstract: A data access method performed by a processing device is disclosed. 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 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 OOB data, so that after abnormal power-off, access to the target file may be restored by using the file attribute information.