File migration method and apparatus, and storage device
US10417186B2 · kind B2 · utility
Assignee
Inventor
Key dates
| Filing date | Mar 30, 2016 |
| Grant date | Sep 17, 2019 |
| Priority date | — |
| Expiry date | Feb 27, 2037 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F16/214
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
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.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.