CN112470227A - 一种数据块处理的方法及控制器 - Google Patents

一种数据块处理的方法及控制器 Download PDF

Info

Publication number
CN112470227A
CN112470227A CN201880095996.5A CN201880095996A CN112470227A CN 112470227 A CN112470227 A CN 112470227A CN 201880095996 A CN201880095996 A CN 201880095996A CN 112470227 A CN112470227 A CN 112470227A
Authority
CN
China
Prior art keywords
data block
physical data
write stamp
interfered
stamp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201880095996.5A
Other languages
English (en)
Other versions
CN112470227B (zh
Inventor
许璐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN112470227A publication Critical patent/CN112470227A/zh
Application granted granted Critical
Publication of CN112470227B publication Critical patent/CN112470227B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • G06F12/0246Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0616Improving the reliability of storage systems in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/064Management of blocks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0659Command handling arrangements, e.g. command buffers, queues, command scheduling
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/52Protection of memory contents; Detection of errors in memory contents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/72Details relating to flash memory management
    • G06F2212/7211Wear leveling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0647Migration mechanisms
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C2029/0409Online test

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Computer Security & Cryptography (AREA)

Abstract

本申请实施例公开了一种数据块处理的方法及控制器。方法包括:控制器配置全局写戳(Write Stamp)的计数器,用于表征控制器对存储介质总的写次数;当对存储介质中的物理数据块发生写操作时,将该时刻的全局写戳作为物理数据块的即时写戳,存储在物理数据块的元数据中;对所有物理数据块进行巡检,当全局写戳的计数每增加一个数量阈值时,根据巡检的顺序触发对相应的单个物理数据块的检查;当巡检到该物理数据块时,根据即时写戳判断该物理数据块是否为待搬移数据块;若该物理数据块是待搬移数据块,则对该物理数据块进行搬移处理。采用本申请实施例,可降低存储介质可靠性问题处理的复杂度,减少计算开销。

Description

PCT国内申请,说明书已公开。

Claims (18)

  1. PCT国内申请,权利要求书已公开。
CN201880095996.5A 2018-07-26 2018-07-26 一种数据块处理的方法及控制器 Active CN112470227B (zh)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/097255 WO2020019255A1 (zh) 2018-07-26 2018-07-26 一种数据块处理的方法及控制器

Publications (2)

Publication Number Publication Date
CN112470227A true CN112470227A (zh) 2021-03-09
CN112470227B CN112470227B (zh) 2022-11-01

Family

ID=69180350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880095996.5A Active CN112470227B (zh) 2018-07-26 2018-07-26 一种数据块处理的方法及控制器

Country Status (3)

Country Link
US (1) US11360714B2 (zh)
CN (1) CN112470227B (zh)
WO (1) WO2020019255A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114880259B (zh) * 2022-07-12 2022-09-16 北京象帝先计算技术有限公司 数据处理方法、装置、系统、电子设备及存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6032264A (en) * 1997-04-22 2000-02-29 Micron Technology, Inc. Apparatus and method implementing repairs on a memory device
CN101477492A (zh) * 2009-01-21 2009-07-08 华中科技大学 一种用于固态硬盘的循环重写闪存均衡方法
US20140208109A1 (en) * 2011-12-28 2014-07-24 Alpa T. Narendra Trivedi Method and system for protecting memory information in a platform
CN104376875A (zh) * 2014-11-19 2015-02-25 华为数字技术(苏州)有限公司 存储设备寿命预测、确定方法及装置
US9477551B1 (en) * 2014-12-01 2016-10-25 Datadirect Networks, Inc. Method and system for data migration between high performance computing architectures and file system using distributed parity group information structures with non-deterministic data addressing
CN106462500A (zh) * 2014-05-28 2017-02-22 美光科技有限公司 用于执行损耗均衡操作的设备及方法
US20180060148A1 (en) * 2016-08-23 2018-03-01 Oracle International Corporation Bad block detection and predictive analytics in nand flash storage devices

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120023144A1 (en) * 2010-07-21 2012-01-26 Seagate Technology Llc Managing Wear in Flash Memory
KR101861545B1 (ko) * 2012-01-02 2018-05-29 삼성전자주식회사 저장 장치의 데이터 관리 방법
WO2015199574A1 (en) * 2014-06-27 2015-12-30 Emc Corporation Techniques for automatically freeing space in a log-structured storage system
KR20180045091A (ko) * 2016-10-24 2018-05-04 에스케이하이닉스 주식회사 메모리 시스템 및 이를 이용한 웨어-레벨링 방법
US20180329646A1 (en) * 2017-05-12 2018-11-15 International Business Machines Corporation Distributed storage system virtual and storage data migration
US10381073B1 (en) * 2018-03-20 2019-08-13 Micron Technology, Inc. Converged structure supporting buffering of recent writes and overwrite disturb remediation
US10922221B2 (en) * 2018-03-28 2021-02-16 Micron Technology, Inc. Memory management

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6032264A (en) * 1997-04-22 2000-02-29 Micron Technology, Inc. Apparatus and method implementing repairs on a memory device
CN101477492A (zh) * 2009-01-21 2009-07-08 华中科技大学 一种用于固态硬盘的循环重写闪存均衡方法
US20140208109A1 (en) * 2011-12-28 2014-07-24 Alpa T. Narendra Trivedi Method and system for protecting memory information in a platform
CN106462500A (zh) * 2014-05-28 2017-02-22 美光科技有限公司 用于执行损耗均衡操作的设备及方法
CN104376875A (zh) * 2014-11-19 2015-02-25 华为数字技术(苏州)有限公司 存储设备寿命预测、确定方法及装置
US9477551B1 (en) * 2014-12-01 2016-10-25 Datadirect Networks, Inc. Method and system for data migration between high performance computing architectures and file system using distributed parity group information structures with non-deterministic data addressing
US20180060148A1 (en) * 2016-08-23 2018-03-01 Oracle International Corporation Bad block detection and predictive analytics in nand flash storage devices

Also Published As

Publication number Publication date
US11360714B2 (en) 2022-06-14
WO2020019255A1 (zh) 2020-01-30
CN112470227B (zh) 2022-11-01
US20210141544A1 (en) 2021-05-13

Similar Documents

Publication Publication Date Title
CN110471861B (zh) 一种闪存设备中的数据存储方法及闪存设备
CN102081562A (zh) 一种设备诊断方法及系统
US10884665B2 (en) Data reading method, storage controller and storage device for optimizing read voltages
CN112463058B (zh) 一种碎片数据整理方法、装置及存储节点
CN105790830A (zh) 光模块在位检测方法和装置
CN109213423B (zh) 基于地址屏障无锁处理并发io命令
US20210081238A1 (en) Exception analysis for data storage devices
TWI616807B (zh) 資料寫入方法以及儲存控制器
CN113127314A (zh) 一种检测程序性能瓶颈的方法、装置及计算机设备
CN112470227B (zh) 一种数据块处理的方法及控制器
CN107943605A (zh) 一种存储卡处理方法及装置
US7725806B2 (en) Method and infrastructure for recognition of the resources of a defective hardware unit
CN112068781B (zh) 一种存储器的数据读写方法及相关设备
CN105446856A (zh) 电子设备接口的检测方法、装置
CN115472203B (zh) 闪存磨损次数预测方法、装置及存储介质
US9891863B2 (en) Handling shingled magnetic recording (SMR) drives in a tiered storage system
US9153345B2 (en) Error generating apparatus for solid state drive tester
TWI502350B (zh) 快閃記憶體的存取裝置及方法
CN113360448B (zh) 数据包处理方法及装置
CN103984614A (zh) 一种监控方法及监控装置、电子设备
US11422921B2 (en) Debug systems for deterministic validation of data storage devices
CN108572920B (zh) 避免读取扰动的数据搬移方法以及使用该方法的装置
US7222202B2 (en) Method for monitoring a set of semaphore registers using a limited-width test bus
CN109213424B (zh) 并发io命令的无锁处理方法
CN114329640B (zh) 计数值读取方法、计数方法、装置、电子设备及存储介质

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant