A redundant metadata scheme for RAIN protection of large codewords
The redundant metadata scheme in memory subsystems addresses the issue of restoring large codewords across multiple planes by reserving memory for redundant metadata, ensuring efficient data recovery and reduced latency through XOR operations.
Patent Information
- Application Number
- JP2024516780
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-09-17
- Filing Date
- 2022-09-19
- Publication Date
- 2024-09-20
AI Technical Summary
Existing memory subsystems lack an effective scheme for restoring additional parity data when large codewords are split across multiple planes and one or more of these planes become damaged, leading to data loss or corruption.
A redundant metadata scheme is implemented where specific portions of memory are reserved for storing different types of redundant metadata, including additional parity data and LUN redundancy metadata, which are generated using XOR operations across multiple memory devices, allowing for the restoration of large codewords even in the event of memory access failures.
This approach ensures strong ECC protection for host data while maximizing memory space, enabling efficient data recovery and reducing system latency by using second-tier ECC parity to encode and decode redundant metadata.
Smart Images

Figure 2024534418000001
Abstract
Description
[Technical field]
[0001] FIELD OF THE DISCLOSURE Embodiments of the present disclosure relate generally to memory subsystems, and more particularly to a redundant metadata scheme for RAIN protection of large codewords. [Background technology]
[0002] The memory subsystem may include one or more memory devices that store data. The memory devices may be, for example, non-volatile and volatile memory devices. In general, a host system may utilize the memory subsystem to store data in and retrieve data from the memory devices.
[0003] The present disclosure will be more fully understood from the detailed description provided below and from the accompanying drawings of various embodiments of the present disclosure, which should not, however, be construed as limiting the present disclosure to the particular embodiments, but are merely for illustration and understanding. [Brief description of the drawings]
[0004] [Figure 1] FIG. 1 illustrates an exemplary computing system including a memory subsystem in accordance with some embodiments of the present disclosure. [Diagram 2] FIG. 1 is a flow diagram for generating redundant metadata for a set of multi-plane LUNs in accordance with some embodiments of the present disclosure. [Diagram 3] 1 illustrates an example configuration for storing redundant metadata in a set of LUNs, according to some embodiments of the present disclosure. [Figure 4] FIG. 2 is another diagram of an example configuration for storing redundant metadata in a set of LUNs, according to some embodiments of the present disclosure. [Diagram 5] FIG. 2 is a flow diagram for restoring data using redundant metadata in accordance with some embodiments of the present disclosure. [Figure 6]FIG. 1 is a block diagram of an exemplary computer system in which embodiments of the present disclosure may operate. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0005] Aspects of the present disclosure are directed to a redundant metadata scheme for RAIN protection of large codewords. The memory subsystem may be a storage device, a memory module, or a combination of a storage device and a memory module. Examples of storage devices and memory modules are described below in conjunction with FIG. 1. In general, a host system may utilize a memory subsystem that includes one or more memory components, such as a memory device that stores data. The host system may provide data to be stored in the memory subsystem and may request data to be retrieved from the memory subsystem.
[0006] The memory subsystem may utilize one or more memory devices, including any combination of different types of non-volatile and / or volatile memory devices, to store data provided by the host system. In some embodiments, the non-volatile memory devices may be provided by negative-and-conjunction (NAND) type flash memory devices. Other examples of non-volatile memory devices are described below in conjunction with FIG. 1. A non-volatile memory device is a package of one or more dies. Each die may include one or more planes. A plane is a portion of a memory device that includes multiple memory cells. Some memory devices may include more than one plane. For some types of non-volatile memory devices (e.g., NAND devices), each plane includes a set of physical blocks. Each block includes a set of pages. A "block" is intended herein to refer to a set of contiguous or non-contiguous memory pages. An example of a "block" is an "erasable block," which is the smallest erasable unit of memory, and a "page" is the smallest writable unit of memory. Each page includes a set of memory cells. A memory cell is an electronic circuit that stores information.
[0007] As described above, a die may include one or more planes. A memory subsystem may use a striping scheme to process various sets of data as a unit when performing data operations (e.g., write, read, erase, etc.). A die stripe refers to a collection of planes that are treated as a unit when writing, reading, or erasing data. A controller of a memory device (i.e., a memory subsystem controller, a memory device controller, etc.) may perform the same operation in parallel on each plane of a die stripe. A block stripe is a collection of at least one block from each plane of a die stripe that is treated as a unit. Blocks in a block stripe may be associated with the same block identifier (e.g., block number) in each respective plane. A page stripe is a set of pages that have the same page identifier (e.g., same page number) across a block stripe and are treated as a unit.
[0008] A host system may initiate memory access operations (e.g., programming or write operations, read operations, erase operations, etc.) on the memory subsystem. For example, the host system may send a request to the memory subsystem controller to program data into a memory device of the memory subsystem and / or to read data from a memory device of the memory subsystem. Such data is referred to herein as "host data." The memory subsystem controller may perform one or more operations to access the host data according to the request. The host data may be encoded using an error correction code (ECC) to correct data errors that may occur during transmission or storage. In particular, the host data may be encoded using redundant metadata (e.g., parity data, such as one or more parity bits) to form a codeword. The parity data allows the memory subsystem controller to detect some errors that may occur anywhere in the host data and often correct these errors without retransmission.
[0009] Rate-adaptive ECC is an error-correcting code that can protect host data with multiple layers of parity data. Each layer is encodable and decodable, and each layer functions as an ECC with a different code rate. The first layer ECC parity is a subset of the second layer ECC parity, and the first layer parity and the second layer parity are subsets of the third layer parity, and so on. For example, the first layer ECC parity may be referred to as a standard codeword that includes the host data and the first parity (hereinafter "base parity"), the second layer ECC parity may be referred to as a larger codeword that includes the standard codeword and the second parity (hereinafter "additional parity"), and so on. As the number of layers increases, the parity size increases, the code rate decreases, and the ECC protection becomes stronger. The first layer parity can be used to correct errors due to relatively small granularity of failures, and the second layer parity can be used to correct larger granularity of failures, and so on. In some cases of data corruption, only additional parity for higher-level ECC needs to be transmitted to recover the data, thereby saving channel bandwidth.
[0010] In some systems, the large codewords (second tier ECC parity) can be split across multiple pages. In particular, a standard codeword can be programmed into 1 / 4 of a page, so that four standard codewords fit into a single memory page. For example, for 4KB codewords and 16KB pages, the memory subsystem controller can store four codewords per memory page. Additional parity for each large codeword can be stored in a different page or plane. The additional parity can be read when standard ECC fails to decode or at the same time as the standard codeword is read, depending on the workload, system performance, and / or power requirements.
[0011] When data in memory cells of a memory device are repeatedly accessed, the memory cells may degrade and eventually become defective. For example, when a host system initiates too many memory access operations for host data stored in a memory device, the memory cells storing the host data may become corrupted, as well as adjacent memory cells in the memory device. In some instances, memory access operations (e.g., read operations, etc.) performed by a memory subsystem controller to access data in one or more memory pages of a plane of a memory device may fail. Such failures are referred to herein as memory access failures.
[0012] The memory subsystem may support redundancy mechanisms to protect host data against memory access failures. For example, in the case of a NAND type flash device, the memory subsystem may perform a Redundant Array of Independent NAND (RAIN) operation to provide redundancy for data stored on the memory subsystem. When host data (or one or more codewords) to be programmed into a memory device of the memory subsystem is received from a host system, the memory subsystem controller may generate redundancy metadata based on one or more exclusive-or (XOR) operations with the received host data, and may use the redundancy metadata to reconstruct or recalculate the host data in the event of a failure of a portion of the memory device storing the host data. As an example, the memory subsystem controller may generate one or more RAIN standard codewords (redundancy metadata) based on an XOR operation applied to host data stored in a certain number of data locations of one or more logical units (LUNs) (e.g., pages, blocks) of the memory subsystem. When a portion of the memory device storing the host data fails and the corresponding data is lost or corrupted, the memory subsystem controller may reconstruct the lost / corrupted data based on an XOR operation between the remaining host data and the redundant metadata.
[0013] For standard codewords, existing RAIN schemes allow the memory subsystem to protect host data against memory access failures. However, large codewords may be split among multiple planes. Currently, there is no scheme that allows for the restoration of additional parity when the page or plane that stores it is damaged.
[0014] Aspects of the present disclosure address the above and other deficiencies by providing a redundant metadata scheme for RAIN protection of large codewords. In particular, a portion of memory in the memory subsystem may be reserved to store different types of redundant metadata generated for host data stored in other portions of memory in the memory subsystem. The reserved portions of memory may correspond to one or more designated memory devices configured to store redundant metadata generated for host data stored in other memory devices of the memory subsystem. For example, the memory subsystem may include multiple stripes across multiple memory devices of the memory subsystem designated to store host data. One or more of the memory devices of the memory subsystem may be designated to store different types of redundant metadata associated with host data residing in a LUN associated with each stripe across the multiple memory devices. The redundant metadata may include additional parity data, RAIN redundant metadata, and LUN redundant metadata. The LUN redundant metadata may be used to recover the additional parity data for each large codeword stored on the memory device. The memory subsystem controller may generate the LUN redundant metadata based on one or more XOR operations with the additional parity data. For example, the memory subsystem controller may generate the LUN parity codeword by applying one or more XOR operations to each of the additional parity bits stored on each LUN.
[0015] In some cases, separate portions (e.g., planes) of the memory devices may be designated for storing particular types of redundant metadata. As host data is programmed into the LUNs, the memory subsystem controller may generate additional parity data for each stripe and store the generated additional parity data in designated portions of one or more memory devices. Additionally, the memory subsystem controller may generate RAIN redundant metadata and LUN redundant metadata and store the redundant metadata in other designated portions of one or more memory devices. In one embodiment, the additional parity data and the LUN redundant metadata may be stored in different designated portions. By storing different types of redundant metadata associated with each stripe of the memory subsystem in separate portions of one or more designated memory devices, the memory subsystem controller may restore host data residing in respective LUNs associated with multiple stripes of the memory subsystem after a memory access failure in one or more memory devices of the multiple memory devices. For example, the memory subsystem controller may detect that a failure occurred during a memory access operation (e.g., during a read operation) performed in a portion of the memory subsystem (e.g., in a memory page). In response to detecting a memory access operation failure, the memory subsystem controller can determine whether the memory page includes: 1) only host data, 2) host data and additional parity data, 3) host data, additional parity data and RAIN redundancy metadata (e.g., RAIN parity codewords), or 4) RAIN redundancy metadata and LUN redundancy metadata (e.g., parity codewords). The host data can be encoded with the base parity data.In response to determining that the memory page includes only host data, the memory subsystem controller may restore the host data on the memory page using a series of XOR operations on the RAIN parity metadata and the remaining host data programmed into other portions of the memory device. In response to determining that the memory page includes host data and additional parity data, the memory subsystem controller may restore the host data on the memory page using a series of XOR operations on the RAIN parity metadata and the remaining host data, and restore the additional parity data using the LUN parity data and the remaining additional parity data programmed into other portions of the memory device. Alternatively, in some embodiments, in response to the memory subsystem controller failing to restore the host data using the base parity data, the memory subsystem controller may use the additional parity data to restore the host data using the additional parity data and a series of XOR operations. In response to determining that the memory page includes host data, additional parity data, and RAIN parity metadata, the memory subsystem controller may restore the host data and the additional parity metadata using the methods described above, and regenerate the RAIN parity metadata using the host data. In response to determining that the memory page includes RAIN parity data and LUN parity data, the memory subsystem controller can regenerate the RAIN parity metadata and the LUN parity data using the host data and the additional parity data. By storing the RAIN parity data, the LUN parity data, and the additional parity data in specific locations on different memory devices, the memory subsystem controller can perform a data recovery process for data items associated with any failed portions of the memory devices. A data item refers to the smallest unit of data written to and / or read from a LUN of the memory subsystem.For example, the data item may correspond to a data block or a key-value pair. In response to restoring the data item, the data item may be programmed into the same or a different memory page. In some embodiments, second tier ECC parity may be used to encode the LUN parity data and / or the RAIN parity data.
[0016] In one embodiment including four LUNs, each LUN spanning six planes (e.g., 24 memory pages), the LUN parity data and the RAIN parity data may be stored on five memory pages. Advantages of the present disclosure therefore include, but are not limited to, providing a host data recovery scheme that allows recovery of host data encoded using second tier ECC parity metadata while maximizing the amount of memory space available for storing host data. By encoding the host data using second tier ECC parity, the memory subsystem controller may detect and correct errors in the host data. Furthermore, the RAIN redundancy metadata and the LUN redundancy metadata may recover data items in the LUNs of one or more memory devices of the memory subsystem after a memory access failure. Thus, large codewords may be protected in the event of a memory device failure while a significant amount of the memory subsystem's space is made available for storing host data. As a result, strong ECC protection for the host data is provided while a significant amount of system resources are made available for other processes, thereby improving overall system efficiency and reducing overall system latency.
[0017] 1 illustrates an example computing system 100 including a memory subsystem 110 in accordance with some embodiments of the present disclosure. Memory subsystem 110 may include media such as one or more volatile memory devices (e.g., memory device 140), one or more non-volatile memory devices (e.g., memory device 130), or a combination of the like.
[0018] The memory subsystem 110 may be a storage device, a memory module, or a combination of storage devices and memory modules. Examples of storage devices include solid-state drives (SSDs), flash drives, universal serial bus (USB) flash drives, embedded multimedia controller (eMMC) drives, universal flash storage (UFS) drives, secure digital (SD) cards, and hard disk drives (HDDs). Examples of memory modules include dual in-line memory modules (DIMMs), small outline DIMMs (SO-DIMMs), and various types of non-volatile dual in-line memory modules (NVDIMMs).
[0019] Computing system 100 may be a computing device, such as a desktop computer, a laptop computer, a network server, a mobile device, a vehicle (e.g., an aircraft, drone, train, automobile, or other transportation), an Internet of Things (IoT) enabled device, an embedded computer (e.g., one contained in a vehicle, industrial equipment, or networked commercial device), or any such computing device that includes memory and processing devices.
[0020] Computing system 100 may include a host system 120 coupled to one or more memory subsystems 110. In some embodiments, host system 120 is coupled to multiple memory subsystems 110 of different types. Figure 1 illustrates an example of a host system 120 coupled to one memory subsystem 110. As used herein, "coupled to" or "coupled with" generally refers to a connection between components, which may be an indirect communication connection or a direct communication connection (e.g., without an intervening component), including electrical, optical, magnetic, etc. connections, whether wired or wireless.
[0021] The host system 120 may include a processor chipset and a software stack executed by the processor chipset. The processor chipset may include one or more cores, one or more caches, a memory controller (e.g., an NVDIMM controller), and a storage protocol controller (e.g., a PCIe controller, a SATA controller). The host system 120 uses the memory subsystem 110, for example, to write data to and read data from the memory subsystem 110.
[0022] The host system 120 may be coupled to the memory subsystem 110 via a physical host interface. Examples of the physical host interface include, but are not limited to, a Serial Advanced Technology Attachment (SATA) interface, a Peripheral Component Interconnect Express (PCIe) interface, a Universal Serial Bus (USB) interface, a Fibre Channel, a Serial Attached SCSI (SAS), a Double Data Rate (DDR) memory bus, a Small Computer System Interface (SCSI), a Dual In-line Memory Module (DIMM) interface (e.g., a DIMM socket interface supporting Double Data Rate (DDR)), and the like. The physical host interface may be used to transmit data between the host system 120 and the memory subsystem 110. The host system 120 may further utilize an NVM Express (NVMe) interface to access components (e.g., memory device 130) when the memory subsystem 110 is coupled to the host system 120 by a physical host interface (e.g., a PCIe bus). The physical host interface may provide an interface for passing control signals, address signals, data signals, and other signals between the memory subsystem 110 and the host system 120. 1 illustrates, by way of example, memory subsystem 110. In general, host system 120 may access multiple memory subsystems via the same communication connection, multiple separate communication connections, and / or a combination of communication connections.
[0023] Memory devices 130, 140 may include any combination of different types of non-volatile and / or volatile memory devices. A volatile memory device (e.g., memory device 140) may be a random access memory (RAM), such as, but not limited to, dynamic random access memory (DRAM) and synchronous dynamic random access memory (SDRAM).
[0024] Some examples of non-volatile memory devices (e.g., memory device 130) include write-in-place memories such as negative-and-conjunction (NAND) type flash memories and three-dimensional cross-point ("3D cross-point") memory devices that are cross-point arrays of non-volatile memory cells. The cross-point arrays of non-volatile memory cells, in conjunction with stackable cross-grid data access arrays, can perform bit storage based on changes in bulk resistance. In addition, in contrast to many flash-based memories, cross-point non-volatile memories can perform write-in-place operations, where the non-volatile memory cells can be programmed without the non-volatile memory cells being first erased. NAND type flash memories include, for example, two-dimensional NAND (2D NAND) and three-dimensional NAND (3D NAND).
[0025] Each of the memory devices 130 may include one or more arrays of memory cells. One type of memory cell, for example, single level cell (SLC), may store one bit per cell. Other types of memory cells, such as multi-level cell (MLC), three-level cell (TLC), four-level cell (QLC), and five-level cell (PLC), may store multiple bits per cell. In some embodiments, each of the memory devices 130 may include one or more arrays of memory cells, such as SLC, MLC, TLC, QLC, PLC, or any combination of the like. In some embodiments, a particular memory device may include an SLC portion of memory cells, and an MLC portion, a TLC portion, a QLC portion, or a PLC portion. The memory cells of the memory devices 130 may be grouped as pages, which may refer to logical units of the memory device used to store data. In some types of memory (e.g., NAND), pages may be grouped to form blocks.
[0026] Although non-volatile memory components such as a 3D cross-point array of non-volatile memory cells and a NAND type flash memory (e.g., 2D NAND, 3D NAND) are described, the memory device 130 may be based on any other type of non-volatile memory, such as a read-only memory (ROM), a phase-change memory (PCM), a self-sorting memory, other chalcogenide-based memory, a ferroelectric transistor random access memory (FeTRAM), a ferroelectric random access memory (FeRAM), a magnetic random access memory (MRAM), a spin-transfer torque (STT)-MRAM, a conductive bridge RAM (CBRAM), a resistive random access memory (RRAM), an oxide-based RRAM (OxRAM), a negative-or (NOR) flash memory, or an electrically erasable programmable read-only memory (EEPROM).
[0027] The memory subsystem controller 115 (or controller 115 for brevity) can communicate with the memory device 130 to perform operations such as reading data, writing data, or erasing data in the memory device 130, and other such operations. The memory subsystem controller 115 can include hardware such as one or more integrated circuits and / or discrete components, buffer memories, or a combination thereof. The hardware can include digital circuits having dedicated (i.e., hard-coded) logic to perform the operations described herein. The memory subsystem controller 115 can be a microcontroller, a dedicated logic circuit (e.g., a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), etc.), or other suitable processor.
[0028] Memory subsystem controller 115 may include a processing device including one or more processors (e.g., processor 117) configured to execute instructions stored in local memory 119. In the illustrated example, local memory 119 of memory subsystem controller 115 includes embedded memory configured to store instructions for implementing various processes, operations, logic flows, and routines that control the operation of memory subsystem 110, including handling communications between memory subsystem 110 and host system 120.
[0029] In some embodiments, local memory 119 may include memory registers that store memory pointers, retrieved data, etc. Local memory 119 may also include read-only memory (ROM) for storing microcode. Although the example memory subsystem 110 of FIG. 1 is shown including a memory subsystem controller 115, in another embodiment of the present disclosure, memory subsystem 110 may not include a memory subsystem controller 115, but instead rely on external control (e.g., provided by an external host or by a processor or controller separate from the memory subsystem).
[0030] In general, the memory subsystem controller 115 can receive commands or operations from the host system 120 and can translate the commands or operations into instructions or appropriate commands to achieve the desired access to the memory device 130. The memory subsystem controller 115 can be responsible for other operations such as wear leveling operations, garbage collection operations, error detection and error correction code (ECC) operations, encryption operations, caching operations, and address translation between logical addresses (e.g., logical block addresses (LBA), namespace) and physical addresses (e.g., physical block addresses) associated with the memory device 130. The memory subsystem controller 115 can further include a host interface circuit and communicate with the host system 120 through this physical host interface. The host interface circuit can translate commands received from the host system into command instructions for accessing the memory device 130, as well as translate responses associated with the memory device 130 into information for the host system 120.
[0031] Memory subsystem 110 may also include additional circuits or components not shown. In some embodiments, memory subsystem 110 may include a cache or buffer (e.g., DRAM) and address circuitry (e.g., row and column decoders) that can receive addresses from memory subsystem controller 115 and decode the addresses to access memory device 130.
[0032] In some embodiments, memory device 130 includes a local media controller 135 that operates in conjunction with memory subsystem controller 115 to perform operations on one or more memory cells of memory device 130. An external controller (e.g., memory subsystem controller 115) can externally manage memory device 130 (e.g., perform media management operations on memory device 130). In some embodiments, memory subsystem 110 is a managed memory device, which is a raw memory device with on-die control logic (e.g., local controller 132) and a controller for media management (e.g., memory subsystem controller 115) within the same memory device package. An example of a managed memory device is a managed NAND (MNAND) device.
[0033] The memory subsystem 110 includes a redundant metadata manager component 113 that can manage redundant data generated for host data stored in one or more portions of the memory devices 130, 140. In some embodiments, the memory subsystem controller 115 includes at least a portion of the redundant metadata manager component 113. For example, the memory subsystem controller 115 may include a processor 117 (a processing device) configured to execute instructions stored in a local memory 119 to perform the operations described herein. In some embodiments, the redundant metadata manager component 113 is part of the host system 120, an application, or an operating system.
[0034] The redundancy metadata manager component 113 may be configured to generate redundancy metadata for user data and / or for groups of memory pages in two or more logical memory units (LUNs). A LUN may be a group of memory pages across multiple planes, blocks, and / or dies. A LUN may represent an individual segment of a memory device that may be written to or erased in a single operation. Redundancy metadata refers to metadata (e.g., parity data) generated for a data item that may be used by the memory subsystem controller 115 to restore a data item programmed into a portion of the memory device 130, 140 after a memory access operation (e.g., a write operation, a read operation, etc.) in that portion fails. In some embodiments, the redundant metadata manager component 113 (also referred to herein as component 113) can calculate or reconstruct the failed data item by performing data recovery operations (e.g., one or more exclusive-or (XOR) operations) based on the redundant metadata for the failed data item and one or more other data items stored in the memory devices 130, 140 (or another memory device 130, 140 of the memory subsystem 110).
[0035] Component 113 may generate different types of redundancy metadata based on a predetermined location of the stored data (e.g., striping host data across multiple planes of a LUN, location of the data within each plane and / or each memory page in the LUN (first 1 / 4 page of a memory page, second 1 / 4 page of a memory page, etc.)) or the type of data stored (e.g., standard codewords, additional parity data, etc.). In some embodiments, the redundancy metadata may include first tier ECC parity data (e.g., base parity data), second tier ECC parity data (e.g., additional parity data), RAIN parity metadata, and LUN redundancy metadata. The RAIN parity metadata may be used to recover host data (e.g., standard codewords). The LUN redundancy metadata may be used to recover additional parity data for the stored host data.
[0036] FIG. 2 is a flow diagram of an example method 200 for generating redundant metadata for a set of multi-plane LUNs, according to some embodiments of the present disclosure. Method 200 may be performed by processing logic, which may include hardware (e.g., a processing device, circuitry, dedicated logic, programmable logic, microcode, device hardware, integrated circuits, etc.), software (e.g., instructions run or executed on a processing device), or a combination thereof. In some embodiments, method 200 is performed by redundant metadata manager component 113 of FIG. 1. In other or similar embodiments, one or more operations of method 200 are performed by another component of memory subsystem controller 115 or by a component of local media controller 135. Although shown in a particular sequence or order, unless otherwise noted, the order of processes may be modified. Thus, the illustrated embodiments should be understood as merely examples, and the illustrated processes may be performed in a different order and some processes may be performed in parallel. Additionally, one or more processes may be omitted in various embodiments. Thus, not all processes are required in all embodiments. Other process flows are possible.
[0037] At block 210, processing logic receives write data for programming onto one or more memory devices. In some embodiments, the write data may be received from host system 120. In some embodiments, the write data may include a set of large codewords. Each large codeword may be composed of a standard codeword that includes host data and base parity (first tier ECC parity), and additional parity (second tier ECC parity).
[0038] In other embodiments, the write data includes unencoded host data. In response to receiving the unencoded host data, the processing logic may generate a large codeword using the host data and the parity data. In particular, the processing logic generates a standard codeword by first generating base parity data based on one or more XOR operations with the received host data. As an illustrative example, each standard codeword may be 4KB in size and programmable to a quarter of the size of a page. However, it should be noted that embodiments of the present disclosure may be used with pages of any size. The processing logic then generates the large codeword by generating additional parity data based on one or more XOR operations with the standard codeword. The base parity data may be used to reconstruct or recalculate the corresponding host data in the event that the host data is corrupted. The additional parity data may be used in combination with the base parity data to reconstruct or recalculate the corresponding standard codeword in the event of a failure to read a standard codeword with stronger correction capabilities.
[0039] In some embodiments, the additional parity data may be encoded using second hierarchical ECC parity. For example, each standard codeword generated based on the additional parity data may be encoded to generate a large codeword. The additional parity data for each large codeword may be programmed in a designated section described in more detail with respect to FIG. 3. In some embodiments, only certain additional parity data may be encoded using second hierarchical ECC parity. For example, additional parity data corresponding to a standard codeword of a host database stored on a different plane than the plane storing the additional parity data may be encoded using second hierarchical ECC parity, while additional parity data corresponding to a standard codeword of a host database stored on the same plane as the additional parity data is correlated to a second hierarchical ECC codeword in the same plane. In the event of a failure of a plane storing a standard codeword, where a different plane stores the corresponding additional parity data, the additional parity data may improve (e.g., speed up) the recovery of the failed standard codeword. However, in the event of a failure of the plane that stores the standard codewords as well as the corresponding additional parity data, the second tier ECC parity of the additional parity is not required since other recovery methods are used to recover the standard codewords and their corresponding additional parity data.
[0040] At block 212, the processing logic programs the large codeword into one or more LUNs of one or more memory devices. In particular, each LUN may correspond to a stripe of memory pages across multiple planes, blocks, and / or dies in memory devices 130, 140 of memory subsystem 110. As an illustrative example, multiple LUNs of memory pages across multiple planes are described below. In each LUN, several sections of the memory pages may be designated for storing specific types of data (e.g., user data, encoded data, different types of redundant data (additional parity data, RAIN parity metadata, LUN parity metadata, etc.)). For each large codeword, a corresponding standard codeword may be programmed into available pages of a LUN designated for the standard codeword, and additional parity for each strong codeword may be programmed into a designated section (e.g., a designated quarter page) of the corresponding LUN. The designated sections are described in more detail with respect to FIG. 3.
[0041] At block 214, the processing logic generates and programs LUN redundancy metadata into one or more memory devices. The LUN redundancy metadata can be used to recover additional parity data (e.g., additional parity) of one or more large codewords. In some embodiments, the processing logic can generate the LUN redundancy metadata based on one or more XOR operations with the additional parity data. For example, the processing logic can apply one or more XOR operations to each of the additional parity bits stored on each LUN. The LUN redundancy metadata can be programmed into a designated section of a designated LUN, which will be described in more detail with respect to FIG. 3. If a portion of the memory device that stores the additional parity data fails and the corresponding data is lost or corrupted, the processing logic can reconstruct the lost / corrupted data based on one or more XOR operations between the remaining additional parity data and the LUN redundancy metadata.
[0042] At block 216, processing logic generates and programs RAIN redundancy metadata into one or more memory devices. In particular, processing logic may generate a first set of RAIN redundancy metadata (e.g., a first RAIN codeword) by performing a redundancy metadata generation operation (e.g., an exclusive-or (XOR) operation) based on data items (e.g., standard codewords) stored in a particular section of each memory page. For example, processing logic may generate a first RAIN codeword by performing an XOR operation based on standard codewords stored in a first quarter page of each memory page. Processing logic may then generate a second RAIN codeword by performing an XOR operation based on standard codewords stored in a second quarter page of each memory page. Processing logic may then generate a third RAIN codeword by performing an XOR operation based on standard codewords stored in a third quarter page of each memory page. The processing logic may then generate a fourth RAIN codeword by performing an XOR operation based on the standard codewords stored in the fourth quarter of each memory page. Each RAIN codeword may be programmed into a designated section of a designated LUN, which will be described in more detail with respect to FIG.
[0043] In some embodiments, each RAIN codeword may be further encoded using second tier ECC parity. For example, the processing logic may perform one or more XOR operations on additional parity data of the host data that constitutes a RAIN stripe to generate additional parity metadata (hereinafter "additional RAIN parity") for each RAIN codeword. The additional RAIN parity data may be programmed into a designated section of a designated LUN, which will be described in more detail with respect to FIG. 3.
[0044] 3 is a diagram of an example configuration for storing redundant metadata in a set of LUNs, according to some embodiments of the present disclosure. As shown, LUNs 312A-D span planes 314A-F, which may correspond to one or more memory devices 130, 140 described with respect to FIG. 1. It should be noted that while FIG. 3 illustrates six planes (which may be connected to a memory subsystem controller 115 (not shown)), embodiments of the present disclosure may be directed to any number of planes, blocks and / or dies connected to any number of memory subsystem controllers (e.g., one memory subsystem controller 115, two memory subsystem controllers 115, etc.).
[0045] As shown in FIG. 3, each LUN 312A-D includes a stripe of six memory pages (each memory page divided into four quarter pages) across six planes (e.g., planes 314A-F). Each standard codeword may be stored in a quarter page. As shown, for LUNs 312A-C, the first 25 of the 26 quarter pages are configured to store standard codewords. For LUN 312D, the first 20 of the 26 quarter pages are configured to store standard codewords. The last quarter page of each of LUNs 312A-C is configured to store additional parity data for the standard codewords stored in each respective LUN. For example, quarter page 322 may be configured to store additional parity metadata for the 23 standard codewords stored on LUN 312A, quarter page 324 may be configured to store additional parity data for the 23 standard codewords stored on LUN 312B, and quarter page 326 may be configured to store additional parity data for the 23 standard codewords stored on LUN 312C. With respect to LUN 312D, a third quarter page (e.g., quarter page 328) of plane 314E of LUN 312D may be configured to store additional parity data for the 18 standard codewords stored on LUN 312D.
[0046] Each of the RAIN parity codewords 332, 334, 336, 338 may be stored on the LUN 312D. In particular, the first quarter page of plane 314F of LUN 312D may be configured to store RAIN parity codewords 332 generated for standard codewords stored in the first quarter page of each memory page, the second quarter page of plane 314F of LUN 312D may be configured to store RAIN parity codewords 334 generated for standard codewords stored in the second quarter page of each memory page, the third quarter page of plane 314F of LUN 312D may be configured to store RAIN parity codewords 336 generated for standard codewords stored in the third quarter page of each memory page, and the fourth quarter page of plane 314E of LUN 312D may be configured to store RAIN parity codewords 338 generated for standard codewords stored in the fourth quarter page of each memory page.
[0047] LUN redundancy metadata 342 may be stored on plane 314F of LUN 312D. In particular, a portion of the last quarter page of LUN 312D may store LUN redundancy metadata 342. Additionally, another portion of the last quarter page on plane 314F of LUN 312D may be configured to store second tier ECC parity data 344 generated for each RAIN codeword (e.g., additional RAIN parity). As described in more detail below with respect to FIG. 5, by programming different types of redundancy metadata (e.g., LUN parity data on separate memory pages from the additional parity metadata), the memory subsystem controller may recover host data residing in each LUN associated with multiple stripes of the memory subsystem after a memory access failure in one or more memory devices of the multiple memory devices.
[0048] FIG. 4 illustrates another diagram of an example configuration for storing redundant metadata in a set of LUNs, according to some embodiments of the present disclosure. As shown, LUNs 412A-D, which may correspond to one or more memory devices 130, 140 described with respect to FIG. 1, span planes 414A-F. Note that while FIG. 4 illustrates six planes (which may be connected to memory subsystem controller 115 (not shown)), embodiments of the present disclosure may be directed to any number of planes, blocks and / or dies connected to any number of memory subsystem controllers (e.g., one memory subsystem controller 115, two memory subsystem controllers 115, etc.). As shown, redundant metadata is stored in the first two planes (e.g., planes 414A-B) of LUN 412D, rather than the last two planes as shown in FIG. 3. In particular, quarter page 422 can be configured to store additional parity metadata for the 23 standard codewords stored on LUN 412A, quarter page 424 can be configured to store additional parity data for the 23 standard codewords stored on LUN 412B, and quarter page 426 can be configured to store additional parity data for the 23 standard codewords stored on LUN 412C. With respect to LUN 412D, a second quarter page (e.g., quarter page 428) of plane 414B of LUN 412D can be configured to store additional parity data for the 18 standard codewords stored on LUN 412D. Each of RAIN parity codewords 432, 434, 436, 438 can be stored on the first two planes (e.g., planes 414A-B) of LUN 412D. LUN redundant metadata 442 and second tier ECC parity data 444 for each RAIN codeword may be stored on plane 414A of LUN 412D. Figure 4 demonstrates that different configurations may be used to store redundant metadata, and that in the event of a memory page, plane, or block failure, any data item may be restored using the remaining data items.In particular, by storing the RAIN parity data, the LUN parity data, and the additional parity data in specific locations on different memory devices, the memory subsystem controller can perform a data recovery process for data items associated with a failed portion of a memory device.
[0049] FIG. 5 is a flow diagram of an exemplary method 500 for restoring data using redundant metadata, according to some embodiments of the present disclosure. Method 500 may be performed by processing logic, which may include hardware (e.g., a processing device, circuitry, dedicated logic, programmable logic, microcode, device hardware, integrated circuits, etc.), software (e.g., instructions run or executed on a processing device), or a combination thereof. In some embodiments, method 500 is performed by redundant metadata manager component 113 of FIG. 1. In other or similar embodiments, one or more operations of method 200 are performed by another component of memory subsystem controller 115 or by a component of local media controller 135. Although shown in a particular sequence or order, unless otherwise noted, the order of processes may be modified. Thus, the illustrated embodiments should be understood as merely examples, and the illustrated processes may be performed in a different order and some processes may be performed in parallel. Additionally, one or more processes may be omitted in various embodiments. Thus, not all processes are required in all embodiments. Other process flows are possible.
[0050] At operation 510, in response to processing the read request, processing logic may determine that a memory access failure has occurred, e.g., the processing logic is unable to retrieve the requested data due to a defect, error, data corruption, etc.
[0051] At operation 512, processing logic determines whether a memory access failure occurred on a section (e.g., a memory page) of the memory device that stores only host data (e.g., planes 314A-314E of LUNs 312A-C, or planes 314A-D of LUN 312D). For example, processing logic may determine whether a physical address associated with the read request correlates to a memory page of a memory device configured to store only host data. In response to determining that the read request is associated with a memory page of a memory device that stores only host data, processing logic proceeds to operation 514. In response to determining that the read request is not associated with a memory page of a memory device that stores only host data, processing logic proceeds to operation 516.
[0052] In operation 514, the processing logic restores the host data-only memory page. For example, because the memory access failure does not affect any pages, blocks, and / or planes that store additional parity data, the processing logic can use the additional parity data to correct the host data and / or RAIN parity codewords in the corresponding stripe. In some embodiments, the processing logic reconstructs the host data of the memory page using the remaining host data on the LUNs (e.g., LUNs 312A-D) and the RAIN redundancy metadata. For example, the processing logic can use a RAIN algorithm (e.g., a series of XOR operations) on the RAIN parity data and the remaining host database codewords (standard codewords or large codewords) to reconstruct the host data of the failed memory page. In particular, a first RAIN codeword and the remaining standard codewords stored in the first 1 / 4 page of each memory page can be used to reconstruct the standard codeword that was stored in the first 1 / 4 page of the failed memory page, a second RAIN codeword and the remaining standard codewords stored in the second 1 / 4 page of each memory page can be used to reconstruct the standard codeword that was stored in the second 1 / 4 page of the failed memory page, a third RAIN codeword and the remaining standard codewords stored in the third 1 / 4 page of each memory page can be used to reconstruct the standard codeword that was stored in the third 1 / 4 page of the failed memory page, and a fourth RAIN codeword and the remaining standard codewords stored in the fourth 1 / 4 page of each memory page can be used to reconstruct the standard codeword that was stored in the fourth 1 / 4 page of the failed memory page.
[0053] At operation 516, the processing logic determines whether a memory access failure occurred on a section that stores additional parity data for the host data (e.g., the read request is associated with a memory page of the memory device that stores additional parity data for the host data, such as plane 314F of LUNs 312A-C and plane 314E of LUN 312D). In response to determining that a memory access failure occurred on the section of the memory device that stores the additional parity data for the host data, the processing logic proceeds to operation 518. In response to determining that a memory access failure did not occur on the section of the memory device that stores the additional parity data for the host data, the processing logic proceeds to operation 522.
[0054] At operation 518, the processing logic reconstructs the host data and the additional parity data for the memory page. In particular, the processing logic may reconstruct the host data on the memory page using a series of XOR operations on the RAIN parity data and the remaining host data. The processing logic may reconstruct the additional parity data using the LUN parity data and the remaining additional parity data programmed into other memory pages associated with the LUN.
[0055] At operation 520, processing logic determines whether a memory access failure occurred on a section that stores RAIN parity data (e.g., plane 314E of LUN 312D). In response to determining that a memory access failure occurred on the section that stores RAIN parity data, processing logic proceeds to operation 522. In response to determining that a memory access failure did not occur on the section that stores RAIN parity data, processing logic ends method 500.
[0056] At operation 520, the processing logic regenerates the RAIN parity data and the LUN parity data using the host data and the additional parity data. For example, the processing logic may regenerate the RAIN parity codewords by applying one or more XOR operations to the host data (e.g., standard codewords). The processing logic may regenerate the LUN parity data by applying one or more XOR operations to the additional parity data.
[0057] 6 illustrates an exemplary machine, computer system 600, within which a set of instructions may be executed to cause the machine to perform any one or more of the methodologies discussed herein. In some embodiments, computer system 600 may correspond to a host system (e.g., host system 120 of FIG. 1) that includes, is coupled to, or utilizes a memory subsystem (e.g., memory subsystem 110 of FIG. 1) or may be used to perform the operations of a controller (e.g., to execute an operating system to perform operations corresponding to redundant metadata manager component 113 of FIG. 1). In alternative embodiments, the machine may be connected (e.g., networked) to other machines in a LAN, an intranet, an extranet, and / or the Internet. The machine may operate in the capacity of a server or client machine in a client-server network environment, as a peer machine in a peer-to-peer (or distributed) network environment, or as a server or client machine in a cloud computing infrastructure or environment.
[0058] The machine may be a personal computer (PC), tablet PC, set-top box (STB), personal digital assistant (PDA), cell phone, web appliance, server, network router, switch or bridge, or any machine capable of executing a set of instructions (sequentially or otherwise) that specify actions to be taken by the machine. Additionally, although a single machine is shown, the term "machine" shall also be considered to include any collection of machines that individually or collectively execute a set (or multiple sets) of instructions to implement any one or more of the methodologies discussed herein.
[0059] The exemplary computer system 600 includes a processing device 602, a main memory 504 (e.g., read only memory (ROM), flash memory, dynamic random access memory (DRAM) such as synchronous DRAM (SDRAM) or RDRAM, etc.), a static memory 606 (e.g., flash memory, static random access memory (SRAM), etc.), and a data storage system 618, which communicate with each other via a bus 630.
[0060] The processing device 602 represents one or more general-purpose processing devices, such as a microprocessor, a central processing unit, or the like. More specifically, the processing device may be a complex instruction set computing (CISC) microprocessor, a reduced instruction set computing (RISC) microprocessor, a very long instruction word (VLIW) microprocessor, or a processor implementing other instruction sets, or a processor implementing a combination of instruction sets. The processing device 602 may also be one or more special-purpose processing devices, such as an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), a network processor, or the like. The processing device 602 is configured to execute instructions 626 for performing the operations and steps discussed herein. The computer system 600 may further include a network interface device 608 for communicating over a network 620.
[0061] The data storage system 518 may include a machine-readable storage medium 624 (also known as a computer-readable medium) on which is stored one or more sets of instructions 626, or software embodying any one or more of the methodologies or functions described herein. The instructions 626 may also reside, completely or at least partially, within the main memory 604 and / or within the processing device 602 during execution thereof by the computer system 600, with the main memory 604 and the processing device 602 also constituting machine-readable storage media. The machine-readable storage medium 624, the data storage system 618, and / or the main memory 604 may correspond to the memory subsystem 110 of FIG. 1.
[0062] In one embodiment, the instructions 626 include instructions for implementing functionality corresponding to a voltage bin boundary component (e.g., redundant metadata manager component 113 of FIG. 1). Although the machine-readable storage medium 624 is shown in an exemplary embodiment to be a single medium, the term "machine-readable storage medium" shall be considered to include a single medium or multiple media that store one or more sets of instructions. The term "machine-readable storage medium" shall also be considered to include any medium that can store or encode a set of instructions for execution by a machine and that cause a machine to perform any one or more of the methodologies of the present disclosure. The term "machine-readable storage medium" shall therefore be considered to include, but is not limited to, solid-state memory, optical media, and magnetic media.
[0063] Some portions of the preceding detailed description are presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the method used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of operations leading to a desired result. The operations involve physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.
[0064] It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. This disclosure may refer to the actions and processes of a computer system, or similar electronic computing device, that manipulate and transform data represented as physical (electronic) quantities in the computer system's registers and memory into other data that are similarly represented as physical quantities in the computer system's memory or registers or other such information storage systems.
[0065] The present disclosure also relates to an apparatus for performing the operations herein. This apparatus may be specially constructed for the intended purposes, or it may include a general-purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored on a computer-readable storage medium, such as any type of disk, including, but not limited to, a floppy disk, an optical disk, a CD-ROM, and a magneto-optical disk, a read-only memory (ROM), a random access memory (RAM), an EPROM, an EEPROM, a magnetic or optical card, or any type of medium suitable for storing electronic instructions, each of which is coupled to a computer system bus.
[0066] The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various general-purpose systems may be used with programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatus to implement the methods. The structure of a variety of these systems appears set forth in the following description. In addition, the present disclosure is not described with reference to any particular programming language. It will be understood that a variety of programming languages may be used to implement the teachings of the present disclosure as described herein.
[0067] The present disclosure may be provided as a computer program product, or software, which may include a machine-readable medium having instructions stored thereon that may be used to program a computer system (or other electronic device) to perform a process according to the present disclosure. A machine-readable medium includes any mechanism for storing information in a form readable by a machine (e.g., a computer). In some embodiments, a machine-readable (e.g., computer-readable) medium includes a machine (e.g., computer) readable storage medium, such as a read-only memory ("ROM"), a random access memory ("RAM"), a magnetic disk storage medium, an optical storage medium, a flash memory component, or the like.
[0068] In the foregoing specification, the embodiments of the present disclosure have been described with reference to specific exemplary embodiments thereof. It will be apparent that various modifications may be made thereto without departing from the broad spirit and scope of the embodiments of the present disclosure as set forth in the following claims. The specification and drawings are therefore to be regarded in an illustrative rather than a restrictive sense.
Claims
1. programming a plurality of codewords into one or more memory pages of a memory subsystem, each memory page of the memory subsystem being associated with a logical unit of a plurality of logical units of the memory subsystem and at least one of a plane of a plurality of planes of the memory subsystem or a block of a plurality of blocks of the memory subsystem, each codeword of the plurality of codewords including host data and a base parity bit; programming a plurality of additional parity bits into the one or more memory pages of the memory subsystem, each additional parity bit of the plurality of additional parity bits being associated with a respective codeword of the plurality of codewords; generating a first set of redundant metadata corresponding to each of the additional parity bits; programming the first set of redundant metadata into a memory page of the memory subsystem that is separate from any memory page that stores the plurality of additional parity bits; A method comprising:
2. generating a second set of redundant metadata corresponding to the set of codewords; programming the second set of redundant metadata into the memory pages of the memory subsystem that store the first set of redundant metadata; The method of claim 1 further comprising:
3. generating second tier parity metadata for the first set of redundant metadata; programming the parity metadata into the memory pages of the memory subsystem that store the first set of redundant metadata; The method of claim 1 further comprising:
4. 2. The method of claim 1, wherein generating the first set of redundant metadata comprises performing one or more exclusive-or (XOR) operations based on the additional parity bits.
5. generating parity metadata for the second set of redundant metadata; programming the parity metadata into the memory pages of the memory subsystem that store the first set of redundant metadata; The method of claim 2 , further comprising:
6. determining that a read error has occurred in response to receiving a read request for a data item stored in a memory page of the memory subsystem; determining that the memory page that experienced the read error stored the first set of redundant metadata; regenerating the first set of redundant metadata; storing the regenerated sets of redundant metadata in different memory pages of the memory subsystem; The method of claim 1 further comprising:
7. determining that a read error has occurred in response to receiving a read request for a data item stored in a memory page of the memory subsystem; determining that the memory page that experienced the read error stored the second set of redundant metadata; regenerating the second set of redundant metadata; and storing the regenerated sets of redundant metadata in different memory pages of the memory subsystem; The method of claim 2 , further comprising:
8. a plurality of blocks, each block including one or more memory pages, the memory pages being organized into a plurality of stripes, each stripe including at least one memory page of each of the plurality of planes or the plurality of blocks; a processing device coupled to each of the plurality of planes or the plurality of blocks; the processing device comprising: detecting errors associated with accessing a set of data items, the set of data items being programmed into respective memory pages associated with a stripe of the plurality of stripes; determining whether the set of data items includes at least one of one or more codewords, additional parity metadata, redundant array of independent NOT AND (NAND) (RAIN) redundancy metadata, or logical unit (LUN) redundancy metadata; responsive to determining that the set of data items includes one or more codewords, performing a first data recovery process to recover each of the one or more codewords based at least in part on RAIN redundancy metadata; responsive to determining that the set of data items includes additional parity metadata, performing a second data reconstruction process to reconstruct the additional parity metadata based at least in part on LUN redundancy metadata; responsive to determining that the set of data items includes RAIN redundancy metadata, performing a first data reconstruction process to regenerate the RAIN redundancy metadata based at least in part on one or more sets of codewords stored on the plurality of planes of the plurality of blocks; responsive to determining that the set of data items includes LUN redundancy metadata, performing a second data reconstruction process to regenerate the LUN redundancy metadata based at least in part on additional parity metadata stored on the plurality of planes of the plurality of blocks; A system that performs operations including:
9. 9. The system of claim 8, wherein the RAIN redundancy metadata and the LUN redundancy metadata are stored on the same memory page.
10. 9. The system of claim 8, wherein the LUN redundancy metadata and the additional parity metadata are stored in different memory pages of the memory subsystem controller.
11. 9. The system of claim 8, wherein performing the second restore process includes performing one or more exclusive-or (XOR) operations based on the LUN redundancy metadata and remaining additional parity metadata stored on the memory subsystem.
12. 10. The system of claim 8, wherein performing the second data reconstruction process comprises performing one or more exclusive-or (XOR) operations based on the additional parity metadata stored on the memory subsystem.
13. 9. The system of claim 8, wherein the LUN redundancy metadata is encoded using parity metadata.
14. When executed by a processing device, the processing device: programming a plurality of codewords into one or more memory pages of a memory subsystem, each memory page of the memory subsystem being associated with a logical unit of a plurality of logical units of the memory subsystem and at least one of a plane of a plurality of planes of the memory subsystem or a block of a plurality of blocks of the memory subsystem, each codeword of the plurality of codewords including host data and a base parity bit; programming a plurality of additional parity bits into the one or more memory pages of the memory subsystem, each additional parity bit of the plurality of additional parity bits being associated with one codeword of the plurality of codewords; generating a first set of redundant metadata corresponding to each of the additional parity bits; programming the first set of redundant metadata into a memory page of the memory subsystem that is separate from any memory page that stores the plurality of additional parity bits; A non-transitory computer-readable storage medium comprising instructions for performing operations including:
15. The operation, generating a second set of redundant metadata corresponding to the set of codewords; programming the second set of redundant metadata into the memory pages of the memory subsystem that store the first set of redundant metadata; 15. The non-transitory computer-readable storage medium of claim 14, further comprising:
16. The operation, generating second tier parity metadata for the first set of redundant metadata; programming the parity metadata into the memory pages of the memory subsystem that store the first set of redundant metadata; 15. The non-transitory computer-readable storage medium of claim 14, further comprising:
17. 15. The non-transitory computer-readable storage medium of claim 14, wherein generating the first set of redundant metadata comprises performing one or more exclusive-or (XOR) operations based on the additional parity bits.
18. The operation, generating parity metadata for the second set of redundant metadata; programming the parity metadata into the memory pages of the memory subsystem that store the first set of redundant metadata; 20. The non-transitory computer-readable storage medium of claim 15, further comprising:
19. The operation, determining that a read error has occurred in response to receiving a request to read data stored in a memory page of the memory subsystem; determining that the memory page that experienced the read error stored the first set of redundant metadata; regenerating the first set of redundant metadata; storing the regenerated sets of redundant metadata in different memory pages of the memory subsystem; 15. The non-transitory computer-readable storage medium of claim 14, further comprising:
20. The operation, determining that a read error has occurred in response to receiving a read request for a data item stored in a memory page of the memory subsystem; determining that the memory page that experienced the read error stored the second set of redundant metadata; regenerating the second set of redundant metadata; and storing the regenerated sets of redundant metadata in different memory pages of the memory subsystem; 20. The non-transitory computer-readable storage medium of claim 15, further comprising:
Citation Information
Patent Citations
Correspondence between physical pages, logical pages, and codewords
JP2015510213A
