Mitigation of solid-state memory read failures
By actively detecting read errors in solid-state memory and deactivating faulty areas, the problem of data loss caused by solid-state memory read failures is solved, the reliability and efficiency of the device are improved, and high-cost data reconstruction is avoided.
Patent Information
- Application Number
- CN202011581259.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-12-27
- Filing Date
- 2020-12-28
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-12-28
AI Technical Summary
Failure of solid-state memory during read operations can result in data loss, and existing data recovery technologies are inefficient and costly, affecting the performance of storage devices.
By proactively detecting read errors in solid-state memory devices, identifying faulty memory areas and deactivating them, updating the memory deactivation parameters, and deactivating the entire memory area if the threshold is exceeded, thereby avoiding data loss and reconstruction and improving the reliability of the memory device. sex and efficiency.
It effectively alleviates solid-state memory read failures, reduces the possibility of data loss, improves the overall performance of storage devices, and avoids high-cost data reconstruction processes.
Smart Images

Figure CN113051099B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application also relates to U.S. patent application No. #[Docket No.: STL 074668.10], filed on (date), entitled “MITIGATION OF SOLID STATE MEMORY READ FAILURES WITH PEER BASED THRESHOLDS,” and U.S. patent application No. #[Docket No.: STL 074668.20], filed on (date), entitled “MITIGATION OF SOLID STATE MEMORY READ FAILURES,” which are filed concurrently and are hereby incorporated by reference in their entirety for all that they disclose and teach. Background Art
[0003] Solid-state drives (SSDs) are widely used for data storage. The SSD may include any suitable solid-state memory technology, including flash memory chips. One known failure mode of an SSD includes failure of the SSD during a read operation (also referred to herein as a "read failure"). Although error correction codes or other data recovery techniques may be used in the case of a read failure, the read failure may ultimately be fatal to the SSD and potentially result in data loss. In addition, even if data recovery techniques (e.g., RAID recovery) are employed, such methods may involve costly data reconstruction, which may compromise the efficiency of the SSD device. Summary of the invention
[0004] In view of the above, the present disclosure generally relates to mitigation of read failures in SSDs. The methods described herein include methods that can preemptively detect failures of memory regions of a drive to allow memory regions of the drive that are determined to be failed to be disabled to migrate data from the failed memory region of the SSD, avoiding data loss or the need to rebuild large amounts of data.
[0005] Specifically, the present disclosure relates to a method for detecting read errors in a solid-state memory device, which can be used to actively detect failures of the device. The method includes detecting a first uncorrectable read error on the first memory portion of the solid-state memory device in response to a first read operation on the first memory portion; and identifying the first memory portion as a suspicious portion in response to the first uncorrectable read error. In response to a second read operation on the suspicious memory portion, detecting a second uncorrectable read error on the suspicious memory portion of the memory area; and disabling the suspicious portion in response to the second uncorrectable read error. Further, the method includes updating a memory disabling parameter based on a disabling operation, and detecting that the memory disabling parameter exceeds a memory disabling threshold. Further, in response to detecting that the memory disabling count exceeds the memory disabling threshold, disabling the memory area.
[0006] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to limit the scope of the claimed subject matter.
[0007] Other implementations are also described and referenced herein. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 Depicted is a schematic diagram of an example storage system 100 in which read error mitigation may be utilized.
[0009] Figure 2 Depicted is a schematic diagram of an example memory structure upon which read error mitigation may be utilized.
[0010] Figure 3 Example operations of a method for read error mitigation are depicted.
[0011] Figure 4 Another example of operation of another method for read error mitigation is depicted in which a memory portion is compared to a peer memory portion to determine a faulty portion of memory.
[0012] Figure 5 Another example of operation of another method for read error mitigation is depicted in which a memory is placed in a test state to perform a test operation of a portion of the memory.
[0013] Figure 6 An example processing device is depicted that may be used to perform at least a portion of the present disclosure. DETAILED DESCRIPTION
[0014] As discussed herein, SSDs are used for non-volatile storage of data in many data storage applications. However, SSDs are susceptible to read failures, in which a read operation is not successfully performed on a given portion of the SSD memory. The problem of read failures in SSDs is due to a variety of reasons. For example, although storage devices can be configured to include data recovery capabilities (e.g., by using error correction codes, RAID recovery, or other data recovery techniques), deploying data recovery to rebuild data due to read errors may be inefficient and require computational overhead, which reduces the overall performance of the storage system. In addition, in extreme cases, the SSD may experience catastrophic data loss, which may not be recoverable via standard data recovery techniques. In this regard, the reaction method to read errors on the SSD may have a negative impact on data retention and storage device performance.
[0015] Furthermore, active detection of read failures can be used to retire one or more portions (e.g., pages, blocks, or planes) of the SSD. In addition, memory portions of a memory region (e.g., a die) can be monitored so that the memory region can be identified as a faulty region and retired based on the performance of the memory portion within the memory region. Preemptive retirement of a memory portion or region can mitigate the impact of a read failure and the possibility of data loss, or require rebuilding data from a faulty portion of a failed drive or chip. Mitigation of read failures on an SSD drive can typically include detecting read errors on one or more memory portions of the drive, so steps can be taken to retire such portions of the SSD that experience a read failure. Furthermore, data stored in a faulty portion or faulty region of the SSD can be migrated away from the faulty portion or faulty region. Furthermore, the possibility of data loss may be reduced and overall drive performance may be improved.
[0016] refer to Figure 1, shows a storage system 100 according to the present disclosure, in which a method for mitigation of read failures may be used. The storage system 100 includes a memory device 110, which is in operative electrical communication with a host device 120. The host device 120 may issue input / output (I / O) commands to the memory device 110. The I / O command may include one or more read, write, or erase commands. The I / O command may address one or more memory cells 116a-116n of the memory device 110. The memory cells 116a-116n may include one or more flash memory chips or a portion of a given flash memory chip. For example, each memory cell 116a-116n may include a memory area that includes at least one flash memory die. A plurality of memory cells 116a-116n are provided to achieve increased capacity. In this regard, any number of one or more memory cells 116 may be provided, without being limited by, for example, Figure 1 Limitations shown.
[0017] The memory device 110 also includes an interface 112 to facilitate communication with a host device 120. The interface 112 may include an address translation that may translate logical addresses used by the host device 120 into physical addresses in the memory units 116a-116n so that I / O commands from the host device 120 may be addressed to and executed on a given portion of the memory units 116a-116n.
[0018] The memory device 110 may also include a controller 114. The controller 114 may receive I / O commands from the host device 120. The controller 114 may sequentially execute the I / O commands to perform appropriate read, write, or erase commands on one or more memory cells 116a-116n. The controller 114 may also perform one or more other memory control functions, including, for example, caching, encryption, error detection and correction, garbage collection, wear leveling, and / or other memory functions. The controller 114 may also include a read error mitigation module 118. In various examples presented herein, the read error mitigation module 118 may detect read errors in the memory cells 116a-116n and perform steps to mitigate read failures of all or a portion of the memory cells 116a-116n, as will be discussed in more detail below.
[0019] The memory units 116a-116n of the memory device 110 may include any suitable SSD memory structure, including, for example, NAND memory, DRAM memory, HDD memory, Xpoint memory, or other suitable memory structure. Figure 2, schematically illustrating an example memory cell 216. The memory cell 216 may include a hierarchical structure that includes multiple memory portions in a given memory area. In addition, the memory portions and memory areas may be arranged in increasing hierarchical levels. For example, in the context of flash memory, the memory portions may include cells, pages, blocks, and planes that are contained in a memory area of a die that includes a flash memory chip. In this regard, the memory cell 216 may include one or more memory areas (e.g., die 202). The die 202 may include multiple planes 204. Each plane 204 may include multiple blocks 206. Each block 206 may include multiple pages 208. Each page 208 may include a cell (not shown) that is capable of storing one or more bits of data. Block 206 may be the smallest unit of memory that can be erased in the memory cell 216. In contrast, page 208 may be the smallest unit of memory on which a read or write command may be executed. For example, the size of a page may be between 0.5KiB and 16KiB. A block may include a grouping of pages that may include, for example, 16, 32, 64, 128 or more pages per block.
[0020] Although Figure 2 The structures shown and described herein generally describe the nomenclature and structure of flash memory-specific memory associated with flash memory, but the present disclosure has equal applicability to any appropriate memory type with a corresponding structure. Specifically, but not limited to, the present disclosure is applicable to hard disk drives (HDDs), NV-RAMs, XPoints, or any other appropriate memory technology. Therefore, although the memory portions may be referred to as pages, blocks, and tube cores, it is understood that the methods described herein may be applied to hierarchical memory structures of any size growth, regardless of the nomenclature used to describe the hierarchical structure. That is, the memory unit 116 may include one or more memory areas (e.g., tube cores). Each memory area may include multiple first portions (e.g., pages) of the memory. The second memory portion (e.g., a block) may include multiple first memory portions. In addition, the memory area may include multiple second memory portions. Therefore, although pages, blocks, and tube cores are referenced below, it should be understood that such terms may be interchanged with the first memory portion, the second memory portion, and the memory area, respectively.
[0021] Return to reference Figure 1, the controller 114 may include a read error mitigation module 118. The read error mitigation module 118 is operable to detect a read error in response to a failed read command of the memory cell 116. As can be appreciated, a given page may be the smallest unit of memory on which a read operation may be performed, and the read error mitigation module 118 is operable to determine a read error on a page of the memory. A read error on a page of the memory may be a correctable read error or an uncorrectable read error. As used herein, a correctable read error refers to an error in a read operation that can be corrected using an error correction code. For example, the controller 114 is operable to apply an error correction code to detect and / or correct errors in a read operation of a page. Any of a number of error correction codes may be employed that can detect and / or correct bit errors from a memory cell. However, any error correction code used by the controller 114 may have limited error correction capabilities. Furthermore, if the number of errors in the read operation exceeds the error correction capability of the error correction code, the read error is an uncorrectable read error. In such cases, uncorrectable read errors may require the use of data reconstruction (eg, using RAID techniques that employ parity bits to reconstruct data lost due to the uncorrectable read errors).
[0022] The read error mitigation module 118 of the controller 114 may be used to detect read errors in one or more portions of one or more memory cells 116a-116n. Further, the read error mitigation module 118 may be operable to proactively disable memory regions that are believed to be faulty, such that data from the faulty memory regions of the memory cells 116 may be migrated from the faulty memory regions. In this way, extensive use of data loss and / or data reconstruction may be avoided, thereby providing improved data reliability and efficiency of the memory device 110. In addition to or as an alternative to any of the methods described in more detail below, portions of the memory cells may be determined to be defective or faulty according to the disclosure provided in U.S. Patent No. 10,453,547, the contents of which are incorporated herein by reference in their entirety.
[0023] Although the read error mitigation module 118 is operable to detect read errors, the example methods described herein may be designed to limit false positive detection of faulty portions of memory. That is, although an uncorrectable read error may be detected on a given page, the page may not repeatedly fail a read operation. Therefore, in an example method for mitigation of read errors, a page in which an uncorrectable read error is detected may be identified as a suspicious page. For example, the read error mitigation module 118 may maintain a list of suspicious pages for a given block, plane, die, or memory cell 116 to identify portions of memory in the list of suspicious pages. After being identified as a suspicious page, if a subsequent successful read operation performed on the suspicious page is detected, the suspicious page may be deleted from the list of suspicious pages. In this regard, a certain degree of repeatability of read errors may be required to disable a portion of the memory that has experienced an uncorrectable read error.
[0024] For example, in Figure 3 , an example operation 300 for the operation of the read error mitigation module 118 is shown. Operation 300 includes a read operation 302 that performs a read operation on a memory cell (e.g., a page of memory cells). A detection operation 304 detects whether a page read fails, thereby indicating a read error of the page that is the subject of the read operation 302. If a page read error is not detected, operation 300 returns to the read operation 302 (e.g., for the next I / O command of the storage device). If a page read failure of the read operation 302 is detected at the detection operation 304, a RAID determination operation 306 determines whether the RAID is triggered by the read error detected at the detection operation 304. That is, the RAID determination operation 306 can determine whether the read error detected in the detection operation 304 is an uncorrectable error. If the RAID is not triggered, the read error detected at the detection operation 304 can be considered a correctable read error. In the event that a correctable read error occurs, a determination operation 308 determines whether the page where the correctable read error occurs is on a suspicious page list. If the page is not on the suspect page list, operation 300 returns to read operation 302. However, if the page is on the suspect page list, remove operation 310 removes the page from the suspect page list, and operation 300 returns to read operation 302.
[0025] If at RAID determination operation 306, it is determined that the detected read error does trigger RAID, then the read error is an uncorrectable read error. In this case, determination operation 312 determines whether the page is on the suspect page list. If the page is not on the suspect page list, then add operation 314 adds the page that has experienced the uncorrectable read error to the suspect page list, and operation 300 returns to read operation 302. If the page that has experienced the uncorrectable read error is determined to be on the suspect page list, then scan operation 316 can be triggered to perform a media scan of the failed page. If the media scan of the suspect page does not fail during scan operation 316 (e.g., the page is readable), the page can be removed from the suspect page list at removal operation 310. However, if the page read of the suspect page fails during scan operation 316, then page disabling operation 318 disabling the suspect page. Page disabling operation 318 can include migrating data from the disabling page to one or more different memory locations, and updating any associated mappings of the data to allow access to the data at the relocated location. The page deactivation operation 318 may also include marking the deactivated page as unavailable or unusable.
[0026] Operation 300 also includes determining whether to disable a memory region (e.g., a die) based on a comparison of a memory disable parameter to a memory disable threshold to determine whether to disable the die of memory. For example, the memory disable parameter may be based on a plurality of disabled portions of memory in the die. This may include a disabled first portion (e.g., page) count or a disabled second portion (e.g., block) count of those corresponding memory portions within a given memory region (e.g., a die). For example, in Figure 3 In the depicted example, for each block in the die, a comparison operation 320 determines whether the disabled page count of the block exceeds a disabled page count threshold. The disabled page count threshold may be a predetermined number of pages within a given die such that if the disabled page count threshold is exceeded, the block may be disabled. If at the comparison operation 320, the disabled page count does not exceed the disabled page count threshold, the operation 300 may return to the read operation 302 (e.g., a newly read I / O command). If the disabled page count of the block exceeds the disabled page count threshold, an identification step 322 may identify the block as defective. This may include simply identifying the block as defective and / or may include disabling the defective block. If the block is identified as defective at the identification step 322, a counting operation 324 may increase a memory disabling parameter for the die to which the defective block belongs. Further, a comparison operation 326 may compare the memory disabling parameter with the memory disabling threshold to determine whether the memory disabling parameter exceeds the memory disabling threshold.
[0027] In this aspect, the memory disabling parameter and the memory disabling threshold may be associated with a number of blocks that have been identified as defective for a given die. In other examples, the memory disabling parameter and the memory disabling threshold may be based on the number of disabled pages of the die. In any aspect, if the memory disabling parameter does not exceed the memory disabling threshold, operation 300 may return to read operation 302. However, if it is determined in comparison operation 326 that the memory disabling parameter exceeds the memory disabling threshold, a die disabling operation 328 may be performed. The die disabling operation 328 may include rewriting the data from the die to another memory location (e.g., another memory cell in a memory device) and updating any associated mappings of the data to allow access to the data at the relocated location. The die disabling operation 328 may also include marking the disabled die as unavailable or unusable.
[0028] The memory disabling parameter may additionally or optionally include a read error rate. The read error rate may be based at least in part on a ratio of read errors, rather than simply on a cumulative number of read errors during the life of the die. For example, the number of read errors may increase over the entire life of the memory cell, even during normal operation. Therefore, the read error rate may monitor a given number of read errors over a given time. The duration for determining the read error rate may be the entire life of the memory cell, so that the read error rate includes the total number of read errors in the total number of reads. Alternatively, the total number of read errors within a shorter duration (e.g., including a sliding window) may be monitored to determine whether the ratio of read errors increases in a manner indicating a die failure. Therefore, the memory disabling threshold may also be associated with the read error rate. For example, the memory disabling threshold may be a threshold percentage of the number of read errors per total read. The memory disabling threshold may include a given ratio within a given time period. In addition, the memory disabling threshold may be a given change within a plurality of subsequent monitoring time periods, so that the memory disabling parameter may include a maximum increase in the ratio of read errors within a monitoring time period exceeding a given threshold. In addition, if a given number of successful reads occur on the die, the memory disabling parameter may be reset to zero.
[0029] Although Figure 3 The operations 300 depicted in generally include using a memory disabling threshold that includes a predetermined number of failures, but in other approaches, determining whether to disable a die may be based on a comparison of memory disabling parameters of a given die with corresponding peer memory disabling parameters of a peer die of the memory device. Figure 4 One example of operations performed by the read error mitigation module 118 to disable a die based on relative performance to peer dies is depicted in FIG.
[0030] Operation 400 includes a read operation 402, which includes performing a read operation on a page of a storage unit. A detection operation 404 detects a read failure on the page as a result of the read operation 402. If no read error is detected at the detection operation 404, a determination operation 406 determines whether the page on which the read operation is performed is on a suspicious page list or is otherwise identified as a suspicious page. If it is determined that the page on which the read operation did not fail is on the suspicious page list, a removal operation 408 removes the page from the suspicious page list on which a successful read operation was performed. Operation 400 then returns to the read operation 402 (e.g., to execute a subsequent I / O command). If the page on which the read operation was successfully performed is not on the suspicious page list, operation 400 also returns to the read operation 402.
[0031] If a read fault is detected at the detection operation 404, the RAID determination operation 410 determines whether the RAID is triggered by the read error. For example, if an error correction code is used to correct the read fault after the read fault is detected at the detection operation 404, the RAID may not be triggered. This situation may correspond to a correctable read error. Then, as described above, the determination operation 406 can determine whether the page is on the suspicious page list at the determination operation 406. Then, if the page that experiences a correctable read error is on the suspicious page list, the removal operation 408 can remove the page from the suspicious page list. However, if the error correction code cannot correct the detected read error, the RAID can be triggered as determined at the RAID determination operation 410. If the RAID determination operation 410 determines that the RAID has been triggered (i.e., an uncorrectable read error has occurred), the suspicious determination operation 412 can determine whether the page on which the read operation failed is in the suspicious page list. If the page on which the read operation failed is not in the suspicious page list, the addition operation 412 adds the page to the suspicious page list.
[0032] Once the suspect determination operation 412 is performed to place the page on the suspect page list, or once it is confirmed that the page is already on the suspect page list, the operation 400 proceeds to the monitoring operation 414. In the monitoring operation 414, the die error parameter is monitored relative to the die performance threshold. If the die error parameter exceeds the die performance threshold, the die is identified as a failed die in the identification operation 418. On the other hand, if the die error parameter does not exceed the die performance threshold, the operation returns to the reading operation 402. The die error parameter can be based on, for example, the number of blocks per die that require RAID processing in response to uncorrectable read errors and / or the number of pages per die per block that require RAID processing in response to uncorrectable read errors. In one embodiment, for a die to be marked as failed, the number of blocks per die that require RAID processing in response to uncorrectable read errors must exceed a block deactivation threshold and / or the number of pages per die per block that require RAID processing in response to uncorrectable read errors must exceed a page deactivation threshold.
[0033] Once the die is identified as a failed die in identification operation 418, a determination operation 420 determines whether the memory disabling parameters satisfy a peer disabling threshold defined relative to the memory disabling parameters of a peer die. If the memory disabling parameters for the failed die do not satisfy the peer threshold, operation 400 returns to read operation 402. If the memory retirement parameters for the failed die do satisfy the peer threshold, then retirement operation 422 disables the failed die. Die disabling operation 422 may include rewriting the data from the die to another memory location (e.g., another memory cell in a memory device) and updating any associated mappings of the data to allow access to the data at the relocated location. Die disabling operation 422 may also include marking the disabled die as unavailable or unusable.
[0034] In an example, if the memory disabling parameter is less than a minimum difference between the failed die and other peer dies, then the die will be disabled. As described above, the memory disabling parameter may include the number of blocks per die that require RAID processing in response to uncorrectable read errors and / or the number of pages per block per die that require RAID processing in response to uncorrectable read errors. In this regard, a statistically significant deviation in the performance of a die from a peer die determined by the determination operation 420 may cause the die to be disabled at the die disabling operation 422 (e.g., deviating from peer performance by more than a given percentage).
[0035] The aforementioned methods that may be performed by the read error mitigation module 118 generally relate to methods performed in the process of completing an I / O command from the host device 120 to access the memory device 110 to perform a memory operation. That is, the detection of the read error in the aforementioned method is in response to a read operation requested by the host device 120 in the normal operation of the memory device 110. However, in at least some scenarios, it may be beneficial to perform specific test operations on the memory device 110 that are unrelated to the normal performance of the memory device 110. In this regard, the read error mitigation module 118 is operable to place the memory device 110 (e.g., one or more of the memory cells 116a-116n) in a test state to perform a test process on the memory. In turn, a memory portion may be randomly or semi-randomly selected on which to perform a test to test whether a read error exists. In addition, because the test state is unrelated to regular memory operations, test parameters may be established to cause a high degree of careful monitoring of the memory cells 116. For example, the error correction capability used in the test state may be reduced relative to the error correction capability during normal operation to more highly carefully monitor the performance of the memory device 110. Furthermore, the results of the stress test of the memory device 110 may be used to determine whether to disable a portion of the memory cell 116 .
[0036] exist Figure 5 , such a method of employing a test process in a memory device is depicted as an example operation 500. Operation 500 may include a triggering operation 502 for triggering a die fault scan. Triggering operation 502 may include placing a portion of a memory of a memory device (e.g., a portion of one or more memory cells) in a test state. Identification operation 504 may select a sample memory portion for the subject of the memory test. Identification operation 504 may select a portion of the memory randomly or semi-randomly. In addition, identification operation 504 may include identifying a die sample of memory cells, a block sample of the identified die, and / or a page sample from the identified block.
[0037] Operation 500 may also include a selection operation 506, in which read parameters are selected to perform a read test of the identified portion of the memory. The read parameters may include selecting a calibrated read voltage value for each die relative to performing an initial read of the die. Operation 500 may also include a modification operation 508, in which the error correction capability used for the read test is modified from the operational error correction capability to the test error correction capability. As described above, the test error correction capability may provide a reduced capability relative to the operational error correction capability to correct errors in the read operation. Therefore, the read operations performed during the memory test may subject such read operations to more stringent operational performance by reducing the error correction capability applied during the test process of the memory, thereby more carefully monitoring the memory portion being tested.
[0038] Furthermore, operation 500 includes a read operation 510, in which all of the identified memory samples from identification operation 504 are read using a memory read operation. Data integrity operation 512 may be performed on the results of read operation 510. Thus, test operation 514 may use the data integrity results to determine whether a read failure occurred during read operation 510. If a read failure is not determined to have occurred, processing may iterate to read operation 510 until all of the identified memory samples have been read. If a failure is detected, recovery operation 516 may be initiated to attempt to recover data from the failed memory portion. If the read recovery of recovery operation 516 is successful, the process may iterate to read operation 510 until all of the identified memory samples have been read.
[0039] If the read recovery fails in the recovery operation 516, the failed memory portion can be tracked in the tracking operation 520 as a read failure metric. Specifically, the read failure metric can include the number of failed blocks per die and / or the number of failed pages per block per die. The tracked read failure metric can be compared to an error threshold by a comparison operation 522. If the read failure metric does not exceed the error threshold, the process can iterate to the read operation 510 until all identified memory samples are read. However, if the read failure metric exceeds the error threshold, a disable operation 524 can be performed to disable the die as described above.
[0040] Although in this example, the read failure metric and error threshold are based on a count of failed portions of the die (e.g., blocks and / or pages), other read failure metrics may be used without limitation, such as those described above, where the die failure parameters include performance metrics defined relative to peer memory portions, such that each portion of memory can be evaluated relative to peer portions to determine abnormal performance that triggers die disabling.
[0041] Figure 6 An example schematic diagram of a processing system 600 suitable for implementing aspects of the disclosed technology including the memory device 110 and / or the read error mitigation module 118 as described above is shown. The processing system 600 includes one or more processor units 602, memory 604, a display 606, and other interfaces 608 (e.g., buttons). The memory 604 typically includes volatile memory (e.g., RAM) and non-volatile memory (e.g., flash memory). An operating system 610 (such as Microsoft An operating system, Apple macOS operating system, or Linux operating system) resides in memory 604 and is executed by processor unit(s) 602, although it will be appreciated that other operating systems may be employed.
[0042] One or more applications 612 are loaded into memory 604 and executed by processor unit(s) 602 on operating system 610. Applications 612 may receive input from various input local devices such as microphone 634, input accessories 635 (e.g., keypad, mouse, stylus, touchpad, joystick, instrument mounted input, etc.). Additionally, applications 612 may receive input from one or more remote devices such as remotely located smart devices by communicating with such devices over a wired or wireless network using further communication transceivers 630 and antennas 638 to provide network connectivity (e.g., mobile phone networks, ). The processing system 600 may also include various other components, such as a positioning system (e.g., a global positioning satellite transceiver), one or more accelerometers, one or more cameras, an audio interface (e.g., a microphone 634, an audio amplifier and speaker, and / or an audio jack), and a storage device 628. Other configurations may also be used.
[0043] The processing system 600 further includes a power supply 616, which is powered by one or more batteries or other power sources and provides power to other components of the processing system 600. The power supply 616 may also be connected to an external power source (not shown) that overwrites or recharges the internal batteries or other power sources.
[0044] In other examples, the read error mitigation module 118 may include an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other combinations of hardware, software, and / or firmware to effectively perform the aforementioned functions associated with the read error mitigation module 118 .
[0045] The processing system 600 may include various tangible processor-readable storage media and intangible processor-readable communication signals. Tangible processor-readable storage may be implemented by any available media accessible by the processing system 600, and includes volatile and non-volatile storage media, removable storage media, and non-removable storage media. Tangible processor-readable storage media do not include intangible communication signals, and include volatile and non-volatile storage media, removable storage media, and non-removable storage media implemented in any method or technology for storing information, such as processor-readable instructions, data structures, program modules, or other data. Tangible processor-readable storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory, or other storage technology; CDROM, digital versatile disk (DVD) or other optical disk storage; cassettes, magnetic tapes, disk storage, or other magnetic storage devices; or any other tangible medium that can be used to store the desired information and can be accessed by the processing system 600. In contrast to tangible processor-readable storage media, intangible processor-readable communication signals may contain processor-readable instructions, data structures, program modules, or other data residing in a modulated data signal (such as a carrier wave or other signal transmission mechanism). The term "modulated data signal" refers to an intangible communication signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example and not limitation, intangible communication signals include signals transmitted over wired media (such as a wired network or direct-wired connection) and wireless media (such as acoustic, RF, infrared, and other wireless media).
[0046] Some implementations may include articles of manufacture. Articles of manufacture may include tangible storage media for storing logic. Examples of storage media may include one or more types of processor-readable media capable of storing electronic data, including volatile or non-volatile memory, removable or non-removable memory, erasable or non-erasable memory, writable or rewritable memory, etc. Examples of logic may include various software elements, such as software components, programs, applications, computer programs, applications, system programs, machine programs, operating system software, middleware, firmware, software modules, routines, subroutines, operating segments, methods, processes, software interfaces, application program interfaces (APIs), instruction sets, computing codes, computer codes, code segments, computer code segments, words, values, symbols, or any combination thereof. For example, in one implementation, articles of manufacture may store executable computer program instructions that, when executed by a computer, cause the computer to perform methods and / or operations according to the described implementation. Examples of executable computer program instructions may include any suitable type of code, such as source code, compiled code, interpreted code, executable code, static code, dynamic code, etc. Executable computer program instructions can be implemented according to a predefined computer language, method or syntax to instruct a computer to perform a certain operation segment. The instructions can be implemented using any suitable high-level, low-level, object-oriented, visual, compiled and / or interpreted programming language.
[0047] A general aspect of the present invention includes a method for detecting read errors in a solid-state memory device to actively detect a failure of the device. The method includes detecting a first uncorrectable read error on a first memory portion of the solid-state memory device in response to a first read operation on the first memory portion. The method also includes identifying the first memory portion as a suspicious portion in response to the first uncorrectable read error. The method includes detecting a second uncorrectable read error on the suspicious portion of the solid-state memory device in response to a second read operation on the suspicious portion; and disabling the suspicious portion in response to the second uncorrectable read error. The method further includes updating a memory disabling parameter for a memory region based on a disabling operation, the memory region including a plurality of the first memory portions and a disabled suspicious portion; and detecting that the memory disabling parameter exceeds a memory disabling threshold. Furthermore, the method includes disabling the memory region in response to detecting that the memory disabling parameter for the memory region exceeds the memory disabling threshold.
[0048] Implementations may include one or more of the following features. In an example, the method further includes detecting a successful read operation on the suspect portion after the first uncorrectable read error and before the second uncorrectable read error; and in response to detecting the successful read operation, removing the suspect portion identifier from the suspect portion.
[0049] In another example, the method includes monitoring the number of disabled first memory portions for each of a plurality of second memory portions of the solid-state memory region. The second memory portion includes a plurality of the first portions of memory and the memory region includes a plurality of the second memory portions. The method also includes disabling the second memory portion when the number of disabled first memory portions for the second memory portion exceeds a disabled first portion threshold. The memory disabling parameter is based on the number of disabled second portions in the memory region. In this aspect, the memory disabling threshold includes a maximum number of disabled second memory portions of the memory region. Alternatively or additionally, the memory disabling threshold includes a maximum read error rate for the first memory portion of the memory region.
[0050] In an example, the first read operation and the second read operation are read requests received at the solid-state memory device from a host device.
[0051] Furthermore, in some examples, an uncorrectable read error occurs when an error correction code applied to data read from the first memory portion is unable to correct the read error on the first memory portion.
[0052] Another aspect of the present disclosure includes a memory device for mitigation of memory read errors, the memory device including one or more memory cells, the one or more memory cells including a memory region having a plurality of first memory portions and a plurality of second memory portions, each second memory portion including a plurality of the first memory portions. The device further includes a read error mitigation module operative to detect a first uncorrectable read error on the first memory portion of the memory region in response to a first read operation on the first memory portion; and in response to the first uncorrectable read error, identify the first memory portion as a suspect portion; in response to a second read operation on the suspect portion, detect a second uncorrectable read error on the suspect portion; and in response to the second uncorrectable read error, disable the suspect portion. In addition, the read error mitigation module operative to update a memory disable parameter for the memory region based on a disable operation; detect that the memory disable parameter exceeds a memory disable threshold; and in response to detecting that the memory disable parameter exceeds the memory disable threshold, disable the memory region.
[0053] Implementations may include one or more of the following features. In an example, the read error mitigation module is further operable to detect a successful read operation on the suspect portion after the first uncorrectable read error and before the second uncorrectable read error; and in response to detecting the successful read operation, remove the suspect portion identifier from the suspect portion.
[0054] In another example, the read error mitigation module is further operable to monitor, for each second memory portion of the memory region, a number of disabled first portions; and disable the second memory portion of the memory region when the number of disabled first memory portions of the second memory portion exceeds a disabled first portion threshold. In this aspect, the memory disablement parameter is based on the number of disabled second memory portions in the memory region.
[0055] In one example, the memory disable threshold comprises a maximum number of disabled second memory portions of the memory region.Alternatively or additionally, the memory disable threshold comprises a maximum read error rate for the first memory portion of the memory region.
[0056] In an example, the first read operation and the second read operation are read requests received at the one or more memory cells from a host device in operative electrical communication with the memory device.
[0057] In a further example, an uncorrectable read error occurs when an error correction code applied to data read from the first memory portion is unable to correct the read error on the first memory portion.
[0058] Another aspect of the present disclosure includes one or more tangible processor-readable storage media containing instructions for executing a process for read error mitigation in a solid-state drive on one or more processors and circuits of a memory device. The process includes detecting a first uncorrectable read error on a first memory portion of the solid-state drive in response to a first read operation on the first memory portion. In addition, the process includes identifying the first memory portion as a suspect portion in response to the first uncorrectable read error; and detecting a second uncorrectable read error on the suspect portion of the solid-state drive in response to a second read operation on the suspect portion. Further, the process includes disabling the suspect portion in response to the second uncorrectable read error; and updating a memory disabling parameter for a memory region based on the disabling operation, the memory region including a plurality of the first memory portions and the disabled suspect portion. The method includes detecting that the memory disabling parameter for the memory region exceeds a memory disabling threshold; and disabling the memory region in response to detecting that the memory disabling parameter for the memory region exceeds the memory disabling threshold.
[0059] Implementations may include one or more of the following features. In one or more examples of tangible processor-readable storage media, the process further includes detecting a successful read operation on the suspect portion after the first uncorrectable read error and before the second uncorrectable read error; and in response to detecting the operation, removing the suspect portion identifier from the suspect portion.
[0060] In another example of one or more tangible processor-readable storage media, the process further includes monitoring a number of disabled first memory portions for each second memory portion of the memory region. The second memory portion includes a plurality of the first memory portions and the memory region includes a plurality of the second memory portions. The method may also include disabling the second memory portion when the number of disabled first memory portions for the second memory portion exceeds a disabled first portion threshold. The memory disabling parameter for the memory region may be based on the number of disabled second memory portions in the memory region.
[0061] In an example, the memory disable threshold may include a maximum number of disabled second memory portions of the memory region. In another example, the memory disable threshold may include a maximum read error rate for the first memory portion of the memory region.
[0062] In an example, the first read operation and the second read operation are read requests from a host device received at the one or more memory cells. Further examples include an uncorrectable read error occurring when an error correction code applied to data read from the first memory portion cannot correct the read error on the first memory portion.
[0063] The implementation described herein is implemented as the logical steps of one or more computer systems. Logical operations are implemented as (1) a sequence of processor-implemented steps executed in one or more computer systems, and (2) as interconnected machine or circuit modules in one or more computer systems. Implementation is a matter of choice, depending on the performance requirements of the computer system used. Therefore, the logical operations that constitute the implementation described herein are variously referred to as operations, steps, objects, or modules. In addition, it should be understood that the logical operations can be performed in any order unless otherwise expressly required by the rights or the claim language inherently requires a specific order.
[0064] Further examples
[0065] Example 1. A method for detecting read errors in a solid-state memory device to proactively detect failure of the device, the method comprising:
[0066] detecting a first uncorrectable read error on a first memory portion of the solid-state memory device in response to a first read operation on the first memory portion;
[0067] responsive to the first uncorrectable read error, identifying the first memory portion as a suspect portion;
[0068] detecting a second uncorrectable read error on the suspect portion of the solid-state memory device in response to a second read operation on the suspect portion;
[0069] disabling the suspect portion in response to the second uncorrectable read error;
[0070] updating a memory deactivation parameter for a memory region based on the deactivation operation, the memory region including a plurality of the first memory portions and a deactivated suspicious portion;
[0071] detecting that the memory disabling parameter exceeds a memory disabling threshold; and
[0072] In response to detecting that the memory disabling parameter for the memory region exceeds the memory disabling threshold, the memory region is disabled.
[0073] Example 2. The method of Example 1 further comprises:
[0074] detecting a successful read operation on the suspect portion after the first uncorrectable read error and before the second uncorrectable read error; and
[0075] In response to the detection operation, the suspicious portion identifier is removed from the suspicious portion.
[0076] Example 3. The method of Example 1 further comprises:
[0077] monitoring a number of deactivated first memory portions for each of a plurality of second memory portions of the solid-state memory device, the second memory portion comprising a plurality of the first portions of memory, and the memory region comprising a plurality of the second memory portions;
[0078] disabling the second memory portion when the number of the disabled first memory portions for the second memory portion exceeds a disabled first portion threshold; and
[0079] Wherein the memory deactivation parameter is based on a quantity of the deactivated second portion of the memory region.
[0080] Example 4. The method of Example 3, wherein the memory deactivation threshold comprises a maximum number of deactivated second memory portions of the memory area.
[0081] Example 5. The method of Example 3, wherein the memory disabling threshold comprises a maximum read error rate for the first memory portion of the memory region.
[0082] Example 6. The method of Example 1, wherein the first read operation and the second read operation are read requests received at the solid-state memory device from a host device.
[0083] Example 7. The method of Example 1, wherein an uncorrectable read error occurs when an error correction code applied to data read from the first memory portion is unable to correct the read error on the first memory portion.
[0084] Example 8. A memory device for mitigation of memory read errors, the memory device comprising:
[0085] one or more memory units, the one or more memory units comprising a memory area having a plurality of first memory portions and a plurality of second memory portions, each second memory portion comprising a plurality of the first memory portions;
[0086] Read error mitigation module, operates to:
[0087] detecting a first uncorrectable read error on the first memory portion of the memory region in response to a first read operation on the first memory portion;
[0088] responsive to the first uncorrectable read error, identifying the first memory portion as a suspect portion;
[0089] detecting a second uncorrectable read error on the suspect portion in response to a second read operation on the suspect portion;
[0090] disabling the suspect portion in response to the second uncorrectable read error;
[0091] Based on the deactivation operation, updating a memory deactivation parameter for the memory region;
[0092] detecting that the memory disabling parameter exceeds a memory disabling threshold; and
[0093] In response to detecting that the memory deactivation parameter exceeds the memory deactivation threshold, the memory region is deactivated.
[0094] Example 9. The memory device of Example 8, wherein the read error mitigation module is further operable to:
[0095] detecting a successful read operation on the suspect portion after the first uncorrectable read error and before the second uncorrectable read error; and
[0096] In response to detecting the successful read operation, a suspect portion identifier is removed from the suspect portion.
[0097] Example 10. The memory device of Example 8, wherein the read error mitigation module is further operable to:
[0098] monitoring, for each second memory portion of the memory area, a number of deactivated first portions;
[0099] disabling a second memory portion of the memory area when the number of disabled first memory portions of the second memory portion exceeds a disabled first portion threshold; and
[0100] Wherein the memory deactivation parameter is based on a number of deactivated second memory portions in the memory region.
[0101] Example 11. The memory device of Example 10, wherein the memory deactivation threshold comprises a maximum number of the deactivated second memory portions of the memory region.
[0102] Example 12. The memory device of Example 10, wherein the memory disabling threshold comprises a maximum read error rate for the first memory portion of the memory region.
[0103] Example 13. The memory device of Example 8, wherein the first read operation and the second read operation are read requests received at the one or more memory cells from a host device that is in operative electrical communication with the memory device.
[0104] Example 14. The memory device of Example 8, wherein an uncorrectable read error occurs when an error correction code applied to data read from the first memory portion is unable to correct the read error on the first memory portion.
[0105] Example 15. One or more tangible processor-readable storage media containing instructions for executing, on one or more processors and circuits of a memory device, a process for read error mitigation in a solid-state drive, the process comprising:
[0106] detecting a first uncorrectable read error on a first memory portion of the solid-state drive in response to a first read operation on the first memory portion;
[0107] responsive to the first uncorrectable read error, identifying the first memory portion as a suspect portion;
[0108] detecting a second uncorrectable read error on the suspect portion of the solid-state drive in response to a second read operation on the suspect portion;
[0109] disabling the suspect portion in response to the second uncorrectable read error;
[0110] updating a memory deactivation parameter for a memory region based on the deactivation operation, the memory region including a plurality of the first memory portions and a deactivated suspicious portion;
[0111] detecting that the memory disabling parameter for the memory region exceeds a memory disabling threshold; and
[0112] In response to detecting that the memory disabling parameter for the memory region exceeds the memory disabling threshold, the memory region is disabled.
[0113] Example 16. The one or more tangible processor-readable storage media of Example 15, wherein the process further comprises:
[0114] detecting a successful read operation on the suspect portion after the first uncorrectable read error and before the second uncorrectable read error; and
[0115] In response to the detection operation, the suspicious portion identifier is removed from the suspicious portion.
[0116] Example 17. The one or more tangible processor-readable storage media of Example 15, wherein the process further comprises:
[0117] monitoring the number of deactivated first memory portions for each second memory portion of the memory region, the second memory portion comprising a plurality of the first memory portions and the memory region comprising a plurality of the second memory portions;
[0118] disabling the second memory portion when the number of the disabled first memory portions for the second memory portion exceeds a disabled first portion threshold; and
[0119] Wherein the memory deactivation parameter for the memory region is based on a number of deactivated second memory portions in the memory region.
[0120] Example 18. One or more tangible processor-readable storage media as described in Example 17, characterized in that the memory deactivation threshold comprises a maximum number of the deactivated second memory portions of the memory region.
[0121] Example 19. One or more tangible processor-readable storage media as described in Example 17, characterized in that the memory deactivation threshold comprises a maximum read error rate of the first memory portion in the memory region.
[0122] Example 20. The one or more tangible processor-readable storage media of Example 15, wherein the first read operation and the second read operation are read requests received from a host device.
[0123] Example 21. One or more tangible processor-readable storage media as described in Example 15, characterized in that an uncorrectable read error occurs when an error correction code applied to data read from the first memory portion cannot correct the read error on the first memory portion.
Claims
1. A method for detecting read errors in a solid-state memory device to proactively detect failure of the device, the method comprising: detecting a first uncorrectable read error on a first memory portion of the solid-state memory device in response to a first read operation on the first memory portion; responsive to the first uncorrectable read error, identifying the first memory portion as a suspect portion; detecting a second uncorrectable read error on the suspect portion of the solid-state memory device in response to a second read operation on the suspect portion; disabling the suspect portion in response to the second uncorrectable read error; updating a memory deactivation parameter for a memory region based on the deactivation operation, the memory region including a plurality of the first memory portions and a deactivated suspicious portion; Detecting that the memory disabling parameter exceeds a memory disabling threshold; responsive to detecting that the memory disabling parameter for the memory region exceeds the memory disabling threshold, disabling the memory region; as well as Wherein, if a successful read operation is detected on the suspicious portion after the first uncorrectable read error and before the second uncorrectable read error, the suspicious portion identifier is removed from the suspicious portion in response to the detection operation.
2. The method of claim 1, further comprising: monitoring a number of deactivated first memory portions for each of a plurality of second memory portions of the solid-state memory device, the second memory portion comprising a plurality of the first memory portions, and the memory region comprising a plurality of the second memory portions; disabling the second memory portion when the number of the disabled first memory portions for the second memory portion exceeds a disabled first portion threshold; as well as Wherein the memory deactivation parameter is based on a quantity of the deactivated second portion of the memory region.
3. The method according to claim 2, characterized in that The memory deactivation threshold comprises a maximum number of deactivated second memory portions of the memory region.
4. The method according to claim 2, characterized in that The memory disable threshold comprises a maximum read error rate for the first memory portion of the memory region.
5. The method according to claim 1, characterized in that The first read operation and the second read operation are read requests received at the solid-state memory device from a host device.
6. The method according to claim 1, characterized in that An uncorrectable read error occurs when an error correction code applied to data read from the first memory portion is unable to correct the read error on the first memory portion.
7. A memory device for mitigation of memory read errors, the memory device comprising: one or more memory units, the one or more memory units comprising a memory area having a plurality of first memory portions and a plurality of second memory portions, each second memory portion comprising a plurality of the first memory portions; Read error mitigation module that operates to: detecting a first uncorrectable read error on the first memory portion of the memory region in response to a first read operation on the first memory portion; responsive to the first uncorrectable read error, identifying the first memory portion as a suspect portion; detecting a second uncorrectable read error on the suspect portion in response to a second read operation on the suspect portion; disabling the suspect portion in response to the second uncorrectable read error; Based on the deactivation operation, updating a memory deactivation parameter for the memory region; Detecting that the memory disabling parameter exceeds a memory disabling threshold; In response to detecting that the memory disabling parameter exceeds the memory disabling threshold, disabling the memory region; as well as Wherein, if a successful read operation on the suspicious portion is detected after the first uncorrectable read error and before the second uncorrectable read error, the suspicious portion identifier is removed from the suspicious portion in response to detecting the successful read operation.
8. The memory device according to claim 7, wherein: The read error mitigation module is further operable to: monitoring, for each second memory portion of the memory area, the number of deactivated first memory portions; disabling the second memory portion of the memory area when the number of disabling first memory portions of the second memory portion exceeds a disabling first portion threshold; as well as Wherein the memory deactivation parameter is based on a number of deactivated second memory portions in the memory region.
9. The memory device of claim 8, wherein: The memory deactivation threshold comprises a maximum number of the deactivated second memory portions of the memory region.
10. The memory device of claim 8, wherein: The memory disable threshold comprises a maximum read error rate for the first memory portion of the memory region.
11. The memory device of claim 7, wherein: The first read operation and the second read operation are read requests received at the one or more memory cells from a host device in operative electrical communication with the memory device.
12. The memory device of claim 7, wherein: An uncorrectable read error occurs when an error correction code applied to data read from the first memory portion is unable to correct the read error on the first memory portion.
13. One or more tangible processor-readable storage media containing instructions for executing, on one or more processors and circuits of a memory device, a process for read error mitigation in a solid-state drive, the process comprising: detecting a first uncorrectable read error on a first memory portion of the solid-state drive in response to a first read operation on the first memory portion; responsive to the first uncorrectable read error, identifying the first memory portion as a suspect portion; detecting a second uncorrectable read error on the suspect portion of the solid-state drive in response to a second read operation on the suspect portion; disabling the suspect portion in response to the second uncorrectable read error; updating a memory deactivation parameter for a memory region based on the deactivation operation, the memory region including a plurality of the first memory portions and a deactivated suspicious portion; detecting that the memory disabling parameter for the memory region exceeds a memory disabling threshold; responsive to detecting that the memory disabling parameter for the memory region exceeds the memory disabling threshold, disabling the memory region; as well as Wherein, if a successful read operation is detected on the suspicious portion after the first uncorrectable read error and before the second uncorrectable read error, the suspicious portion identifier is removed from the suspicious portion in response to the detection operation.
14. The one or more tangible processor-readable storage media of claim 13, the process further comprising: monitoring the number of deactivated first memory portions for each second memory portion of the memory region, the second memory portion comprising a plurality of the first memory portions and the memory region comprising a plurality of the second memory portions; disabling the second memory portion when the number of the disabling first memory portions for the second memory portion exceeds a disabling first portion threshold; as well as Wherein the memory deactivation parameter for the memory region is based on a number of deactivated second memory portions in the memory region.
15. One or more tangible processor-readable storage media as recited in claim 14, wherein: The memory deactivation threshold comprises a maximum number of the deactivated second memory portions of the memory region.
16. One or more tangible processor-readable storage media as recited in claim 14, wherein: The memory disable threshold comprises a maximum read error rate of the first memory portion in the memory region.
17. The one or more tangible processor-readable storage media of claim 13, wherein: The first read operation and the second read operation are read requests received from a host device.
18. The one or more tangible processor-readable storage media of claim 13, wherein: An uncorrectable read error occurs when an error correction code applied to data read from the first memory portion is unable to correct the read error on the first memory portion.
Citation Information
Patent Citations
Monitoring a memory for retirement
US10453547B2
Emerging bad block detection
CN101681281A
