The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Oct. 27, 2020

Filed:

Apr. 25, 2018
Applicant:

Huawei Technologies Co., Ltd., Shenzhen, CN;

Inventor:

Bo Hu, Chengdu, CN;

Assignee:
Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 16/13 (2019.01); G06F 16/14 (2019.01); G06F 16/16 (2019.01); G06F 16/17 (2019.01); G06F 16/907 (2019.01); G06F 16/23 (2019.01); G06F 16/10 (2019.01); G06F 16/185 (2019.01); G06F 16/901 (2019.01); G06F 11/14 (2006.01);
U.S. Cl.
CPC ...
G06F 16/13 (2019.01); G06F 11/1435 (2013.01); G06F 16/14 (2019.01); G06F 16/16 (2019.01); G06F 16/17 (2019.01); G06F 16/2365 (2019.01); G06F 16/907 (2019.01); G06F 16/10 (2019.01); G06F 16/185 (2019.01); G06F 16/9017 (2019.01);
Abstract

A method and an apparatus for repairing a file system directory tree are provided. Parent directory path information is added to metadata of each directory. When metadata of a directory tree is corrupted, the metadata is traversed, and N subdirectory trees are constructed according to subdirectory path information in the metadata of each directory. A corrupted directory is determined according to parent directory path information of a sub-root directory of a subdirectory tree. Metadata of a higher-level directory of a level R that is adjacent to the sub-root directory is reconstructed according to the parent directory path information of the sub-root directory of the subdirectory tree. The N subdirectory trees are constructed into one directory tree according to the reconstructed metadata of the higher-level directory of the level R that is adjacent to the sub-root directory.


Find Patent Forward Citations

Loading…