首页> 外国专利> 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.
机译:一种用于在存储设备中迁移文件的方法。存储设备获取文件元数据的快照。快照包括文件的数据块的逻辑地址和数据块的第一写入时间点。该存储设备识别目标数据块的逻辑地址和目标数据块的第一写入时间点。然后,存储设备从文件的元数据获得第二写入时间点。第二写入时间点指示将目标数据块写入存储设备的最新时间点。如果目标数据块的第一写入时间点与第二写入时间点相同,则存储设备将目标数据块迁移到预分配的连续存储空间。由此,可以实现磁盘碎片整理。

著录项

  • 公开/公告号US2016210302A1

    专利类型

  • 公开/公告日2016-07-21

    原文格式PDF

  • 申请/专利权人 HUAWEI TECHNOLOGIES CO. LTD.;

    申请/专利号US201615085626

  • 发明设计人 FENG XIA;

    申请日2016-03-30

  • 分类号G06F17/30;G06F3/06;

  • 国家 US

  • 入库时间 2022-08-21 14:37:00

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号