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.
Patent No.:
Date of Patent:
Sep. 17, 2019
Filed:
Mar. 30, 2016
Huawei Technologies Co., Ltd., Shenzhen, CN;
Feng Xia, Chengdu, CN;
Huawei Technologies Co., Ltd., Shenzhen, CN;
Abstract
A method for migrating a file in a storage device. The storage device obtains a snapshot of metadata of the file. The snapshot includes logical addresses of data blocks of the file and first write time points of the data blocks. The storage device identifies a logical address of a target data block and a first write time point of the target data block. Then, the storage device obtains a second write time point from the metadata of the file. The second write time point indicates a latest time point of writing the target data block into the storage device. If the first write time point of the target data block is identical to the second write time point, the storage device migrates the target data block to pre-allocated continuous storage space. Thereby, disk defragmentation can be achieved.