首页>
外国专利>
FILE MIGRATION METHOD AND APPARATUS, AND STORAGE DEVICE
FILE MIGRATION METHOD AND APPARATUS, AND STORAGE DEVICE
展开▼
机译:文件迁移方法和装置以及存储设备
展开▼
页面导航
摘要
著录项
相似文献
摘要
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.
展开▼