Systems and techniques for updating logical-to-physical mappings

Through improved change log entries, virtual block component indexing is used to increase the amount of data. One entry can indicate L2P information of multiple data blocks, which solves the problem of limited change log buffer size in the existing technology and improves the performance of the memory system. performance.

CN118535491APending Publication Date: 2024-08-23MICRON TECHNOLOGY INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410202171.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-02-16
Filing Date
2024-02-23
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

When the existing memory system updates the logical to physical mapping, the size of the change log buffer is limited, resulting in frequent application to the L2P table, which increases the overhead of the memory system and affects performance.

Method used

Using improved change log entries to increase data volume through virtual block component indexing, one change log entry can indicate updated L2P information for multiple data blocks, reducing the frequency with which the change log buffer contents are applied to the L2P table.

Benefits of technology

The time between changing the contents of the log buffer and applying it to the L2P table is extended, reducing the processing overhead of the memory system and improving performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535491A_ABST
    Figure CN118535491A_ABST
Patent Text Reader

Abstract

The invention relates to systems and techniques for updating logical-to-physical (L2P) mappings. A memory system may support an improved change log entry that supports a change log entry to indicate updated L2P mapping information for multiple data chunks, thus increasing the amount of data indicated by the change log before the change log becomes full. One change log entry may be used to indicate updated L2P information for a plurality of sequential data chunks. For example, the memory system may write data to a set of contiguous data tiles of a non-volatile memory device. The memory system may write a change log entry to a change log, the change log entry including updated L2P mapping information for the set by a first indication including at least a virtual block including the data chunks and a second indication of a number of data chunks in the set of data chunks.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Cross-references

[0002] This patent application claims priority to U.S. patent application No. 18 / 444 / 421, entitled “SYSTEMS AND TECHNIQUES FOR UPDATING LOGICAL-TO-PHYSICAL MAPPINGS,” filed by Tiwari et al. on February 16, 2024, and U.S. patent application No. 63 / 447,870, entitled “SYSTEMS AND TECHNIQUES FOR UPDATING LOGICAL-TO-PHYSICAL MAPPINGS,” filed by Tiwari et al. on February 23, 2023, each of which is assigned to the present assignee and is expressly incorporated herein by reference in its entirety. Technical Field

[0003] The technical field relates to systems and techniques for updating logical-to-physical (L2P) mappings. Background Art

[0004] Memory devices are widely used to store information in devices such as computers, user devices, wireless communication devices, cameras, digital displays, etc. Information is stored by programming memory cells within the memory device to various states. For example, a binary memory cell is programmable to one of two supported states, which are typically indicated by a logical 1 or a logical 0. In some examples, a single memory cell may support more than two states, any of which may be stored. To access the stored information, a memory device may read (e.g., sense, detect, retrieve, determine) a state from a memory cell. To store information, a memory device may write (e.g., program, set, assign) a state to a memory cell.

[0005] There are various types of memory devices, including magnetic hard disks, random access memory (RAM), read-only memory (ROM), dynamic RAM (DRAM), synchronous dynamic RAM (SDRAM), static RAM (SRAM), ferroelectric RAM (FeRAM), magnetic RAM (MRAM), resistive RAM (RRAM), flash memory, phase change memory (PCM), self-selected memory, chalcogenide memory technology, NOR and NAND memory devices, etc. Memory cells can be described in terms of volatile configurations or non-volatile configurations. Memory cells configured in a non-volatile configuration can maintain a stored logic state for a long period of time even in the absence of an external power source. Memory cells configured in a volatile configuration may lose the stored state if disconnected from an external power source. Summary of the invention

[0006] An apparatus is described. The apparatus may include: a memory device; and a controller coupled to the memory device and configured to cause the apparatus to: write data to a plurality of consecutive pages of a non-volatile memory device of a memory system; write an entry associated with updating logical-to-physical mapping information associated with the data to a change log, the entry of the change log including a first indication of a virtual block including the plurality of consecutive pages and a second indication of the number of the plurality of consecutive pages; and update the logical-to-physical mapping information associated with the data based at least in part on the entry of the change log.

[0007] A non-transitory computer-readable medium storing code is described. The non-transitory computer-readable medium storing code may include instructions that, when executed by a processor of an electronic device, cause the electronic device to: write data to a plurality of consecutive pages of a non-volatile memory device of a memory system; write an entry associated with updating logical-to-physical mapping information associated with the data to a change log, the entry of the change log including a first indication of a virtual block including the plurality of consecutive pages and a second indication of the number of the plurality of consecutive pages; and update the logical-to-physical mapping information associated with the data based at least in part on the entry of the change log.

[0008] A method is described. The method may include: writing data to a plurality of consecutive pages of a non-volatile memory device of a memory system; writing an entry associated with updating logical-to-physical mapping information associated with the data to a change log, the entry of the change log including a first indication of a virtual block including the plurality of consecutive pages and a second indication of a number of the plurality of consecutive pages; and updating the logical-to-physical mapping information associated with the data based at least in part on the entry of the change log. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 An example of a system supporting systems and techniques for updating logical to physical (L2P) mappings according to examples as disclosed herein is shown.

[0010] Figure 2 , 3 , 4, and 5 illustrate examples of mapping diagrams that support systems and techniques for updating L2P mappings according to examples as disclosed herein.

[0011] Figure 6 A block diagram of a memory system supporting systems and techniques for updating L2P mappings according to examples as disclosed herein is shown.

[0012] Figure 7 A flow diagram is shown demonstrating one or more methods supporting systems and techniques for updating L2P mappings according to examples as disclosed herein. DETAILED DESCRIPTION

[0013] Methods, systems, and devices of systems and techniques for updating logical-to-physical (L2P) mappings are described. Write operations to a non-volatile device may include maintaining L2P table data for identifying a relationship between logical addresses used by a host system and physical addresses used by a memory system to store data. For example, as part of writing data to the non-volatile device, a logical address corresponding to the written data may be written to a physical address within the non-volatile device, and a mapping between the logical address and the physical address may be recorded in an L2P table. In some cases, the L2P table is larger than the amount of memory available to store the L2P table within a memory system controller of the memory system (e.g., a volatile device used to update the L2P table). Thus, the L2P table may be stored in the non-volatile device, and a new L2P address translation mapping may be maintained within a change log (e.g., a change log buffer, a change log manager (CLM)) containing change log entries until the L2P table can be updated.

[0014] To update the L2P table, a corresponding portion of the L2P table may be transferred from the one or more non-volatile devices to the memory system controller and updated based on the change log entries. The portion may then be transferred back to the one or more non-volatile devices for storage. In this way, multiple entries of the L2P table may be updated at once to reduce the number of transfers between the one or more non-volatile devices and the memory system controller. The contents of the change log buffer may be periodically applied to update the L2P table, for example, based on the change log buffer becoming full. The maintenance of the change log buffer and its application to the L2P table imposes overhead processing requirements on the memory system.

[0015] In some memory system controllers (e.g., particularly in low-cost memory systems), the size of the change log buffer may be limited, which may result in relatively frequent application of the contents of the change log buffer to the L2P table based on the change log buffer being full of data. Reducing the frequency of applying the contents of the change log buffer to the L2P table may reduce the overhead required by the memory system, thereby improving memory system performance.

[0016] Embodiments described herein address the aforementioned disadvantages and others by providing an improved change log entry that supports a change log entry indicating updated L2P mapping information for multiple data blocks, thereby increasing the amount of data indicated by the change log before the change log becomes full. The increase in the amount of data indicated by each entry within the change log buffer will extend the time between the corresponding application of the contents of the change log buffer to the L2P table. The increase in the amount of data corresponding to each change log entry within the change log buffer is achieved by indexing the virtual block component of the physical address of the corresponding data block (e.g., page, 4 kilobyte (kB) data block), which can be common to multiple entries of the change log (e.g., entries associated with physical addresses contained in the same virtual block), thereby permitting the physical address to be specified with fewer bits. The physical address can be defined in the improved change log entry using an address that includes an indication of a virtual block number (VBN) (e.g., an index corresponding to the VBN), an offset value for the starting position of the data block, and a length value indicating the number of sequential data blocks associated with the change log entry. Thus, one change log entry may be used to indicate updated L2P information for multiple sequential blocks of data (e.g., rather than one change log entry per block of data). In some examples, a change log entry may include an overlap flag value that indicates whether the block of data indicated by the change log entry has failed. Improved change log entries containing these values ​​permit the memory system controller to store L2P information updates for a larger amount of data within the change log buffer, thus reducing the frequency with which the contents of the change log buffer are applied to the L2P table.

[0017] First, in reference Figure 1 Features of the present disclosure are described in the context of a system. Figures 2 to 6 Features of the present disclosure are described in the context of providing an improved change log entry that supports a change log entry indicating updated L2P mapping information for multiple data blocks, thereby increasing the amount of data indicated by the change log before the change log becomes full.

[0018] In reference Figures 6 to 7 These and other features of the present disclosure are further illustrated and described in the context of device diagrams and flow diagrams related to systems and techniques for updating L2P mappings.

[0019] Figure 1 An example of a system 100 supporting systems and techniques for updating an L2P mapping according to examples as disclosed herein is shown. The system 100 includes a host system 105 coupled to a memory system 110.

[0020] The memory system 110 may be or include any device or set of devices, wherein the device or set of devices includes at least one memory array. For example, the memory system 110 may be or include a universal flash storage (UFS) device, an embedded multimedia controller (eMMC) device, a flash device, a universal serial bus (USB) flash device, a secure digital (SD) card, a solid state drive (SSD), a hard disk drive (HDD), a dual in-line memory module (DIMM), a small outline DIMM (SO-DIMM), or a non-volatile DIMM (NVDIMM), among other possibilities.

[0021] System 100 may be included in a computing device such as a desktop computer, a laptop computer, a network server, a mobile device, a vehicle (e.g., an airplane, drone, train, car, or other transportation vehicle), an Internet of Things (IoT) enabled device, an embedded computer (e.g., an embedded computer included in a vehicle, industrial equipment, or a networked business device), or any other computing device that includes a memory and a processing device.

[0022] System 100 may include a host system 105 that may be coupled to a memory system 110. In some instances, this coupling may include an interface with a host system controller 106, which may be an instance of a controller or control component configured to cause the host system 105 to perform various operations according to the examples described herein. Host system 105 may include one or more devices, and in some cases, may include a processor chipset and a software stack executed by the processor chipset. For example, host system 105 may include an application configured to communicate with memory system 110 or a device therein. The processor chipset may include one or more cores, one or more caches (e.g., memory local to or included in host system 105), a memory controller (e.g., an NVDIMM controller), and a storage protocol controller (e.g., a peripheral component interconnect express (PCIe) controller, a serial advanced technology attachment (SATA) controller). Host system 105 may use memory system 110, for example, to write data to and read data from memory system 110. Although in Figure 1 One memory system 110 is shown in FIG. 1 , but the host system 105 may be coupled to any number of memory systems 110 .

[0023] The host system 105 may be coupled to the memory system 110 via at least one physical host interface. In some cases, the host system 105 and the memory system 110 may be configured to communicate via the physical host interface using an associated protocol (e.g., to exchange or otherwise communicate control, address, data, and other signals between the memory system 110 and the host system 105). Examples of physical host interfaces may include, but are not limited to, a SATA interface, a UFS interface, an eMMC interface, a PCIe interface, a USB interface, a Fibre Channel interface, a Small Computer System Interface (SCSI), a Serial Attached SCSI (SAS), a Double Data Rate (DDR) interface, a DIMM interface (e.g., a DIMM socket interface supporting DDR), an Open NAND Flash Interface (ONFI), and a Low Power Double Data Rate (LPDDR) interface. In some examples, one or more such interfaces may be included in or otherwise supported between a host system controller 106 of the host system 105 and a memory system controller 115 of the memory system 110. In some examples, the host system 105 may be coupled to the memory system 110 via a respective physical host interface for each memory device 130 included in the memory system 110 or via a respective physical host interface for each type of memory device 130 included in the memory system 110 (e.g., the host system controller 106 may be coupled to the memory system controller 115).

[0024] The memory system 110 may include a memory system controller 115 and one or more memory devices 130. The memory devices 130 may include one or more memory arrays of any type of memory cells (e.g., non-volatile memory cells, volatile memory cells, or any combination thereof). Figure 1 , two memory devices 130-a and 130-b are shown in the example of , but the memory system 110 may include any number of memory devices 130. Furthermore, if the memory system 110 includes more than one memory device 130, different memory devices 130 within the memory system 110 may include the same or different types of memory cells.

[0025] The memory system controller 115 may be coupled and communicated with the host system 105 (e.g., via a physical host interface), and may be an example of a controller or control component configured to cause the memory system 110 to perform various operations according to the examples described herein. The memory system controller 115 may also be coupled and communicated with the memory devices 130 to perform operations that may generally be referred to as access operations at the memory devices 130, such as reading data, writing data, erasing data, or refreshing data, as well as other such operations. In some cases, the memory system controller 115 may receive commands from the host system 105 and communicate with one or more memory devices 130 to perform such commands (e.g., at a memory array within the one or more memory devices 130). For example, the memory system controller 115 may receive commands or operations from the host system 105 and may convert the commands or operations into instructions or appropriate commands to achieve the desired access to the memory devices 130. In some cases, the memory system controller 115 may exchange data with the host system 105 and one or more memory devices 130 (e.g., in response to or otherwise in conjunction with commands from the host system 105). For example, the memory system controller 115 may convert responses (e.g., data packets or other signals) associated with the memory devices 130 into corresponding signals for the host system 105.

[0026] The memory system controller 115 may be configured for other operations associated with the memory device 130. For example, the memory system controller 115 may perform or manage operations such as wear leveling operations, garbage collection operations, error control operations such as error detection operations or error correction operations, encryption operations, cache operations, media management operations, background refresh, health monitoring, and address translation between logical addresses (e.g., logical block addresses (LBAs)) associated with commands from the host system 105 and physical addresses (e.g., physical block addresses) associated with memory cells within the memory device 130.

[0027] The memory system controller 115 may include hardware, such as one or more integrated circuits or discrete components, buffer memory, or a combination thereof. The hardware may include circuitry with dedicated (e.g., hard-coded) logic to perform the operations attributed herein to the memory system controller 115. The memory system controller 115 may be or include a microcontroller, dedicated logic circuitry (e.g., a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a digital signal processor (DSP)), or any other suitable processor or processing circuit.

[0028] The memory system controller 115 may also include a local memory 120. In some cases, the local memory 120 may include a read-only memory (ROM) or other memory that may store operating codes (e.g., executable instructions) that may be executed by the memory system controller 115 to perform the functions attributed herein to the memory system controller 115. In some cases, the local memory 120 may additionally or alternatively include a static random access memory (SRAM) or other memory that may be used by the memory system controller 115 for, for example, internal storage or calculations related to the functions attributed herein to the memory system controller 115. Additionally or alternatively, the local memory 120 may act as a cache for the memory system controller 115. For example, if the memory device 130 is read from or written to, the data may be stored in the local memory 120, and the data may be available within the local memory 120 for subsequent retrieval or manipulation (e.g., update) by the host system 105 according to a cache policy (e.g., latency reduction relative to the memory device 130).

[0029] although Figure 1 The example of the memory system 110 in FIG. 1 has been shown as including a memory system controller 115, but in some cases, the memory system 110 may not include a memory system controller 115. For example, the memory system 110 may additionally or alternatively rely on an external controller (e.g., implemented by the host system 105) or one or more local controllers 135 that may be respectively internal to the memory device 130 to perform the functions attributed herein to the memory system controller 115. In general, one or more functions attributed herein to the memory system controller 115 may in some cases be alternatively performed by the host system 105, the local controller 135, or any combination thereof. In some cases, a memory device 130 that is at least partially managed by the memory system controller 115 may be referred to as a managed memory device. An example of a managed memory device is a managed NAND (MNAND) device.

[0030] The memory device 130 may include one or more arrays of non-volatile memory cells. For example, the memory device 130 may include NAND (e.g., NAND flash) memory, ROM, phase change memory (PCM), self-select memory, other chalcogenide-based memory, ferroelectric random access memory (FeRAM), magnetic RAM (MRAM), NOR (e.g., NOR flash) memory, spin transfer torque (STT)-MRAM, conductive bridge RAM (CBRAM), resistive random access memory (RRAM), oxide-based RRAM (OxRAM), electrically erasable programmable ROM (EEPROM), or any combination thereof. Additionally or alternatively, the memory device 130 may include one or more arrays of volatile memory cells. For example, the memory device 130 may include RAM memory cells, such as dynamic RAM (DRAM) memory cells and synchronous DRAM (SDRAM) memory cells.

[0031] In some examples, the memory devices 130 may include (e.g., on the same die or within the same package) a local controller 135 that may perform operations on one or more memory cells of the respective memory devices 130. The local controller 135 may operate in conjunction with the memory system controller 115, or may perform one or more functions attributed herein to the memory system controller 115. For example, Figure 1 As shown in , memory device 130 - a may include a local controller 135 - a and memory device 130 - b may include a local controller 135 - b.

[0032] In some cases, memory device 130 may be or include a NAND device (e.g., a NAND flash device). Memory device 130 may be or include a die 160 (e.g., a memory die). For example, in some cases, memory device 130 may be a package that includes one or more die 160. In some examples, die 160 may be a piece of electronic-grade semiconductor cut from a wafer (e.g., a silicon die cut from a silicon wafer). Each die 160 may include one or more planes 165, and each plane 165 may include a corresponding set of blocks 170, wherein each block 170 may include a corresponding set of pages 175, and each page 175 may include a set of memory cells.

[0033] In some cases, the NAND memory device 130 may include memory cells configured to store one bit of information each, which may be referred to as a single-level cell (SLC). Additionally or alternatively, the NAND memory device 130 may include memory cells configured to store multiple bits of information each, which may be referred to as a multi-level cell (MLC) if configured to store two bits of information each, a triple-level cell (TLC) if configured to store three bits of information each, a quad-level cell (QLC) if configured to store four bits of information each, or more generally, a multi-level memory cell. A multi-level memory cell may provide greater storage density relative to an SLC memory cell, but in some cases may involve narrower read or write margins or greater complexity for supporting circuitry.

[0034] In some cases, a plane 165 may refer to a group of blocks 170, and in some cases, parallel operations may be performed on different planes 165. For example, parallel operations may be performed on memory cells within different blocks 170, as long as the different blocks 170 are in different planes 165. In some cases, individual blocks 170 may be referred to as physical blocks, and a virtual block 180 may refer to a group of blocks 170 within which parallel operations may occur. For example, parallel operations may be performed on blocks 170-a, 170-b, 170-c, and 170-d within planes 165-a, 165-b, 165-c, and 165-d, respectively, and blocks 170-a, 170-b, 170-c, and 170-d may be collectively referred to as a virtual block 180. In some cases, a virtual block may include blocks 170 from different memory devices 130 (e.g., blocks in one or more planes including memory device 130-a and memory device 130-b). In some cases, blocks 170 within a virtual block may have the same block address within their respective planes 165 (e.g., block 170-a may be "block 0" of plane 165-a, block 170-b may be "block 0" of plane 165-b, etc.). In some cases, performing parallel operations in different planes 165 may be subject to one or more restrictions, such as performing parallel operations on memory cells within different pages 175 that have the same page address within their respective planes 165 (e.g., related to command decoding, page address decoding circuitry, or other circuitry shared across planes 165).

[0035] In some cases, block 170 may include memory cells organized into rows (pages 175) and columns (e.g., strings, not shown). For example, memory cells in the same page 175 may share (e.g., be coupled to) a common word line, and memory cells in the same string may share (e.g., be coupled to) a common digit line (which may alternatively be referred to as a bit line).

[0036] For some NAND architectures, memory cells may be read and programmed (e.g., written) at a first level of granularity (e.g., at a page granularity level), but may be erased at a second level of granularity (e.g., at a block granularity level). That is, a page 175 may be the smallest unit of memory (e.g., a set of memory cells) that may be independently programmed or read (e.g., programmed or read in parallel as part of a single programming or reading operation), and a block 170 may be the smallest unit of memory (e.g., a set of memory cells) that may be independently erased (e.g., erased in parallel as part of a single erasing operation). Furthermore, in some cases, a NAND memory cell may be erased before it may be rewritten with new data. Thus, for example, in some cases, a used page 175 may not be updated until the entire block 170 containing the page 175 has been erased.

[0037] In some cases, to update some data within a block 170 while retaining other data within the block 170, the memory device 130 may copy the data to be retained to a new block 170, and write the updated data to one or more remaining pages of the new block 170. The memory device 130 (e.g., the local controller 135) or the memory system controller 115 may mark or otherwise indicate the data retained in the old block 170 as invalid or obsolete, and may update the L2P mapping table so that the logical address (e.g., LBA) of the data is associated with the new valid block 170 instead of the old invalid block 170. In some cases, such copying and remapping may be performed, rather than erasing and rewriting the entire old block 170, for example, due to latency or wear considerations. In some cases, one or more copies of the L2P mapping table may be stored within a memory unit of the memory device 130 (e.g., within one or more blocks 170 or planes 165) for use (e.g., reference and update) by the local controller 135 or the memory system controller 115.

[0038] In some cases, an L2P mapping table may be maintained and data may be marked as valid or invalid at a page granularity level, and a page 175 may contain valid data, invalid data, or no data. Invalid data may be data that is outdated because a recent or updated version of the data is stored in a different page 175 of the memory device 130. Invalid data may have been previously programmed to an invalid page 175, but may no longer be associated with a valid logical address, such as a logical address referenced by the host system 105. Valid data may be the most recent version of such data stored on the memory device 130. A page 175 that does not contain data may be a page 175 that has never been written to or has been erased.

[0039] In some cases, the memory system controller 115 or the local controller 135 may perform operations of the memory device 130 (e.g., as part of one or more media management algorithms), such as wear leveling, background refresh, garbage collection, purging, block scanning, health monitoring, or other operations, or any combination thereof. For example, within the memory device 130, a block 170 may have some pages 175 containing valid data and some pages 175 containing invalid data. In order to avoid waiting for all pages 175 in a block 170 to have invalid data in order to erase and reuse the block 170, an algorithm called "garbage collection" may be invoked to allow the block 170 to be erased and freed as a free block for subsequent write operations. Garbage collection may refer to a set of media management operations that include, for example, selecting a block 170 containing valid and invalid data, selecting a page 175 in a block containing valid data, copying valid data from the selected page 175 to a new location (e.g., a free page 175 in another block 170), marking data in a previously selected page 175 as invalid, and erasing the selected block 170. Thus, the number of erased blocks 170 may be increased so that more blocks 170 are available to store subsequent data (eg, data subsequently received from the host system 105).

[0040] In some cases, memory system 110 may utilize memory system controller 115 to provide a managed memory system, which may include, for example, one or more memory arrays and related circuitry in combination with a local (e.g., on-die or in-package) controller, such as local controller 135. An example of a managed memory system is a managed NAND (MNAND) system.

[0041] The system 100 may include any number of non-transitory computer-readable media that support systems and techniques for updating L2P mappings. For example, the host system 105 (e.g., the host system controller 106), the memory system 110 (e.g., the memory system controller 115), or the memory device 130 (e.g., the local controller 135) may include or otherwise have access to one or more non-transitory computer-readable media storing instructions (e.g., firmware, logic, code) for performing the functions attributed herein to the host system 105, the memory system 110, or the memory device 130. For example, if executed by the host system 105 (e.g., by the host system controller 106), by the memory system 110 (e.g., by the memory system controller 115), or by the memory device 130 (e.g., by the local controller 135), such instructions may cause the host system 105, the memory system 110, or the memory device 130 to perform the associated functions as described herein.

[0042] The memory system controller 115 may use a change log buffer (e.g., Figure 2 1 ), the change log buffer containing change log entries associated with changes made to L2P mappings that have not yet been updated in the L2P mapping table (e.g., L2P table 201). Entries within the change log buffer may be periodically applied to the L2P mapping table to maintain L2P mappings of data stored in the memory device 130, for example, based on the change log buffer becoming full. Updates to the L2P mapping table may generate memory system controller 115 processing overhead, which may affect memory system performance. Increasing the number of updated L2P mappings that may be indicated by entries of the change log buffer before application of the entries may reduce the processing overhead of the memory system controller 115.

[0043] More specifically, the increase in the number of updated L2P mappings that may be indicated by an entry will extend the time between application of the contents of the change log buffer to the L2P mapping table. Inclusion of additional fields in change log entries within the change log buffer is accomplished by indexing the virtual block component (e.g., VBN) of the physical address of the corresponding data block, which may be common to multiple entries of the change log (e.g., entries associated with physical addresses contained in the same virtual block), thereby permitting the physical address to be specified with fewer bits. The physical address may be indicated in the improved change log entry using an address that includes an indication of the VBN (e.g., an index corresponding to the VBN), an offset value for the starting position of the data block (e.g., page 175), and a length value indicating the number of sequential data blocks (e.g., sequential pages 175) associated with the change log entry. Thus, one change log entry may be used to indicate updated L2P information for multiple sequential data blocks (e.g., rather than one change log entry per data block). In some examples, the change log entry may include an overlap flag value indicating whether the data block indicated by the change log entry has failed (e.g., whether the data block stores invalid data). Improved change log entries containing these values ​​permit the memory system controller to store L2P information updates of a larger amount of data within the change log buffer, thus reducing the frequency with which the contents of the change log buffer are applied to the L2P mapping table.

[0044] Figure 2 An example of a mapping diagram 200 supporting systems and techniques for updating L2P mappings according to examples as disclosed herein is shown. The mapping diagram 200 may be referenced by Figure 11. The system 100 of claim 1 is implemented in accordance with an aspect of the system 100 described herein. For example, the mapping diagram 200 includes the memory system controller 115 and the memory device 130. The mapping diagram 200 shows the use of a physical address 212 (e.g., a physical block address (PBA)) obtained from the L2P table 201 to access the memory device 130 for a read operation. The logical address 211 (e.g., a logical block address (LBA)) may be included in read and write operation commands received by the memory system controller 115 from the host system 105. As part of a read operation, the memory system controller 115 may obtain a physical address 212 corresponding to the logical address 211 from the L2P table 201, or for recently modified data, from the change log buffer 202. The physical address 212 is used to access data within the memory device 130 during a read operation and is used to store data within the memory device 130.

[0045] If data is written to the memory device 130, the block of data (e.g., page 175) is written to an unused data location within the memory device 130, and an indication of which physical address the data corresponding to the logical address is written to is stored in the change log buffer 202 as a corresponding change log entry. After the change log is full (e.g., or due to some other trigger, such as idle host time), a portion of the L2P table 201 may be updated and transferred from the memory device 130 to the memory system controller 115, where the contents of the change log buffer 202 may be applied to the L2P table 201, and the portion of the L2P table 201 may be transferred (e.g., flushed) back to the memory device 130. As part of the write operation, the memory system controller 115 may identify an unused location within the memory device 130 having a physical address 212 (e.g., a page 175 that does not contain data), and write the data to the physical address 212. The mapping of the logical address 211 to the physical address 212 is recorded in the change log buffer 202 for use in accessing the data stored therein in a subsequent read operation.

[0046] The change log buffer 202 may include a set of change log entries, where each entry is associated with the storage of data in the operations described above. Each entry within the change log buffer 202 may be improved by allowing each entry to address more than one data block (e.g., page 175) within a data block (e.g., virtual block 180, block 170). For example, each entry may include an LBA value 221, a VBN value 222, a length value 223, and an offset value 224. The LBA value 221 may indicate a logical address 211 (e.g., an LBA) to which the change log entry corresponds. The LBA value 221 may indicate a starting LBA to which the change log entry corresponds.

[0047] VBN value 222 may indicate a virtual block to which a change log entry corresponds. That is, VBN value 222 may indicate a virtual block containing data associated with a logical address indicated by LBA value 221. Offset value 224 may indicate an offset (e.g., a page offset) within the virtual block. The combination of VBN value 222 and offset value 224 may be used to determine a physical address 212 of a starting data block (e.g., starting page 175) indicated by a change log entry. For example, before adding an entry to change log buffer 202 (e.g., after previously applying its contents to L2P table 201), memory system controller 115 may store a current offset (e.g., a current page offset) within the virtual block (e.g., storing a corresponding current offset within each open virtual block). The current offset may correspond to a next offset after the last written data block (e.g., page 175) of the virtual block. That is, the current offset may indicate an offset of a next consecutive data block within the virtual block to which data is to be written. Therefore, to determine the physical address 212, the memory system controller 115 may determine the virtual block (e.g., the VBN, an identifier of the virtual block) based on the VBN value 222 and the offset within the virtual block by adding the offset value 224 to the stored current offset. The combination of the VBN and the offset within the virtual block may be or represent the physical address 212.

[0048] The length value 223 may indicate the number of consecutive data blocks (e.g., consecutive pages 175) pointed to by the change log entry (e.g., starting from the starting data block indicated by the VBN value 222 and the offset value 224). The length value 223 may also indicate the number of consecutive LBAs pointed to by the change log entry (e.g., starting from the starting LBA indicated by the LBA value 221). Thus, the change log entry may indicate L2P mapping information of multiple LBAs to data blocks (e.g., page 175). For example, the change log entry may include a mapping of the start of the LBA indicated by the LBA value 221 to the starting physical address 212 indicated by the VBN value 222 and the offset value 224. According to the length value 223, for the number of consecutive LBAs and data blocks indicated by the length value 223, the next consecutive LBA after the starting LBA may be mapped to the next consecutive physical address 212 after the starting physical address 212 (e.g., the physical address of the next consecutive page 175), and so on. The explicit mapping of consecutive LBAs to consecutive data blocks after the starting LBA and data block may be excluded from the change log entry and may actually be determined by the memory system controller 115 based on the length value 223 and the starting LBA and data block.

[0049] The memory system controller 115 may determine the physical address 212 for a subsequent read operation by searching the L2P table 201 or the change log buffer 202 to find the current translation value. For example, if the L2P table 201 has been updated (e.g., the contents of the change log buffer 202 have been applied to the L2P table), the L2P table 201 may be used to determine the physical address 212 when the data is subsequently accessed. If the L2P table 201 has not been updated based on the contents of the change log buffer 202, the change log buffer 202 may be used to determine the physical address 212. The L2P table 201 is typically larger than the size of the available volatile memory (e.g., local memory 120) used by the memory system controller 115. In some examples, the memory system controller 115 may store a portion of the L2P table 201 in volatile memory corresponding to the data block currently opened for access and modification. The L2P table 201 is stored in the memory device 130.

[0050] The change log buffer 202 contains changes to the L2P table 201 associated with recent write operations within the open data blocks. The contents of the change log buffer 202 may be periodically applied to the contents of the L2P table 201 stored within the memory device 130 to reflect the current mapping of logical addresses 211 to physical addresses 212 used in the memory device 130. In some examples, the contents of the change log buffer 202 may be periodically applied, such as if the change log buffer 202 becomes full, if the open data blocks are no longer in use, if the memory system 110 or the host system 105 enters an idle state, or any combination thereof.

[0051] In some embodiments of the change log buffer 202, a change log entry may contain an updated mapping of a logical address 211 to a physical address 212. By using a length value 223 and an offset value 224 to maintain the mapping of the logical address 211 to the physical address 212, the number of entries within the change log buffer 202 that indicate updates to the same number of L2P mappings may be reduced. That is, the amount of data for which the change log buffer 202 contains updated L2P mappings may be increased by being able to indicate updated L2P mappings for multiple logical addresses per change log entry, which may extend the time before the change log buffer 202 becomes full. Thus, the frequency with which the contents of the change log buffer 202 are applied to the L2P table 201 may be reduced. This change in the operation of the memory system controller 115 to maintain the change log buffer 202 reduces the processing overhead of the memory system controller 115 and improves the performance of the memory system 110, for example, because more time may be used to perform other operations of the memory system 110 rather than updating the L2P table.

[0052] The number of bits included in the corresponding change log entry within the change log buffer 202 may not change. For example, the number of bits used for the VBN value 222, the length value 223, and the offset value 224 may together be the same number of bits as the combination of the actual VBN (e.g., virtual block identifier) ​​and the actual offset within the virtual block (e.g., current offset). Various techniques may be used to reduce the number of bits used to indicate the actual VBN and the actual offset by including the VBN value 222 and the offset value 224 so that the length value 223 may be included in the change log entry.

[0053] For example, the memory system controller 115 may store a mapping between a set of indices (e.g., VBN values ​​222) used as an indication of a virtual block in an entry and an identifier (e.g., actual VBN) of the virtual block. In an example embodiment, the VBN value 222 referenced within each entry of the change log buffer 202 corresponds to the VBN as shown in Table 1.

[0054] Table 1

[0055]

[0056]

[0057] In this example embodiment of the stored mapping between indexes and identifiers, 4 virtual blocks may be open at a time, permitting the use of 2 bits to represent the VBN. For example, based on the stored mapping, the memory system controller 115 may determine that a change log entry including a VBN value of '00' may correspond to a virtual block with a VBN of '101111001', and so on. If 8 open blocks are supported, 3 bits may be used to represent the VBN, and so on. In the example embodiment of Table 1, the actual block number may use 9 bits, and thus using a VBN value of 222 to represent the actual VBN in a change log entry may save 7 bits per change log entry for other uses, such as for a length value of 223.

[0058] In some examples, the mapping may be updated when a virtual block is opened. For example, in the example of Table 1, two virtual blocks may be opened, where the corresponding VBNs are mapped to the respective indexes. If the memory system controller 115 opens a third virtual block for writing additional data, the memory system controller 115 may update the mapping to map an unused index (e.g., '10' or '11' in the example of Table 1) to the VBN of the third virtual block (e.g., replacing the VBN of the third virtual block with '111111111', which may be a bit pattern indicating that the index is unused). In some examples, the number of bits used for the VBN value 222 may increase as the number of open virtual blocks increases. For example, if the fifth virtual block is opened by the memory system controller 115 (e.g., in parallel with other virtual blocks associated with the mapping, after one or more of the virtual blocks have been closed but before the contents of the change log buffer 202 have been applied), the memory system controller 115 may update the mapping and change log entries so that the VBN value 222 uses 3 bits to support a larger number of virtual blocks.

[0059] A similar mapping may be used to indicate the current offset of a corresponding virtual block, such as used together with VBN value 222 and offset value 224 to determine the physical address 212 indicated by a given change log entry, as shown in Table 2.

[0060] Table 2

[0061] VBN (2 digits) Current offset of the open block (23 bits) 00 00010110110110110111011 01 00000101111000101110111 10 1111111111111111111111111 (invalid / idle) 11 1111111111111111111111111 (invalid / idle)

[0062] In some instances where the change log entry indicates updated L2P mapping information for a single LBA, if 9 bits are allocated for VBN, the remaining 23 bits of the change log entry may be allocated for offset. In this 23-bit case, the virtual block size may be up to 32GB. Here, after 16MB of data is written, the change log buffer 202 may be flushed (e.g., the contents of the change log buffer 202 may be applied to the L2P table 201, for example, due to becoming full). The storage of the current offset may enable the offset value 224 to use a smaller number of bits to indicate the offset within the virtual block. For example, in an embodiment where the change log buffer 202 may be merged with the L2P table 201 based on writing a threshold amount of data, such as 1GB of data (e.g., the contents of the change log buffer 202 are applied to the L2P table 201), the offset value 224 may use 18 bits. For example, the 18-bit offset value 224 may be used to indicate a corresponding data block (e.g., page 175) within a corresponding 1GB block of a 32GB virtual block. To indicate which 1GB block of the corresponding 32GB virtual block, the memory system controller 115 may store the actual offset value (e.g., current offset, current page offset) of each open virtual block before adding any change log entries in the change log buffer 202. Later during a flush of the change log buffer 202 and a merge of its contents into the L2P table 201, the relative offset (e.g., the offset value 224 stored in the change log entry) is added to the current offset (e.g., stored in Table 2) to merge the entry with the L2P table 201 (e.g., to determine the corresponding physical address 212 indicated by each change log entry). In some examples, if a new virtual block is opened before the change log buffer 202 is merged with the L2P table 201, the current offset of the new virtual block may be determined and added to the VBN value 222 to current offset mapping (e.g., the mapping of Table 2). Alternatively, and in general, when the number of tracked VBs reaches a maximum value, the change log may be forced to merge into the L2P.

[0063] In some examples, the respective current offset of each virtual block may be updated after the L2P table 201 is updated using the change log buffer 202 (e.g., after the change log buffer 202 and the L2P table 201 are merged). For example, the memory system controller 115 may update the current offset of the virtual block (e.g., within the mapping of Table 2) to the next consecutive data block (e.g., consecutive page 175) after the last data block of the virtual block pointed to by the change log buffer 202. Thus, accurate tracking of the current offset within the virtual block may be maintained.

[0064] In some examples, a threshold number of data used to determine the number of bits for offset value 224 may be determined (e.g., set) based on a risk of data and mapping information being lost. For example, change log buffer 202 may be stored in volatile memory, and thus its contents may be lost, such as in the event that the memory system is subjected to a power loss. Thus, delaying the merging of change log buffer 202 and L2P table 201 to reduce processing overhead may be balanced against longer recovery times after a power loss, increased latency associated with merging change log buffer 202 containing L2P mapping updates for an increased number of data, or a combination thereof, to determine the corresponding number of bits for VBN value 222, length value 223, offset value 224, or a combination thereof.

[0065] In some other examples, the offset value 224 may include the same number of bits as used to indicate an offset within a virtual block (eg, 23 bits). Figure 4 and 5 The bits of the described overlap value 225) may be obtained by using a mapping between the VBN value 222 and VBN. Here, the storage of the current offset of each open virtual block as described with reference to Table 2 may not be necessary.

[0066] With respect to the number of bits allocated to the length value 223, in an example embodiment, if 4 bits are used as an index to the VBN (covering up to 16 open virtual blocks), 1 bit may be given to the overlap (as referenced in FIG. Figure 4 and 5 222), and the remaining 4 bits may be given to the length field, which may indicate up to sixteen 4KB blocks of data (e.g., a 64KB data range per entry, compared to a single 4KB block of data). If 4 bits are not enough for length value 223, and if 18 bits are given to offset value 224 (covering up to 1GB writes in open virtual blocks), length value 223 may be allocated up to an additional 5 bits. In summary, if 4 bits are used for VBN value 222, and 18 bits are used for offset value 224, a total of up to 9 bits may be allocated to length value 223. In this example, a change log entry may point to 512 consecutive 4KB blocks of data, for a total of up to 2MB per change log entry.

[0067] The change log buffer 202 may be sorted based on LBA values ​​to support efficient searches for read operations. Due to the length value 223, each change log entry may span more than one 4KB data block. Thus, searching for a corresponding L2P mapped change log entry (e.g., as part of a read operation) may also take the length value 223 into account. In some examples, the maximum length per change log entry may be selected such that search performance is not affected (e.g., search performance is relatively unaffected). For example, selecting an extremely high length per change log entry may slow down searches depending on write patterns and / or workloads that may cause overlapping operations (e.g., invalidating previously written data before merging the change log buffer 202 and the L2P table 201).

[0068] While the above examples describe host system memory operations, the change log buffer 202 and entries disclosed herein are applicable to garbage collection operations periodically performed by the memory system controller 115. If the memory system controller 115 performs a write operation as part of a garbage collection process, similar change log entries are placed into the change log buffer 202 as otherwise disclosed herein.

[0069] Figure 3 An example of a mapping diagram 300 supporting systems and techniques for updating L2P mappings according to examples as disclosed herein is shown. The mapping diagram 300 may be referenced by Figure 1 and 2 1 and 2. The system 100 and mapping diagram described herein are implemented in accordance with aspects of the present invention. For example, the mapping diagram 300 may be implemented by the memory system controller 115 and the memory device 130. An example mapping of data within the memory device 130 is shown in the L2P table 201, and changes to the mapping are shown in the change log buffer 202. Two open blocks 330-331 are shown, each having a number of data blocks 301-307 and 311-315, respectively. The blocks 330-331 may be instances of the virtual blocks 180, and the data blocks may be instances of the pages 175. The L2P table 201 contains entries corresponding to each of the data blocks 301-307 and 311-315 in the two open blocks 330-331 (e.g., virtual blocks). Each L2P table entry represents a PBA value 251-258 corresponding to a corresponding LBA value 231-238 (e.g., based on the position of the entry in the L2P table 201). The PBA value may be the physical address where data associated with the corresponding LBA value is stored.

[0070] Block b 330 may include data block k 301, data block n 303, data block n+1 304, and data block n+2 305 (eg, except Figure 3311). Block e331 includes data block m 311, data block m+1 312, and data block m+2 313 (e.g., and Figure 3 Other consecutive data blocks other than those data blocks depicted in the example of FIG. 1 ). Figure 3 In the example of , the change log buffer 202 contains three change log entries 321-323 and other entries. In some examples, each change log entry may include a certain number of bytes, such as 8 bytes, as well as other numbers of bytes. In the example where the change log entry is 8 bytes, the first 4 bytes may indicate the starting LBA (e.g., referred to as LBA 'd', for example, in Figure 3 4-byte example for purposes of illustrative clarity, although an actual LBA may be a sequence of bits representing the LBA, such as a 32-bit sequence in the 4-byte example).

[0071] The second 4 bytes may be used to indicate the starting PBA to which the data at the starting LBA address is now written. In this way, the change log entry provides an L2P mapping of the starting LBA to the starting PBA. The combination of the VBN value 222 and the offset value 224 may indicate the starting PBA. The length value 223 may indicate the number of adjacent (e.g., continuous) LBAs and PBAs (e.g., page 175, data blocks) from the starting LBA and the starting PBA (e.g., and including the starting LBA and PBA) to which the change log entry corresponds. Therefore, using the starting LBA and PBA and the length value 223, the change log entry may provide an updated L2P mapping of the starting LBA to the starting PBA and the next "length-1" adjacent LBA to PBA mapping (see Table 3 below).

[0072] Table 3

[0073] Starting LBA (included in change log entries) Starting PBA (indicated by VBN value 222 + offset value 224) Starting LBA+1 Starting PBA+1 …… …… Starting LBA + (length - 1) Starting PBA + (length - 1)

[0074] The change log entries may be limited to the top row of Table 3 above, along with a length value of 223 (not shown in Table 3) (e.g., and reference Figure 4 and 5 When updating the L2P table 201 with the change log entries, other L2P mappings to be updated in the L2P table 201 may be determined by the memory system controller 115 (eg, a dedicated application).

[0075] exist Figure 3In the example of , L2P table 201 may include an entry prior to merging with change log buffer 202. Change log entry 321 references LBA d, PBA value p (e.g., determined based on VBN value 222 and offset value 224), and length value 1. Thus, change log entry 321 may indicate that data for LBA d is written to data chunk p 306 and that the mapping of LBA d to PBA n indicated by LBA value 233 and PBA value 253 is to be updated to map LBA d to the PBA of data chunk p 306. Length value 1 indicates that one data chunk is associated with change log entry 321. As a result of writing data for LBA d to data chunk p 306, data chunk n 303 contains invalid data. Similarly, change log entry 322 may indicate that the L2P mapping of LBA d+2 to PBA n+2 is updated to a mapping from LBA d+2 to PBA p+1.

[0076] Change log entry 323 references LBA g, PBA value r, and length value 2. Based on length value 2, change log entry 323 may indicate an updated L2P mapping of LBA g and LBA g+1 (e.g., the starting LBA g and the next consecutive LBA g+1). Change log entry 323 indicates an updated L2P mapping of LBA g to the PBA of data chunk r 314, which may correspond to the starting PBA indicated by change log entry 323. Based on length value 2, change log entry 323 also indicates that LBA g+1 maps to the PBA of data chunk r+1 315 (e.g., the next consecutive PBA after the PBA of data chunk r 314).

[0077] Figure 4 An example of an entry in a map 400 that supports systems and techniques for updating L2P mappings according to examples as disclosed herein is shown. The map 400 may be referenced by Figure 1 and 2 1 and 2. The mapping diagram 400 may be implemented by aspects of the system 100 and mapping diagram described herein. For example, the mapping diagram 400 may be implemented by the memory system controller 115, which implements the change log buffer 202 and the memory device 130. The change log buffer 202 contains the LBA values ​​221, VBN values ​​222, length values ​​223, and offset values ​​224 as described above. The change log entries 401-402 include an additional field containing an overlap value 225. The overlap value 225 may be used to indicate whether the change log entry 401-402 has overlapped with other entries in the change log buffer 202 and is therefore no longer valid. That is, a first change log entry that has overlapped with a second change log entry (e.g., an updated L2P mapping that provides at least some of the same LBA values ​​221) may include an invalid L2P mapping.

[0078] For example, a second change log entry may be added to provide an updated L2P mapping, such as data for LBA 2-5. If the data for LBA 2-5 is overwritten to a new data block (e.g., new page 175) before change log buffer 202 is merged with L2P table 201, a second change log entry may be added to provide an updated L2P mapping for LBA 2-5 to the new data block. Therefore, because the second change log entry may provide a valid L2P mapping, the L2P mapping for LBA 2-5 provided by the first change log entry may be invalid. Therefore, the first change log entry may be updated to have an overlap value 225 1 to indicate that the L2P mapping indicated by the first change log entry is invalid and to indicate that the first change log entry is to be skipped to update L2P table 201.

[0079] exist Figure 4 In the example of , a pair of change log entries 401-402 are shown. Change log entry 401 includes LBA value 221 3, VBN value 222 2, length value 8, offset value 224X, and overlap value 225 0 (e.g., which may indicate that change log entry 401 is valid, but another bit value, such as '1', may be used). Figure 4 In the example of , the change log entry 401 (e.g., VBN value 222 2 and offset value X in conjunction with length value 8) may indicate the PBAs of data chunks 3-10 413-420 as this contiguous sequence of data chunks 413-420 starting with data chunk 3 413 (e.g., corresponding to the PBA indicated by VBN value 222 2 and offset value X) and continuing for a sequence of 7 additional contiguous data chunks (e.g., corresponding to the PBAs indicated by VBN value 222 2 and offset values ​​X+1, X+2, ..., up to X+7). Thus, the change log entry 401 may indicate an updated L2P mapping of LBAs 3-10 to the PBAs of data chunks 3-10, respectively. Additionally, as part of the merge, the change log entry 401 may be used to update the L2P table 201 based on the overlap value 225 being 0, thereby indicating that the data contained in data chunk 3-10 (corresponding to the change log entry 401) is valid.

[0080] Change log entry 402 includes LBA value 221 12, VBN value 222 2, length value 6, offset value 224X+8, and overlap value 225 0. Figure 4, change log entry 402 may similarly indicate the PBAs of data chunks 11-16 421-426 as this contiguous sequence of data chunks 421-426 beginning with data chunk 11 421 (e.g., corresponding to the PBA indicated by VBN value 222 2 and offset value X+9), and continuing for a sequence of 5 additional contiguous data chunks (e.g., corresponding to the PBAs indicated by VBN value 222 2 and offset values ​​X+10, ..., up to X+14). Thus, change log entry 402 may indicate an updated L2P mapping of LBAs 12-17 to the PBAs of data chunks 11-16, respectively. Additionally, as part of the merge, change log entry 402 may be used to update L2P table 201 based on overlap value 225 being 0, thereby indicating that the data contained in data chunks 11-16 (corresponding to change log entry 402) is valid.

[0081] exist Figure 4 In examples of , the change log entries indicate PBAs that are adjacent relative to each other (e.g., the last PBA corresponding to data block 10 indicated by change log entry 401 and the first PBA corresponding to the next consecutive data block 11 indicated by change log entry 402). In some examples, the set of PBAs indicated by the respective change log entries may be contiguous or non-contiguous relative to each other, contained in the same or different virtual blocks (e.g., having different VBN values ​​222), or a combination thereof. In some examples, the set of PBAs indicated by the respective change log entries may be non-contiguous due to writing dummy data to data blocks between the respective sets of PBAs, which may not cause the memory system to write an entry to the change log.

[0082] Figure 5 An example of a mapping diagram 500 supporting systems and techniques for updating L2P mappings according to examples as disclosed herein is shown. The mapping diagram 500 may be referenced by Figure 1 and 2 The system 100 and aspects of the mapping diagram described are implemented. For example, the mapping diagram 500 can be implemented by the memory system controller 115 implementing the change log buffer 202 and implemented by the memory device 130. An example of a change log entry in the change log buffer 202 is shown after writing new data for LBA 6-13 Figure 4 An instance of a change log entry in the change log buffer 202 .

[0083] For example, in Figure 4In the example of , first data corresponding to LBA 3-10 can be written to consecutive data chunks 3-10 (e.g., consecutive pages 175), and second data corresponding to LBA 12-17 can be written to consecutive data chunks 11-16. Change log entry 401 can be written (e.g., added) to change log buffer 202 to indicate updated mappings of LBA 3-10 to data chunks 3-10, respectively, and change log entry 402 can be written to change log buffer 202 to indicate updated L2P mappings of LBA 12-17 to data chunks 11-16, respectively.

[0084] exist Figure 5 In the example of , after writing the first data and the second data, the memory system controller 115 may write third data corresponding to at least a subset of the first data and / or a subset of the second data. For example, the third data corresponding to LBA 6-13 may be written to the continuous data block 17-24. Thus, the previously written data of LBA 6-13 as part of writing the first data and the second data may be invalidated due to the writing of the third data. Therefore, the memory system controller 115 may update the change log buffer 202 to indicate a valid L2P mapping of LBA 6-13 to data block 17-24.

[0085] For example, the memory system controller 115 may write one or more change log entries (e.g., change log entry 543 and change log entry 545) indicating updated L2P mappings of LBA 6-13 to PBAs of data blocks 17-24 to the change log buffer 202. The change log entries in the change log buffer 202 may be stored sequentially by LBA value to allow searching by LBA value in subsequent operations. This ordering of the change log entries may result in the write of the third data affecting the reference data. Figure 4 Both change log entries 401 and 402 are described using change log entries 541 - 546 .

[0086] For example, after writing the third data, the indication of the L2P mapping of LBA 3-5 to data block 3-5 by change log entry 401 may still be valid, however, the indication of the L2P mapping of LBA 6-10 to data block 6-10 may be invalid (e.g., data block 6-10 may include invalid data based on writing the third data). Similarly, the indication of the L2P mapping of the LBAs. Thus, the memory system controller 115 may update the change log entries 401 and 402 to indicate that data block 6-12 includes invalid data (e.g., the L2P mappings of LBA 6-10 to data block 6-10 and LBA 12-13 to data block 11-12 are invalid).

[0087] To update the change log entries 401 and 402 to support such indications of invalidity, the memory system controller 115 may divide (e.g., split) the change log entries 401 and 402 into a plurality of change log entries. For example, change log entries 541-546 in the change log buffer 202 include references to data chunks 3-23 413-433. Change log entry 401 may be divided into change log entry 541 and change log entry 542. Change log entry 541 may correspond to data associated with change log entry 401 that is still valid, and change log entry 542 may correspond to invalid data associated with change log entry 401. For example, change log entry 541 contains LBA value 3, VBN value 222 2, length value 2233, offset value 224X, and overlap value 225 0. This change log entry 541 points to data chunk 3-5 that is part of the first set of data chunks 3-10 413-420. Data chunks 3-5 413-415 contain valid data, and thus change log entry 541 may contain overlap value 225 0. That is, change log entry 541 may be used to update the L2P mapping information for LBA 3-5 in L2P table 201 based on including overlap value 225 0.

[0088] 413-420. The change log entry 542 contains an LBA value 221 6, a VBN value 222 2, a length value 223 5, an offset value 224X+3, and an overlap value 225 1. This change log entry 542 points to data block 6-10 that is part of the first set of data blocks 3-10 413-420. For example, the VBN value 222 2 and the offset value X+3 may indicate the PBA of data block 6 416 (e.g., the third data block after the starting data block 3 413). The length value 223 5 may indicate that LBA 6-10 and data block 6-10 are associated with the change log entry 542. Data block 6-10 416-420 may include invalid data based on writing the third data, and therefore the change log entry 542 contains an overlap value of 1. Therefore, the memory system controller 115 may skip to update the L2P table 201 using the change log entry 542.

[0089] The memory system controller 115 may write a change log entry 543 to the change log buffer 202 to indicate the updated LBA mapping for LBA 6-11. For example, the change log entry 543 contains an LBA value 221 6, a VBN value 222 2, a length value 223 6, an offset value 224X+14, and an overlap value 225 0. This change log entry 543 points to data blocks 17-22 427-432. For example, the VBN value 222 2 and the offset value X+14 may indicate the PBA of data block 17 427 (e.g., the fourteenth data block after the starting data block 3413). The length value 223 6 may indicate that LBA 6-11 and data block 17-22 are associated with the change log entry 542 (e.g., LBA 6-11 maps to data block 17-22). Data blocks 17-22 427-432 contain valid data, and therefore the change log entry 543 may contain an overlap value of 0. Therefore, the memory system controller 115 may use the change log entry 543 to update the L2P table 201. Note that in Figure 5 In the example of , the third data is written to the next consecutive data block after the second data, and the change log entry 543 is written with the VBN value 222 2 and the offset value 224X+14 to reflect the consecutive write. In some examples, the third data may be written to a non-consecutive data block of the virtual block corresponding to the VBN value 2 or to a data block of another open virtual block (e.g., corresponding to a VBN value 222 other than 2), and the VBN value 222 and the offset value 224 are written to reflect the starting PBA of the data block to which the third data is written.

[0090] Change log entry 402 may be divided into change log entry 544 and change log entry 545. Change log entry 544 may correspond to data associated with change log entry 402 that is still valid, and change log entry 545 may correspond to invalid data associated with change log entry 402. For example, change log entry 544 contains LBA value 12, VBN value 222 2, length value 223 2, offset value 224X+8, and overlap value 225 1. This change log entry 544 points to data block 11-12 that is part of the second set of data blocks 11-16 421-426. For example, VBN value 222 2 and offset value X+8 may indicate the PBA of data block 11 421 (e.g., the eighth data block after starting data block 3 413). Length value 223 2 may indicate that LBA 12-13 and data block 11-12 are associated with change log entry 544. Data blocks 11 - 12 421 - 422 may include invalid data based on writing the third data, and thus the change log entry 544 may contain an overlap value of 1. Therefore, the memory system controller 115 may skip using the change log entry 544 to update the L2P table 201 .

[0091] Change log entry 546 contains an LBA value of 14, a VBN value of 222 2, a length value 223 4, an offset value 224X+10, and an overlap value 225 0. This change log entry 546 points to data blocks 13-16 423-426 that are part of the second set of data blocks 11-16 421-426. For example, the VBN value 222 2 and the offset value X+10 may indicate the PBA of data block 13 423 (e.g., the tenth data block after the starting data block 3 413). The length value 223 4 may indicate that LBA 14-17 and data block 13-16 are associated with change log entry 546 (e.g., LBA 14-17 maps to data block 13-16). Data blocks 13-16 423-426 contain valid data, and therefore the change log entry 546 may contain an overlap value of 0. Therefore, the memory system controller 115 may update the L2P table 201 using the change log entry 546 .

[0092] exist Figure 5, writing the third data affects both change log entries 401 and 402 (e.g., writing the data of the LBAs indicated in both change log entries 401 and 402). Thus, the memory system controller 115 may write two change log entries to capture the updated L2P mapping for LBA 6-13 (e.g., because the change log entries are in sequential order of the LBAs). For example, the memory system controller 115 may write change log entry 543 as described to indicate the L2P mapping for LBA 6-11. The memory system controller 115 may also write change log entry 545 containing LBA value 12, VBN value 222 2, length value 223 2, offset value 224X+20, and overlap value 225 0 to the change log buffer. This change log entry 545 points to data block 23-24 433-434. For example, VBN value 222 2 and offset value X+20 may indicate a PBA of data block 23 433 (e.g., the twentieth data block after starting data block 3 413). Length value 223 2 may indicate that LBA 12-13 and data block 23-24 are associated with change log entry 545 (e.g., LBA 12-13 maps to data block 23-24). Data block 23-24 433-434 contains valid data, and thus change log entry 545 may contain an overlap value of 0. Therefore, the memory system controller 115 may use change log entry 545 to update the L2P table 201.

[0093] In some instances, if all data for an LBA indicated by a given change log entry is invalid (e.g., overwritten), the memory system controller 115 may update the change log entry by changing the overlap value 225 to 1 (e.g., rather than splitting the change log entry into multiple change log entries because the change log entry may no longer indicate an updated L2P mapping for any valid data).

[0094] In some examples, overlapping values ​​225 may be excluded from the change log entries, and an invalid (e.g., overwritten) change log entry may actually be indicated based on LBA value 221. For example, as part of splitting the change log entries 401, the memory system controller 115 may update the LBA value 221 of the change log entry 542 to indicate that the change log entry 542 includes an invalid L2P mapping and to indicate that the LBA of the change log entry 542 is to be skipped as part of updating the L2P table 201. For example, the memory system controller 115 may update the LBA value 221 to an out of range LBA, such as an LBA that exceeds the capacity of the memory system controller 115. Similarly, the memory system controller 115 may update the LBA value 221 of the change log entry 544 to indicate that the change log entry 544 includes an invalid L2P mapping and to indicate that the change log entry 544 is to be skipped as part of updating the L2P table 201 (e.g., to update the change log entry 544 to include the out of range LBA). That is, the memory system controller 115 may update the LBA value 221 of the change log entry to implicitly indicate that the change log entry is invalid. Here, change log entries 542 and 544 may be included at the end of the change log buffer 202 (e.g., based on entries included sequentially in terms of LBA value). By updating the change log entries 542 and 544 to include the LBA value 221 indicating the invalidity of the change log entry, the memory system controller 115 may avoid finding duplicate entries as part of searching the change log buffer 202 for the LBA value 221 of the change log entries 543 and 545.

[0095] In some examples, overlap value 225 may be excluded from the change log entry, and information about invalid (e.g., overwritten) change log entries may actually be removed from change log buffer 202. For example, as part of updating change log entry 401 based on writing the third data, memory system controller 115 may update change log entry 401 to change log entry 541, and remove information about change log entry 542 (e.g., avoid writing change log entry 542 to change log buffer 202). Similarly, as part of updating change log entry 402, memory system controller may update change entry 402 to change log entry 546, and remove information about change log entry 544 (e.g., avoid writing change log entry 544 to change log buffer 202). Here, because invalid change log entries may not be added to change log buffer 202, overlap value 225 may be unnecessary and removed from the change log entry (e.g., bits for overlap value 225 may be used for other purposes, such as length value 223, offset value 224, etc.).

[0096] Figure 6 A block diagram 600 is shown of a memory system 620 supporting systems and techniques for updating L2P mappings according to examples as disclosed herein. The memory system 620 may be as described in reference to Figures 1 to 5 Memory system 620 or its various components may be examples of means for performing various aspects of systems and techniques for updating L2P mappings as described herein. For example, memory system 620 may include write component 625, change log component 630, L2P component 635, mapping component 640, offset component 645, or any combination thereof. Each of these components may communicate with each other, directly or indirectly (e.g., via one or more buses).

[0097] The write component 625 may be configured or otherwise support means for writing data to a plurality of consecutive pages of a non-volatile memory device of a memory system. The change log component 630 may be configured or otherwise support means for writing an entry associated with updating L2P mapping information associated with the data to a change log, the entry of the change log including a first indication of a virtual block including the plurality of consecutive pages and a second indication of the number of the plurality of consecutive pages. The L2P component 635 may be configured or otherwise support means for updating the L2P mapping information associated with the data based at least in part on the entry of the change log.

[0098] In some examples, mapping component 640 may be configured to or otherwise support means for storing a mapping between a set of indices used as indications of virtual blocks in an entry and identifiers of the virtual blocks, wherein a first indication of the virtual block includes a first index mapped to the identifier of the virtual block.

[0099] In some examples, to support updating the L2P mapping information, the L2P component 635 may be configured or otherwise support means for determining a virtual block comprising a plurality of consecutive pages based at least in part on the first indication of the virtual block and the mapping. In some examples, to support updating the L2P mapping information, the L2P component 635 may be configured or otherwise support means for updating the L2P mapping information to map a logical address associated with the data to the plurality of consecutive pages based at least in part on the determination and the second indication of the number of the plurality of consecutive pages.

[0100] In some examples, write component 625 may be configured or otherwise support means for opening a second virtual block of the memory system for writing additional data. In some examples, mapping component 640 may be configured or otherwise support means for updating a mapping to map a second index in the set of indexes to a second identifier of the second virtual block based at least in part on opening the second virtual block.

[0101] In some examples, the first indication of the virtual block includes a first bit number that is less than a second bit number of the identifier of the virtual block.

[0102] In some examples, the entry of the change log includes a third indication of a page offset within the virtual block, the page offset indicating a first page of the plurality of consecutive pages to which the entry of the change log corresponds.

[0103] In some instances, the offset component 645 may be configured or otherwise support means for storing a current page offset within a virtual block prior to writing data. In some instances, the offset component 645 may be configured or otherwise support means for determining a page offset within the virtual block based at least in part on the current page offset and a third indication of a page offset within the virtual block, wherein the L2P mapping information is updated based at least in part on the determination. In some instances, the offset component 645 may be configured or otherwise support means for updating the current page offset to correspond to a next consecutive page after the plurality of consecutive pages based at least in part on updating the L2P mapping information.

[0104] In some examples, to support determining a page offset, offset component 645 can be configured or otherwise support means for adding the offset indicated by the third indication of the page offset to the current page offset.

[0105] In some examples, the third indication of the page offset includes a first bit quantity that is less than the second bit quantity of the page offset.

[0106] In some examples, the entry of the change log includes a third indication of whether data corresponding to the entry of the change log is valid. In some examples, L2P mapping information associated with the data is updated based at least in part on the third indication indicating that the data is valid.

[0107] In some instances, the entry of the change log includes a third indication of whether the data corresponding to the entry of the change log is valid. In some instances, the write component 625 may be configured to or otherwise support a component for: after writing the data, writing second data, the second data corresponding to at least a subset of data written to at least a subset of consecutive pages of a plurality of consecutive pages, the second data written to a second plurality of consecutive pages of the non-volatile memory device, wherein at least a subset of the data is invalidated at least in part based on writing the second data. The previous sentence does not make any sense. In some instances, the change log component 630 may be configured to or otherwise support a component for: writing one or more second entries to the change log, the one or more second entries of the change log each including a fourth indication of a virtual block or a second virtual block including a second plurality of consecutive pages, a fifth indication of a corresponding second number of the second plurality of consecutive pages, and a sixth indication that the second data is valid. In some instances, the change log component 630 may be configured to or otherwise support a component for updating the entry of the change log to indicate that at least a subset of the data is invalid. In some examples, L2P component 635 can be configured or otherwise support means for updating L2P mapping information associated with the second data based at least in part on one or more second entries of the change log. In some examples, to update the L2P mapping information, L2P component 635 can be configured or otherwise support means for skipping updating L2P mapping information associated with at least a subset of the data based at least in part on updating entries of the change log.

[0108] In some examples, to support updating entries of a change log, the change log component 630 may be configured to or otherwise support components for dividing the entries of the change log into a set of entries of the change log, the set of entries including a first entry corresponding to a portion of at least a subset of the data and a second entry corresponding to a valid portion of a second subset of the data, the first entry including a corresponding third indication that the portion of at least the subset of the data is invalid, and the second entry including a corresponding third indication that the portion of the second subset of the data is valid.

[0109] In some examples, the plurality of consecutive pages includes a plurality of consecutive 4 KB data blocks.

[0110] Figure 7 A flow chart showing a method 700 that supports systems and techniques for updating L2P mappings according to examples as disclosed herein is shown. The operations of the method 700 may be implemented by a memory system or components thereof as described herein. For example, the operations of the method 700 may be implemented by a memory system or components thereof as described herein. Figures 1 to 6The memory system described herein performs. In some examples, the memory system may execute instruction sets to control functional elements of the device to perform the described functions. Additionally or alternatively, the memory system may use dedicated hardware to perform aspects of the described functions.

[0111] At 705, the method may include writing data to a plurality of consecutive pages of a non-volatile memory device of a memory system. The operations of 705 may be performed according to examples as disclosed herein. In some examples, aspects of the operations of 705 may be described by reference to Figure 6 The write component 625 described performs.

[0112] At 710, the method may include writing an entry associated with updating L2P mapping information associated with the data to a change log, the entry of the change log including a first indication of a virtual block including a plurality of consecutive pages and a second indication of the number of the plurality of consecutive pages. The operations of 710 may be performed according to examples as disclosed herein. In some examples, aspects of the operations of 710 may be performed as described in reference to Figure 6 The described change log component 630 performs.

[0113] At 715, the method may include updating L2P mapping information associated with the data based at least in part on the entries of the change log. The operations of 715 may be performed according to examples as disclosed herein. In some examples, aspects of the operations of 715 may be as described in reference to Figure 6 The described L2P component 635 performs.

[0114] In some examples, an apparatus as described herein may perform one or more methods, such as method 700. An apparatus may include features, circuitry, logic, means, or instructions (e.g., a non-transitory computer-readable medium storing instructions executable by a processor) for performing the following aspects of the present disclosure, or any combination thereof:

[0115] Aspect 1: A method, apparatus, or non-transitory computer-readable medium comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for: writing data to a plurality of consecutive pages of a non-volatile memory device of a memory system; writing an entry associated with updating L2P mapping information associated with the data to a change log, the entry of the change log comprising a first indication of a virtual block comprising the plurality of consecutive pages and a second indication of the number of the plurality of consecutive pages; and updating the L2P mapping information associated with the data based at least in part on the entry of the change log.

[0116] Aspect 2: The method, apparatus, or non-transitory computer-readable medium of Aspect 1, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for storing a mapping between a set of indexes used as indications of virtual blocks in an entry and identifiers of the virtual blocks, wherein a first indication of the virtual block comprises a first index mapped to the identifier of the virtual block.

[0117] Aspect 3: A method, apparatus, or non-transitory computer-readable medium according to Aspect 2, wherein updating L2P mapping information includes operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for: determining a virtual block comprising multiple consecutive pages based at least in part on a first indication of the virtual block and a mapping, and updating the L2P mapping information to map a logical address associated with the data to the multiple consecutive pages based at least in part on the determination and a second indication of the number of the multiple consecutive pages.

[0118] Aspect 4: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 2 to 3, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for opening a second virtual block of a memory system for writing additional data, and updating a mapping based at least in part on opening the second virtual block to map a second index in the index set to a second identifier of the second virtual block.

[0119] Aspect 5: The method, apparatus, or non-transitory computer-readable medium of any one of aspects 1 to 4, wherein the first indication of the virtual block comprises a first bit quantity that is less than a second bit quantity of the identifier of the virtual block.

[0120] Aspect 6: A method, apparatus, or non-transitory computer-readable medium according to any one of aspects 1 to 5, wherein the entry of the change log includes a third indication of a page offset within the virtual block, the page offset indicating a first page of a plurality of consecutive pages to which the entry of the change log corresponds.

[0121] Aspect 7: The method, apparatus, or non-transitory computer-readable medium of Aspect 6, further comprising operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for: storing a current page offset within a virtual block before writing data; determining a page offset within the virtual block based at least in part on the current page offset and a third indication of a page offset within the virtual block, wherein L2P mapping information is updated based at least in part on the determination; and updating the current page offset to correspond to a next consecutive page after a plurality of consecutive pages based at least in part on updating the L2P mapping information.

[0122] Aspect 8: The method, apparatus, or non-transitory computer-readable medium of aspect 7, wherein determining the page offset comprises operations, features, circuit systems, logic, means, or instructions, or any combination thereof, for adding the offset indicated by the third indication of the page offset to the current page offset.

[0123] Aspect 9: The method, apparatus, or non-transitory computer-readable medium of any of Aspects 6 to 8, wherein the third indication of the page offset comprises a first bit quantity that is less than the second bit quantity of the page offset.

[0124] Aspect 10: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 9, wherein an entry in a change log includes a third indication of whether data corresponding to the entry in the change log is valid, and L2P mapping information associated with the data is updated based at least in part on the third indication that the data is valid.

[0125] Aspect 11: A method, apparatus, or non-transitory computer-readable medium according to any one of aspects 1 to 9, wherein an entry of the change log includes a third indication of whether data corresponding to the entry of the change log is valid, and the method, apparatus, and non-transitory computer-readable medium further include operations, features, circuit systems, logic, components, or instructions, or any combination thereof, for: writing second data after writing the data, the second data corresponding to at least a subset of the data written to at least a subset of the consecutive pages of a plurality of consecutive pages, the second data being written to a second plurality of consecutive pages of the non-volatile memory device, wherein at least a subset of the data is at least partially invalidating based on writing the second data; writing one or more second entries to a change log, the one or more second entries of the change log each including a fourth indication of a virtual block or a second virtual block including a second plurality of consecutive pages, a fifth indication of a corresponding second number of the second plurality of consecutive pages, and a sixth indication that the second data is valid; updating the entries of the change log to indicate that at least a subset of the data is invalid; and updating L2P mapping information associated with the second data based at least in part on the one or more second entries of the change log, wherein updating the L2P mapping information includes skipping updating the L2P mapping information associated with at least a subset of the data based at least in part on updating the entries of the change log.

[0126] Aspect 12: A method, apparatus, or non-transitory computer-readable medium according to Aspect 11, wherein the entries of the update change log include the following operations, features, circuit systems, logic, components, or instructions, or any combination thereof: dividing the entries of the change log into a set of entries of the change log, the set of entries including a first entry corresponding to a portion of at least a subset of the data and a second entry corresponding to a valid portion of a second subset of the data, the first entry including a corresponding third indication that the portion of at least the subset of the data is invalid, and the second entry including a corresponding third indication that the portion of the second subset of the data is valid.

[0127] Aspect 13: The method, apparatus, or non-transitory computer-readable medium of any one of aspects 1 to 12, wherein the plurality of consecutive pages comprises a plurality of consecutive 4KB blocks of data.

[0128] It should be noted that the described techniques include possible implementations, and that operations and steps may be rearranged or otherwise modified, and other implementations are possible. Additionally, portions from two or more of the methods may be combined.

[0129] The information and signals described herein may be represented using any of a variety of different techniques and technologies. For example, data, instructions, commands, information, signals, bits, or symbols of the signaling referenced throughout the above description may be represented by voltage, current, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof. Some diagrams may show a signal as a single signal; however, the signal may represent a bus of signals, where the bus may have various bit widths.

[0130] The terms "electronic communication," "conductive contact," "connection," and "coupling" may refer to a relationship between components that supports the flow of signals between the components. Components are considered to be in electronic communication with each other (or in conductive contact with each other, or connected to each other, or coupled to each other) if there is any conductive path between the components that can support the flow of signals between the components at any time. At any given time, the conductive paths between components that are in electronic communication with each other (or in conductive contact with each other, or connected to each other, or coupled to each other) may be open or closed based on the operation of the device that includes the connected components. The conductive paths between the connected components may be direct conductive paths between the components, or the conductive paths between the connected components may be indirect conductive paths that may include intermediate components such as switches, transistors, or other components. In some examples, the flow of signals between the connected components may be interrupted for a period of time, for example, using one or more intermediate components such as switches or transistors.

[0131] The term "coupled" (e.g., "electrically coupled") may refer to a condition of moving from an open circuit relationship between components, in which signals are currently unable to communicate between the components via a conductive path, to a closed circuit relationship between the components, in which signals are able to communicate between the components via the conductive path. If a component, such as a controller, couples other components together, the component initiates a change that allows signals to flow between the other components via a conductive path that previously did not permit signal flow.

[0132] The term "isolation" refers to a relationship between components where a signal cannot currently flow between the components. Components are isolated from one another if an open circuit exists between them. For example, components separated by a switch positioned between two components are isolated from one another when the switch is open. If a controller isolates two components, the controller implements a change that blocks a signal from flowing between the components using a conductive path that previously permitted the signal to flow.

[0133] The terms "if", "when", "based on", or "based at least in part on" are used interchangeably. In some instances, the terms "if", "when", "based on", or "based at least in part on" are interchangeable if they are used to describe a conditional action, a conditional process, or a connection between parts of a process.

[0134] The term "responsive to" may refer to a condition or action that occurs at least in part (if not completely) as a result of a prior condition or action. For example, a first condition or action may be performed, and a second condition or action may occur at least in part as a result of the prior condition or action occurring (whether directly after the first condition or action or after one or more other intermediate conditions or actions occur after the first condition or action).

[0135] The devices discussed herein, including memory arrays, may be formed on semiconductor substrates such as silicon, germanium, silicon-germanium alloys, gallium arsenide, gallium nitride, and the like. In some examples, the substrate is a semiconductor wafer. In some other examples, the substrate may be a silicon-on-insulator (SOI) substrate, such as silicon-on-glass (SOG) or silicon-on-sapphire (SOP), or an epitaxial layer of semiconductor material on another substrate. The conductivity of the substrate or a sub-region of the substrate may be controlled by doping using various chemical species including, but not limited to, phosphorus, boron, or arsenic. Doping may be performed during the initial formation or growth of the substrate, by ion implantation, or by any other doping method.

[0136] The switch assembly or transistor discussed herein may represent a field effect transistor (FET) and include a three-terminal device including a source, a drain, and a gate. The terminals may be connected to other electronic components by conductive materials such as metals. The source and drain may be conductive and may include heavily doped (e.g., degenerate) semiconductor regions. The source and drain may be separated by a lightly doped semiconductor region or channel. If the channel is n-type (i.e., most of the carriers are electrons), the FET may be referred to as an n-type FET. If the channel is p-type (i.e., most of the carriers are holes), the FET may be referred to as a p-type FET. The channel may be terminated by an insulating gate oxide. Channel conductivity may be controlled by applying a voltage to the gate. For example, applying a positive or negative voltage to an n-type FET or a p-type FET, respectively, may cause the channel to become conductive. If a voltage greater than or equal to the threshold voltage of the transistor is applied to the transistor gate, the transistor may be "turned on" or "activated". A transistor may be turned “off” or “deactivated” if a voltage less than the transistor's threshold voltage is applied to the transistor gate.

[0137] The descriptions set forth herein in conjunction with the accompanying drawings describe example configurations and do not represent all examples that may be implemented or within the scope of the claims. The term "exemplary" as used herein means "serving as an example, instance, or illustration" and is not "preferable" or "advantageous" over other examples. The specific implementation includes specific details that provide an understanding of the described technology. However, these technologies may be practiced without these specific details. In some examples, well-known structures and devices are shown in block diagram form to avoid obscuring the concepts of the described examples.

[0138] In the drawings, similar components or features may have the same reference label. In addition, various components of the same type may be distinguished by following the reference label with a dash and a second label that distinguishes between the similar components. If only the first reference label is used in the specification, the description may apply to any of the similar components having the same first reference label regardless of the second reference label.

[0139] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on a computer-readable medium or transmitted via a computer-readable medium. Other examples and implementations are within the scope of the present disclosure and the appended claims. For example, due to the nature of software, the functions described herein may be implemented using software executed by a processor, hardware, firmware, hard wiring, or a combination of any of these. The features implementing the functions may also be physically located at various locations, including being distributed so that parts of the functions are implemented at different physical locations.

[0140] For example, the various illustrative blocks and components described in conjunction with the disclosure herein may be implemented or performed using a general purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any processor, controller, microcontroller, or state machine. A processor may be implemented as a combination of computing devices (e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration).

[0141] As used herein (including in the claims), "or" as used in a list of items (e.g., a list of items followed by a phrase such as "at least one of" or "one or more of") indicates a list that includes endpoints, so that, for example, a list of at least one of A, B, or C means A or B or C or AB or AC or BC or ABC (i.e., A and B and C). Moreover, as used herein, the phrase "based on" should not be interpreted as referring to a closed set of conditions. For example, an exemplary step described as "based on condition A" may be based on both condition A and condition B without departing from the scope of the present disclosure. In other words, as used herein, the phrase "based on" should be interpreted in the same manner as the phrase "based at least in part on."

[0142] Computer-readable media include both non-transitory computer storage media and communication media, and the communication media include any media that facilitates the transfer of computer programs from one place to another. Non-transitory storage media can be any available media that can be accessed by a general or special-purpose computer. By way of example and not limitation, non-transitory computer-readable media may include RAM, ROM, electrically erasable programmable read-only memory (EEPROM), compact disk (CD) ROM or other optical disk storage device, magnetic disk storage device or other magnetic storage device, or any other non-transitory media that can be used to carry or store the desired program code components in the form of instructions or data structures and can be accessed by a general or special-purpose computer or a general or special-purpose processor. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technologies such as infrared, radio and microwaves are used to transmit software from a website, server or other remote source, the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwaves are included in the definition of media. As used herein, disk and disc include CD, laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of these are also included within the scope of computer readable media.

[0143] The description herein is provided to enable one skilled in the art to make or use the present disclosure. Various modifications of the present disclosure will be apparent to those skilled in the art, and the general principles defined herein may be applied to other variations without departing from the scope of the present disclosure. Therefore, the present disclosure is not limited to the examples and designs described herein, but is given the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A device comprising: Memory device; as well as a controller coupled to the memory device and configured to cause the apparatus to: writing data to a plurality of consecutive pages of a non-volatile memory device of a memory system; writing an entry associated with updating logical-to-physical mapping information associated with the data to a change log, the entry of the change log comprising a first indication of a virtual block comprising the plurality of consecutive pages and a second indication of a number of the plurality of consecutive pages; and The logical-to-physical mapping information associated with the data is updated based at least in part on the entries of the change log.

2. The device of claim 1, wherein the controller is further configured to cause the device to: A mapping between a set of indices used as an indication of the virtual block in the entry and an identifier of a virtual block is stored, wherein the first indication of the virtual block includes a first index mapped to the identifier of the virtual block.

3. The device of claim 2, wherein to update the logical-to-physical mapping information, the controller is configured to cause the device to: determining the virtual block comprising the plurality of consecutive pages based at least in part on the first indication of the virtual block and the mapping; and The logical-to-physical mapping information is updated to map a logical address associated with the data to the plurality of consecutive pages based at least in part on the determination and the second indication of the number of the plurality of consecutive pages.

4. The device of claim 2, wherein the controller is further configured to cause the device to: opening a second virtual block of the memory system for writing additional data; and The mapping is updated based at least in part on opening the second virtual block to map a second index in the set of indexes to a second identifier of the second virtual block.

5. The apparatus of claim 1, wherein the first indication of the virtual block comprises a first bit number that is less than a second bit number of an identifier of the virtual block.

6. The apparatus of claim 1, wherein the entry of the change log includes a third indication of a page offset within the virtual block, the page offset indicating a first page of the plurality of consecutive pages to which the entry of the change log corresponds.

7. The device of claim 6, wherein the controller is further configured to cause the device to: Before writing the data, storing a current page offset in the virtual block; determining the page offset within the virtual block based at least in part on the current page offset and the third indication of the page offset within the virtual block, wherein the logical-to-physical mapping information is updated based at least in part on the determination; and The current page offset is updated to correspond to a next consecutive page after the plurality of consecutive pages based at least in part on updating the logical-to-physical mapping information.

8. The apparatus of claim 7, wherein to determine the page offset, the controller is configured to cause the apparatus to: The offset indicated by the third indication of the page offset is added to the current page offset.

9. The apparatus of claim 6, wherein the third indication of the page offset comprises a first bit quantity that is less than a second bit quantity of the page offset.

10. The apparatus of claim 1, wherein: The entry of the change log includes a third indication of whether the data corresponding to the entry of the change log is valid, and The logical-to-physical mapping information associated with the data is updated based at least in part on the third indication that the data is valid.

11. The device of claim 1 , wherein the entry of the change log includes a third indication of whether the data corresponding to the entry of the change log is valid, and the controller is further configured to cause the device to: writing second data, subsequent to writing the data, the second data corresponding to at least a subset of the data written to at least a subset of the plurality of consecutive pages, the second data being written to a second plurality of consecutive pages of the non-volatile memory device, wherein at least the subset of the data is failed based at least in part on writing the second data; writing one or more second entries to the change log, the one or more second entries of the change log each comprising a fourth indication of the virtual block or a second virtual block comprising the second plurality of consecutive pages, a fifth indication of a respective second number of the second plurality of consecutive pages, and a sixth indication that the second data is valid; updating the entry of the change log to indicate that at least the subset of the data is invalid; and updating logical-to-physical mapping information associated with the second data based at least in part on the one or more second entries of the change log, wherein to update the logical-to-physical mapping information, the controller is configured to cause the device to: Updating logical-to-physical mapping information associated with at least the subset of the data is skipped based at least in part on updating the entry of the change log.

12. The device of claim 11, wherein to update the entry of the change log, the controller is configured to cause the device to: The entries of the change log are divided into a set of entries of the change log, the set of entries including a first entry corresponding to a portion of at least the subset of the data and a second entry corresponding to a valid portion of a second subset of the data, the first entry including a corresponding third indication that the portion of at least the subset of the data is invalid, and the second entry including a corresponding third indication that the portion of the second subset of the data is valid.

13. The apparatus of claim 1, wherein the plurality of consecutive pages comprises a plurality of consecutive 4 kilobyte blocks of data.

14. A non-transitory computer-readable medium storing code including instructions that, when executed by a processor of an electronic device, cause the electronic device to: writing data to a plurality of consecutive pages of a non-volatile memory device of a memory system; writing an entry associated with updating logical-to-physical mapping information associated with the data to a change log, the entry of the change log comprising a first indication of a virtual block comprising the plurality of consecutive pages and a second indication of a number of the plurality of consecutive pages; and The logical-to-physical mapping information associated with the data is updated based at least in part on the entries of the change log.

15. A non-temporary computer-readable medium according to claim 14, wherein the instructions, when executed by the processor of the electronic device, further cause the electronic device to store a mapping between a set of indexes used as indications of the virtual block in the entry and an identifier of the virtual block, wherein the first indication of the virtual block includes a first index mapped to the identifier of the virtual block.

16. The non-transitory computer-readable medium of claim 15, wherein the instructions for updating the logical-to-physical mapping information, when executed by the processor of the electronic device, cause the electronic device to: determining the virtual block comprising the plurality of consecutive pages based at least in part on the first indication of the virtual block and the mapping; and The logical-to-physical mapping information is updated to map a logical address associated with the data to the plurality of consecutive pages based at least in part on the determination and the second indication of the number of the plurality of consecutive pages.

17. The non-transitory computer-readable medium of claim 14, wherein the first indication of the virtual block comprises a first bit quantity that is less than a second bit quantity of an identifier of the virtual block.

18. The non-transitory computer-readable medium of claim 14, wherein the entry of the change log includes a third indication of a page offset within the virtual block, the page offset indicating a first page of the plurality of consecutive pages to which the entry of the change log corresponds.

19. The non-transitory computer-readable medium of claim 14, wherein: The entry of the change log includes a third indication of whether the data corresponding to the entry of the change log is valid, and The logical-to-physical mapping information associated with the data is updated based at least in part on the third indication that the data is valid.

20. A method comprising: writing data to a plurality of consecutive pages of a non-volatile memory device of a memory system; writing an entry associated with updating logical-to-physical mapping information associated with the data to a change log, the entry of the change log comprising a first indication of a virtual block comprising the plurality of consecutive pages and a second indication of a number of the plurality of consecutive pages; and The logical-to-physical mapping information associated with the data is updated based at least in part on the entries of the change log.