首页> 外国专利> Device controller and method for performing a plurality of write transactions atomically within a nonvolatile data storage device

Device controller and method for performing a plurality of write transactions atomically within a nonvolatile data storage device

机译:用于在非易失性数据存储设备内原子地执行多个写事务的设备控制器和方法

摘要

A device controller and method are provided for performing a plurality of write transactions atomically within a non-volatile data storage device. Each transaction specifies a logical address and the method comprises creating an address translation map for the logical addresses specified by the plurality of write transactions, by referencing an address translation record within the non-volatile data storage device to determine for each logical address a corresponding physical address within the data storage device. Further, if the corresponding physical address indicated in the address translation record already contains valid data, the logical address is remapped to a new physical address in the address translation map. However, at this point the address translation record as stored in the data storage device is not updated. Instead, the plurality of write transactions are performed using the logical address to physical address mapping in the address translation map. Then, only once the plurality of write transactions have been performed is the address translation record updated in the non-volatile data storage device in order to identify the logical address to physical address mapping in the address translation map. Since, at the time of performing the write transactions, any new data that updates data already stored in the data storage device is written into a different physical address location, and hence the previous version of the data is still stored on the data storage device, and given that the address translation record is not updated unless the plurality of write transactions are actually performed atomically, then this enables the state held on the data storage device to be rolled back to the state that existed prior to performing the plurality of write transactions, if any event prevents that plurality of write transactions being performed atomically.
机译:提供了一种用于在非易失性数据存储设备内原子地执行多个写事务的设备控制器和方法。每个事务指定一个逻辑地址,并且该方法包括通过参考非易失性数据存储设备内的地址翻译记录来确定每个逻辑地址的对应物理地址,从而为由多个写事务指定的逻辑地址创建地址翻译映射。数据存储设备中的地址。此外,如果地址转换记录中指示的相应物理地址已经包含有效数据,则逻辑地址将重新映射到地址转换映射中的新物理地址。但是,此时,存储在数据存储设备中的地址转换记录未更新。相反,使用地址转换映射中的逻辑地址到物理地址映射来执行多个写事务。然后,仅一旦执行了多个写事务,就在非易失性数据存储设备中更新地址转换记录,以便在地址转换图中识别逻辑地址到物理地址的映射。由于在执行写入事务时,将更新已经存储在数据存储设备中的数据的任何新数据写入不同的物理地址位置,因此该数据的先前版本仍存储在数据存储设备中,并且除非地址转换记录不被更新,除非实际以原子方式实际执行了多个写事务,然后这使得保持在数据存储设备上的状态可以回滚到执行多个写事务之前的状态,如果有任何事件阻止自动执行多个写事务。

著录项

  • 公开/公告号US10445000B2

    专利类型

  • 公开/公告日2019-10-15

    原文格式PDF

  • 申请/专利权人 ARM LIMITED;

    申请/专利号US201515320380

  • 发明设计人 IRENÉUS JOHANNES DE JONG;ANDREAS HANSSON;

    申请日2015-05-19

  • 分类号G06F12;G06F3/06;G06F12/02;G06F13/16;G06F9/46;G06F12/0802;G06F12/10;G06F13;G06F13/28;

  • 国家 US

  • 入库时间 2022-08-21 12:16:45

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号