Memory system host data reset functionality

Through the cooperative operation of the memory system and the host system, data is reordered and merged, which solves the problem of memory system performance degradation, achieves data sequential arrangement and performance improvement, while maintaining the integrity of the host data.

CN118550847APending Publication Date: 2024-08-27MICRON TECHNOLOGY INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410198688.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-02-14
Filing Date
2024-02-22
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

In existing memory systems, data becomes non-sequential over time, resulting in performance degradation, and reset operations usually require erasing host data, affecting the integrity of user data.

Method used

Through cooperative operations, the memory system and the host system perform reset operations, reorder data into sequential order, and merge data within pages through refresh and garbage collection operations to avoid erasing host data.

Benefits of technology

The performance of the memory system is improved, the latency of accessing non-sequential data is reduced, the integrity of the host data is maintained, and unnecessary data erasure is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550847A_ABST
    Figure CN118550847A_ABST
Patent Text Reader

Abstract

The application is directed to memory system host data reset functionality. A reset operation may be performed to reset data in a memory system without erasing host data from the memory system. The memory system and host system may perform the reset operation to reorder the data across pages and blocks of the memory system in order to reduce holes in the data. The reset operation may enable the data to be reordered in order by performing a refresh operation on the block and performing a subsequent garbage collection operation to merge the data within the page of the refreshed block. The host system may recombine the logical block address associated with the block, and the memory system may perform the refresh operation and the garbage collection operation. The blocks may be refreshed according to an order of access frequencies and according to a measure of performance impact on the memory system.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Related references

[0002] This patent application claims the benefit of U.S. non-provisional patent application No. 18 / 441,945 filed by BI on February 14, 2024, entitled “MEMORY SYSTEM HOST DATA RESET FUNCTION” and U.S. provisional patent application No. 63 / 486,375 filed by BI on February 22, 2023, entitled “MEMORY SYSTEM HOST DATA RESET FUNCTION”, each of which is assigned to the present assignee and each of which is expressly incorporated herein by reference in its entirety.

[0003] The technical field relates to a memory system host data reset function. Background Art

[0004] Memory devices are widely used to store information in various 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 can be programmed to one of two supported states, often represented by a logical 1 or a logical 0. In some instances, a single memory cell can support more than two states, either of which can be stored. To access the stored information, the memory device can read (e.g., sense, detect, retrieve, determine) a state from the memory cell. To store information, the memory device can write (e.g., program, set, assign) a state to the 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-select 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 can lose the stored state when disconnected from the external power source. Summary of the invention

[0006] A method is described. The method may include: determining to perform a reset operation on a memory system to reorganize logical addresses and physical addresses of the memory system associated with storing host data; based on determining to perform the reset operation, allocating a portion of the memory system for temporarily storing the host data; performing a plurality of refresh operations on the host data in a plurality of blocks associated with the logical addresses of the memory system using the allocated portion of the memory system, wherein the plurality of refresh operations are performed on blocks in the plurality of blocks in an order based on a relative frequency of accessing the host data stored in the plurality of blocks; and based on performing the plurality of refresh operations, performing a garbage collection operation to consolidate the host data of pages from the plurality of blocks.

[0007] Another method is described. The method may include: determining, by a host system, to perform a reset operation on a memory system coupled to the host system to reorganize logical addresses and physical addresses of the memory system associated with storing host data; based on the determination to perform the reset operation, transmitting to the memory system a command to unmap temporary data stored in the memory system; allocating, by the host system, a portion of the memory system for temporarily storing the host data based on the determination to perform the reset operation; performing a reorganization operation on the logical addresses of the memory system associated with storing the host data, wherein the reorganization operation is performed on a block associated with the logical address based on a relative frequency of accessing the host data stored in the block; and updating a mapping between the logical addresses and the physical addresses of the memory system based on performing the reorganization operation.

[0008] An apparatus is described. The apparatus may include: a memory system including a plurality of blocks; and a controller coupled to the memory system and configured to cause the apparatus to: determine to perform a reset operation on the memory system to reorganize logical addresses and physical addresses of the plurality of blocks associated with storing host data; based on determining to perform the reset operation, allocate a portion of the memory system for temporarily storing the host data; perform a plurality of refresh operations on the host data in the plurality of blocks using the allocated portion of the memory system, wherein the plurality of refresh operations are performed on blocks in the plurality of blocks in an order based on a relative frequency of accessing the host data stored in the plurality of blocks; and based on performing the plurality of refresh operations, perform a garbage collection operation to consolidate the host data of pages from the plurality of blocks. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 An example of a system supporting a memory system host data reset function according to the examples disclosed herein is described.

[0010] Figure 2A and 2B An example of a data management graph supporting memory system host data reset functionality according to examples disclosed herein is illustrated.

[0011] Figure 3 An example of a process flow supporting memory system host data reset functionality according to examples disclosed herein is described.

[0012] Figure 4 A block diagram illustrating a memory system supporting memory system host data reset functionality according to examples disclosed herein.

[0013] Figure 5 A block diagram illustrating a host system supporting memory system host data reset functionality according to examples disclosed herein.

[0014] Figure 6 and 7 A flowchart illustrating one or more methods of supporting memory system host data reset functionality according to examples disclosed herein is described. DETAILED DESCRIPTION

[0015] In some cases, data stored in blocks of a memory system may become non-sequential over time due to repeated access operations performed on the blocks. For example, due to various access operations, data for a particular application may be spread (e.g., ordered) across non-sequential blocks or non-sequential pages of the blocks such that holes (e.g., lack of data) may exist in or between the data for the particular application. In some such cases, the memory system may perform a relatively large number of access operations to access the non-sequential data, thereby increasing the latency associated with accessing the non-sequential data and reducing the performance of the memory system. Over time, the performance of the memory system may continue to degrade such that a host system (e.g., a user of the host system) may perform a reset operation (e.g., a factory reset) on the memory system to improve the performance of the memory system by reordering the data (e.g., sequentially) and clearing the holes. However, the reset operation may include erasing host data (e.g., user data) from the memory system, which may be undesirable for the host system.

[0016] According to the examples described herein, a reset operation may be performed on the data in the memory system to reset the data distribution in the logical addressing space and the physical addressing space without erasing the host data from the memory system. The reset operation may be performed by the memory system and the host system (e.g., coupled to the memory system) in collaboration to reset the data in the memory system so that the data is sorted in sequence across the pages and blocks of the memory system, thereby clearing the holes in the data. The reset operation may enable the data to be reordered in sequence without erasing the host data by performing a refresh operation on the block and performing a subsequent garbage collection operation to merge the data within the page of the refreshed block. In some instances, as part of performing the reset operation, the host system may reorganize the logical block address corresponding to the block, and the memory system may perform a refresh operation and a garbage collection operation. In some embodiments, the block may be refreshed according to the order of access frequency and according to a measure of the performance impact on the memory system. In some cases, the system data may be identified as being sorted in sequence and there are no holes, so that the reset operation may not be performed on the system data. In addition to reducing host data erasure, performing refresh operations as described herein may further improve data storage such that data may be accessed without increasing relative latency or decreasing relative performance at the memory system, among other advantages.

[0017] At the beginning, as reference Figure 1 Features of the present disclosure are described in the context of the described systems, devices, and circuits. Figure 2A , 2B Features of the present disclosure are described in the context of the data management diagrams and process flows described in and 3. These and other features of the present disclosure are further described in relation to reference Figures 4 to 7 The memory system host data reset function is further illustrated and described in the context of a device diagram and flow chart.

[0018] Figure 1 An example of a system 100 supporting memory system host data reset functionality according to examples disclosed herein is illustrated. The system 100 includes a host system 105 coupled to a memory system 110.

[0019] 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.

[0020] 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.

[0021] The 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. The 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, the host system 105 may include an application configured to communicate with the 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 the 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). The host system 105 may use the memory system 110, for example, to write data to the memory system 110 and read data from the memory system 110. Although 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 .

[0022] 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).

[0023] 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 (eg, non-volatile memory cells, volatile memory cells, or any combination thereof). Figure 1 Although two memory devices 130-a and 130-b are shown in the example of , 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.

[0024] The memory system controller 115 may be coupled and communicate 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 examples as described herein. The memory system controller 115 may also be coupled and communicate 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, and 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 (eg, data packets or other signals) associated with the memory device 130 into corresponding signals for the host system 105 .

[0025] 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.

[0026] 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 having 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.

[0027] 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 to the memory system controller 115 herein. 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 internal storage or computation, such as internal storage or computation related to the functions attributed to the memory system controller 115 herein. Additionally or alternatively, the local memory 120 may be used as a cache for the memory system controller 115. For example, if the data is read from or written to the memory device 130, 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., updating) according to a cache policy by the host system 105 (e.g., with reduced latency relative to the memory device 130).

[0028] Although Figure 1 The example of the memory system 110 in FIG. 1 has been illustrated 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.

[0029] 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 (RAM) (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.

[0030] In some examples, the memory devices 130 may include a local controller 135 (e.g., on the same die or within the same package) 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 illustrated, memory device 130-a may include a local controller 135-a, and memory device 130-b may include a local controller 135-b.

[0031] 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.

[0032] 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.

[0033] In some cases, a plane 165 may refer to a group of blocks 170, and in some cases, concurrent 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, concurrent 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, parallel operations in different planes 165 may be subject to one or more restrictions, such as parallel operations on memory cells in 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).

[0034] 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).

[0035] 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 simultaneously 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 simultaneously 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.

[0036] 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 designate the data retained in the old block 170 as invalid or obsolete, and may update a logical-to-physical (L2P) mapping table to associate the logical address (e.g., LBA) of the data 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.

[0037] In some cases, an L2P mapping table may be maintained and data may be marked as valid or invalid at a page-level granularity, and a page 175 may contain valid data, invalid data, or no data. Invalid data may be data that is outdated because a newer 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 (e.g., a logical address referenced by the host system 105). Valid data may be the latest 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.

[0038] 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, scrubbing, 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 referred to as "garbage collection" may be invoked to allow the block 170 to be erased and released 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 may be used to store subsequent data (eg, data subsequently received from the host system 105).

[0039] The host system 105 and the memory system 110 may communicate various types of information. For example, the host system 105 and the memory system 110 may communicate host data and system data. The host data may be associated with a user of the host system 105 (e.g., application data, installed applications, user media, user data), and the system data may be associated with operating the memory system 110 (e.g., factory settings, operating system, system settings). In some examples, the host system 105 and the memory system 110 may communicate information associated with different access frequencies (e.g., different probabilities of being overwritten or failing within a time period, for example), which may correspond to different types of information. For example, hot information (e.g., hot host data, hot system data) may be associated with a higher access frequency relative to other types of information. Cold information (e.g., cold data, cold metadata) may be associated with a lower access frequency relative to other types of information. Various other "degrees" of temperature (e.g., warm information) may be associated with various ranges of access frequencies between the range of hot information and the range of cold information. That is, each type of information may be associated with a corresponding access frequency of the information.

[0040] The system 100 may include any number of non-transitory computer-readable media that support memory system host data reset functionality. For example, the host system 105 (e.g., host system controller 106), the memory system 110 (e.g., memory system controller 115), or the memory device 130 (e.g., 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 to the host system 105, the memory system 110, or the memory device 130 herein. For example, such instructions, when executed by the host system 105 (e.g., host system controller 106), the memory system 110 (e.g., memory system controller 115), or the memory device 130 (e.g., local controller 135), may cause the host system 105, the memory system 110, or the memory device 130 to perform the associated functions described herein.

[0041] According to examples as described herein, a reset operation may be performed on data in the memory system 110 to reset the data without erasing the host data from the memory system 110. The reset operation may be performed by the host system 105 and the memory system 110 in cooperation to reset the data in the memory system 110 so that the data may be sequentially sorted across the pages 175 and blocks 170 of the memory system 110, thereby clearing holes in the data. The reset operation may enable the data to be reordered sequentially without erasing the host data from the memory system 110 by performing a refresh operation on the blocks 170 and performing a subsequent garbage collection operation to merge the data within the pages 175 of the refreshed blocks 170. In some examples, as part of performing the reset operation, the host system 105 may reorganize the logical block addresses associated with the blocks 170, and the memory system 110 may perform a refresh operation and a garbage collection operation. In some embodiments, the blocks 170 may be refreshed according to the order of access frequency and according to a measure of the performance impact on the memory system 110. In some cases, the system data may be identified as being ordered sequentially and without holes, such that a reset operation may not be performed on the system data. In addition to preventing the erasure of host data, performing a refresh operation as described herein may also further improve data storage such that data may be accessed without increasing relative latency or decreasing relative performance at the memory system 110, among other advantages.

[0042] Figure 2A and 2B An example of data management diagrams 200-a and 200-b supporting a memory system host data reset function according to an example disclosed herein is illustrated. The data management diagrams 200-a and 200-b may be implemented with reference to Figure 1For example, data management diagrams 200-a and 200-b may include a host system 205 and a memory system 210, which may be referenced as Figure 1 An example of a host system 105 and a memory system 110 are depicted. Data management diagram 200-a illustrates an example of data in memory system 210 before a reset operation is performed, and data management diagram 200-b illustrates an example of data in memory system 210 after a reset operation is performed.

[0043] The memory system 210 may include a memory system controller 215, which may be a reference Figure 1 2. The memory system controller 215 may be configured to communicate with the host system 205 to perform operations on the memory system 210. For example, the memory system controller 215 may be configured to receive data, commands, or mapping information from the host system 205. The memory system 210 may also include a memory array 220, wherein the memory array 220 includes non-volatile storage elements (e.g., NAND memory cells). The memory array 220 may include a number of blocks, each of which may be addressed by a logical block address and a physical block address. Each block may include a number of pages, wherein each page may be configured to store data.

[0044] The data management diagrams 200-a and 200-b may include a logical block address map 225 (e.g., logical block address maps 225-a and 225-b, respectively) and a physical block address map 230 (physical block address maps 230-a and 230-b, respectively). The logical block address map 225 describes the logical block address corresponding to each block of the memory array 220. In addition, the logical block address map 225 describes the type of data stored in each block corresponding to each logical block address. The physical block address map 230 describes the physical block address corresponding to each block of the memory array 220. In addition, the physical block address map 230 describes the type of data stored in each block corresponding to each physical block address. Each logical block address in the logical block address map 225 may be mapped to a corresponding physical block address in the physical block address map 230. In addition, the data management diagrams 200-a and 200-b describe the type of data stored in each block corresponding to the logical block address and the physical block address. The data may be host data or system data (eg, factory settings, operating system, operational settings), where the host data may include user media (eg, photos, files, videos), application data, installed applications, or user data.

[0045] Data management diagram 200-a illustrates memory system 210 before performing a reset operation. For example, data is non-sequential across blocks, so that there are holes (e.g., no data) across blocks. In addition, data is not sorted sequentially by type of data, so that different types of data can be intermixed across subsets of blocks. According to data management diagram 200-a, data in access blocks can be associated with a relatively large number of access operations, thereby causing a relatively increased latency associated with performing access operations. However, data management diagram 200-b illustrates memory system 210 after performing a reset operation. For example, data is sorted sequentially across blocks, so that there are no holes across blocks. In addition, data is sorted sequentially by type of data, so that subsets of data of the same type are connected across blocks. According to data management diagram 200-b, data in access blocks can be associated with a relatively small number of access operations, so that the latency associated with performing access operations is relatively reduced.

[0046] Performing a reset operation on the data may first include determining to perform a reset operation. In some cases, the host system 205 may perform a reset operation based on an instruction from a user of the host system 205. In other cases, the memory system 210 may determine to perform a reset operation based on determining that a reduction in performance meets a threshold. In some examples, the host system 205 or the memory system 210 may determine to perform a reset operation (e.g., and notify other systems) based on a trigger. For example, the trigger may include the number of access operations performed on the memory system 210, the duration since the previous reset operation was performed (e.g., or the initial duration after factory release), or when the performance level of the memory system 210 meets a threshold.

[0047] In some cases, performing a reset operation may include unmapping temporary data stored at the memory system 210, which may include erasing or overwriting the temporary data. In some examples, the temporary data may be stored in a volatile memory portion (e.g., a cache) of the memory system 210, and unmapping the temporary data may include clearing the volatile memory portion. Unmapping the temporary data may free up additional memory for use by the reset operation.

[0048] In some cases, performing a reset operation may include allocating a portion of the memory system 210 for temporarily storing data (e.g., host data) (e.g., a data bridge) during the performance of the reset operation. Allocating the portion may include identifying the number of logical block addresses and physical block addresses of the memory array 220 for storing the data based on the size of the determined data. For example, the host system 205 may allocate a number of logical block addresses, and the memory system 210 may allocate a number of physical block addresses corresponding to the number of blocks determined for temporarily storing data. In some examples, the allocated portion may be a portion of the memory system 210 that was originally intended for recovery but is reused as the allocated portion. For example, the host system 205 may repurpose a recovery partition (e.g., a swap partition) of logical block addresses to serve as the allocated portion. In some such cases, the allocated portion may be used to provide additional space for transferring data between pages or blocks of the memory system 210 during the performance of the reset operation (e.g., when space within the memory system 210 is limited).

[0049] In some cases, the host system 205 may suspend (e.g., disable) write operations during the execution of the reset operation. For example, the host system 205 may determine to suspend the transmission of write commands to the memory system 210 for a duration associated with the execution of the reset operation. Additionally or alternatively, the memory system 210 may suspend background memory management operations (e.g., flushing, garbage collection, updating, internal data transfers) for the duration.

[0050] As part of the reset operation, the host system 205 may perform a reorganization operation on the logical block addresses of the logical block address map 225. For example, the host system 205 may reorder the data or remap the logical block addresses so that the data can be ordered sequentially across the logical block addresses and reduce holes between related data. In some cases, the host system 205 may perform the reorganization operation based on the order of the relative access frequency of the data. For example, cold data (e.g., data that is relatively infrequently accessed) may be reorganized first, followed by hot data (e.g., data that is relatively frequently accessed). In some instances, identifying the relative access frequency of the data may include identifying the type of the data. For example, an installed application may be associated with cold data, while application data may be associated with hot data. In some instances, identifying the relative access frequency of the data may include identifying a version number or stream identifier associated with the data, wherein an earlier version number or stream identifier may indicate that the data is cold data. In some instances, the host system 205 may perform the reorganization operation based on the order of the performance metrics of the blocks. For example, blocks identified as having degraded performance for a given duration may be reassembled relatively early in the order. Additionally or alternatively, blocks identified as having a large performance impact on the memory system 210 may be reassembled relatively early in the order. In some cases, the host system 205 may perform a reassemble operation on logical block addresses associated with storing host data and may not perform a reassemble operation on logical block addresses associated with storing system data.

[0051] After performing the reorganization operation, the host system 205 may update the mapping associated with the logical block address. For example, the host system 205 may update the logical block address map 225 to indicate the reorganized logical block address. In other examples, the host system 205 may update the mapping between the logical block address and the physical block address (e.g., L2P table).

[0052] As part of the reset operation, the memory system 210 may perform a number of refresh operations on the blocks. For example, the memory system 210 may refresh the data so that the data can be sorted sequentially across the blocks and without holes. In some cases, the memory system 210 may perform refresh operations based on the order of the relative access frequency of the data. For example, cold data (e.g., data that is accessed relatively infrequently) may be refreshed first, followed by hot data (e.g., data that is accessed relatively frequently). In some instances, identifying the relative access frequency of the data may include identifying the type of data. For example, an installed application may be associated with cold data, while application data may be associated with hot data. In some instances, identifying the relative access frequency of the data may include identifying a version number or stream identifier associated with the data, wherein an earlier version number or stream identifier may indicate that the data is cold data. In some instances, the memory system 210 may perform refresh operations on blocks associated with storing host data and may not perform refresh operations on blocks associated with storing system data. For example, the system data may not be refreshed due to the system data being sorted sequentially and having fewer holes in the associated data.

[0053] In some cases, the memory system 210 may perform refresh operations based on the order of performance metrics of the blocks. For example, blocks identified as having reduced performance over a given duration may be refreshed relatively early in the order. Additionally or alternatively, blocks identified as having a large impact on the performance of the memory system 210 may be refreshed relatively early in the order. The refresh operation may be performed according to a first granularity, wherein the first granularity is a per-block basis. For example, the refresh operation may refresh all blocks.

[0054] In some cases, the memory system 210 may use the allocated portion for performing a refresh operation based on identifying that it does not have space to perform a refresh operation. For example, the memory system 210 may transfer the portion of data to be refreshed from the memory array 220 to the allocated portion, thereby refreshing the data and then transferring the refreshed data back to the memory array 220. Refreshing the data using the allocated portion may enable the memory system 210 to perform a refresh operation when the memory system 210 does not have space within the memory array 220 to refresh the data.

[0055] After performing the refresh operation, the memory system 210 may perform a garbage collection operation on the data in the refreshed blocks. The garbage collection operation may include identifying valid data from the pages of each block (e.g., a source block), transferring the valid data from each block to another corresponding block (e.g., a target block), and erasing the data from each block after transferring the valid data. Performing the garbage collection operation may merge the data in the refreshed blocks so that there are no holes among the pages of each block, thereby improving data storage. In some cases, the system data may not undergo a garbage collection operation due to the system data being sorted sequentially within the blocks and the absence of holes in the pages. The garbage collection operation may be performed according to a second granularity that is smaller than the first granularity. For example, the garbage collection operation may be performed on a per-page basis so that the data from each page is merged.

[0056] According to examples as described herein, performing a reset operation may support data in both the logical address space and the physical address space to be sorted sequentially and improve storage at the memory system 210. Therefore, accessing data after performing a reset operation may involve relatively fewer access operations, thereby reducing the duration associated with performing access operations. In addition, performing relatively fewer access operations may support fewer transfers of mappings (e.g., L2P tables) between memory devices (e.g., between non-volatile memory devices and volatile memory devices) of the memory system 210. Therefore, performing a reset operation may reduce latency and improve the overall performance of the memory system 210. In addition, the reset operation may enable the host data at the memory system 210 to be maintained while resetting the memory system 210 (e.g., resetting to factory settings). Therefore, the host data is not erased when performing a reset operation.

[0057] Figure 3 An example of a process flow 300 for supporting a memory system host data reset function according to an example disclosed herein is described. The process flow 300 may be described with reference to Figure 2A and 2B The process flow 300 may depict operations at a host system 305 and a memory system 310, which may be referenced as follows: Figure 2A and 2B 300. In the following description of process flow 300, methods, techniques, processes, and operations may be performed in a different order or at a different time. Additionally, process flow 300 may remove certain operations, or other operations may be added to process flow 300. According to the operations as described herein, a reset operation may be performed to reset the data in memory system 310 without erasing the host data from memory system 310. Additionally, the reset operation may support relatively reduced latency and improved performance of memory system 310.

[0058] At 315, the host system 305 may transmit a reset command to the memory system 310 to instruct the memory system 310 to begin performing a reset operation. In some cases, the host system 305 may determine to transmit the reset command based on determining to perform a reset operation.

[0059] At 320, the memory system 310 may transmit an indication of the detection of a performance degradation of the memory system 310 to the host system 305. In some cases, the memory system 310 may determine the performance degradation by comparing the performance of the memory system 310 to a threshold value.

[0060] At 325, the host system 305 can determine to perform a reset operation. In some cases, the host system 305 can determine to perform a reset operation based on receiving an indication of performance degradation from the memory system 310.

[0061] At 330, the memory system 310 may determine to perform a reset operation. In some cases, the memory system 310 may determine to perform a reset operation based on receiving a reset command from the host system 305. In some examples, the memory system 310 and the host system 305 may concurrently determine to perform a reset operation so that steps 325 and 330 may occur concurrently.

[0062] At 335, the host system 305 can, based on determining to perform a reset operation, transmit an unmap command to the memory system 310. In some implementations, the host system 305 can transmit the unmap command based on identifying the amount of desired space in the memory system 310 for performing the reset operation (e.g., for storing data during the performance of the reset operation).

[0063] At 340, the memory system 310 may unmap the temporary data stored in the memory system 310 based on receiving the unmap command from the host system 305. In some cases, unmapping the temporary data may include erasing or overwriting the temporary data.

[0064] At 345, the host system 305 can allocate a portion of the memory system 310 for performing the reset operation. In some cases, the host system 305 can allocate a number of logical block addresses to serve as the allocated portion based on the size of the data determined to be refreshed.

[0065] At 350, the memory system 310 may allocate a portion of the memory system 310 for performing the reset operation. In some cases, the memory system 310 may allocate a number of physical block addresses to serve as the allocated portion based on determining the size of the data to be refreshed. In some examples, the memory system 310 may allocate the portion based on receiving an indication of the allocated portion (e.g., the allocated logical block address) from the host system 305. In some embodiments, the memory system 310 and the host system 305 may concurrently allocate the portion of the memory system 310 so that steps 345 and 350 may occur concurrently.

[0066] At 355, the host system 305 may suspend (eg, disable) write operations and / or background operations on the memory system 310. For example, the host system 305 may determine to refrain from transmitting write commands to the memory system 310 for a duration associated with performing a reset operation.

[0067] At 360 , the host system 305 may transmit a command to the memory system 310 instructing the memory system 310 to suspend write operations and / or background memory management operations.

[0068] At 365, the memory system 310 may suspend write operations and / or background memory management operations such that the memory system 310 may determine to refrain from executing write operations and / or background memory management operations (eg, operations including accessing data) for a duration associated with the reset operation.

[0069] At 370, the host system 305 may perform a reorganization operation on the logical block addresses associated with the memory system 310. The host system 305 may reorganize the logical block addresses to remove holes in the data and to order the data sequentially across the logical block addresses.

[0070] At 375 , the host system 305 may transmit the updated map of logical block addresses to the memory system 310 .

[0071] At 380, the memory system 310 may perform a refresh operation on the data in the blocks of the memory system 310. For example, the memory system 310 may refresh the data in the physical block addresses to remove holes in the data (e.g., at a block level granularity) and to order the data in sequence across the blocks of the memory system 310. In some cases, the memory system 310 may perform the refresh operation based on receiving a mapping from the host system 305.

[0072] At 385, the memory system 310 may perform a garbage collection operation on the refreshed data in the memory system 310. The memory system 310 may perform garbage collection to remove holes in the data (eg, at a page level granularity) and sort the data in sequence across pages of blocks of the memory system 310.

[0073] At 390 , the memory system 310 may transmit an indication to the host system 305 that the reset operation is complete.

[0074] Performing a reset operation as described herein may support sequential ordering of data, thereby improving storage at the memory system 310. Thus, accessing data after performing a reset operation may involve relatively fewer access operations, thereby reducing the duration associated with performing access operations. Thus, performing a reset operation may reduce latency and improve the overall performance of the memory system 310. Additionally, the reset operation may enable the host data at the memory system 310 to be maintained while resetting the memory system 310 (e.g., resetting to factory settings). Thus, the host data is not erased when performing a reset operation.

[0075] Figure 4 A block diagram 400 illustrates a memory system 420 that supports memory system host data reset functionality according to examples disclosed herein. The memory system 420 may be a reference Figures 1 to 3 Memory system 420 or its various components may be examples of devices for performing various aspects of memory system host data reset functionality as described herein. For example, memory system 420 may include a determination component 425, an allocation component 430, a refresh component 435, a garbage collection component 440, a disabling component 445, a receiving component 450, a mapping component 455, or any combination thereof. Each of these components may communicate with each other directly or indirectly (e.g., via one or more buses).

[0076] The determination component 425 may be configured as or otherwise support means for determining to perform a reset operation on a memory system to reorganize logical addresses and physical addresses of the memory system associated with storing host data. The allocation component 430 may be configured as or otherwise support means for allocating a portion of the memory system for temporarily storing the host data based on determining to perform the reset operation. The refresh component 435 may be configured as or otherwise support means for performing a plurality of refresh operations on the host data in a plurality of blocks associated with the logical addresses of the memory system using the allocated portion of the memory system, wherein the plurality of refresh operations are performed on blocks in the plurality of blocks in an order based on a relative frequency of accessing the host data stored in the plurality of blocks. The garbage collection component 440 may be configured as or otherwise support means for performing a garbage collection operation to merge the host data of pages from the plurality of blocks based on performing the plurality of refresh operations.

[0077] In some examples, disabling component 445 can be configured as or otherwise support means for disabling functionality for performing write operations to the memory system for a duration associated with performing the reset operation.

[0078] In some examples, to support disabling functionality, disabling component 445 may be configured as or otherwise support means for disabling functionality for performing write operations indicated by write commands from a host system coupled to the memory system.

[0079] In some examples, to support disabling functionality, disabling component 445 can be configured as or otherwise support means for disabling functionality for performing background memory management operations by the memory system.

[0080] In some examples, the determining component 425 can be configured as or otherwise support means for determining that a reduction in access performance of the memory system satisfies a threshold, wherein determining to perform the reset operation is based on identifying that the reduction in access performance satisfies the threshold.

[0081] In some examples, receiving component 450 can be configured as or otherwise support means for receiving a command to perform the reset operation from a host system coupled to the memory system, wherein determining to perform the reset operation is based on receiving the command.

[0082] In some examples, to support allocating the portion, allocation component 430 may be configured as or otherwise support means for allocating a number of physical addresses of the memory system for temporarily storing host data based on determining a size of the host data to be temporarily stored.

[0083] In some examples, the receiving component 450 may be configured as or otherwise support means for receiving a command from a host system coupled to the memory system to unmap temporary data stored by the memory system based on determining to perform the reset operation. In some examples, the mapping component 455 may be configured as or otherwise support means for unmapping the temporary data from the memory system based on receiving the command.

[0084] In some examples, the allocation component 430 may be configured as or otherwise support a device for identifying a portion of a non-volatile memory device of the memory system dedicated to recovery to serve as the allocated portion of the memory system, wherein allocating the portion of the memory system for temporarily storing the host data is based on identifying the portion of the non-volatile memory device.

[0085] In some examples, to support performing the multiple refresh operations, refresh component 435 may be configured as or otherwise support means for identifying that a first portion of the host data is relatively infrequently accessed and a second portion of the host data is relatively frequently accessed. In some examples, to support performing the multiple refresh operations, refresh component 435 may be configured as or otherwise support means for refreshing the first portion of the host data before refreshing the second portion of the host data.

[0086] In some examples, identifying whether the first portion or the second portion of the host data is relatively infrequently or frequently accessed is based on identifying a version number associated with the first portion or the second portion of the host data, respectively.

[0087] In some examples, identifying whether the first portion or the second portion of the host data is relatively infrequently or frequently accessed is based on a flow identifier associated with the first portion or the second portion of the host data, respectively.

[0088] In some examples, identifying whether the first portion or the second portion of the host data is relatively infrequently or frequently accessed is based on determining whether a reduction in access performance of the first portion or the second portion of the host data satisfies a threshold, respectively.

[0089] In some examples, to support performing a garbage collection operation, the garbage collection component 440 may be configured as or otherwise support means for identifying valid data from a page of a source block of the plurality of blocks. In some examples, to support performing a garbage collection operation, the garbage collection component 440 may be configured as or otherwise support means for transferring valid data from a source block of the plurality of blocks to a target block. In some examples, to support performing a garbage collection operation, the garbage collection component 440 may be configured as or otherwise support means for erasing data from a source block.

[0090] In some examples, the plurality of refresh operations are performed according to a first granularity and the garbage collection operations are performed according to a second granularity that is smaller than the first granularity. In some examples, the first granularity is a per-block basis and the second granularity is a per-page basis.

[0091] In some examples, mapping component 455 can be configured as or otherwise support means for updating a mapping between the logical addresses and the physical addresses of the memory system based on a host system coupled to the memory system reorganizing the logical addresses.

[0092] In some instances, logical addresses and physical addresses of a memory system do not include system data.

[0093] Figure 5 A block diagram 500 is shown of a host system 520 that supports memory system host data reset functionality according to examples disclosed herein. The host system 520 may be a reference Figures 1 to 3 5. The host system 520 or its various components may be examples of devices for performing various aspects of the memory system host data reset functionality as described herein. For example, the host system 520 may include a determination component 525, a transmission component 530, an allocation component 535, a reorganization component 540, a mapping component 545, a disabling component 550, a receiving component 555, or any combination thereof. Each of these components may communicate with each other directly or indirectly (e.g., via one or more buses).

[0094] The determining component 525 may be configured as or otherwise support means for determining, by a host system, to perform a reset operation on a memory system coupled to the host system to reorganize logical addresses and physical addresses of the memory system associated with storing host data. The transmitting component 530 may be configured as or otherwise support means for transmitting a command to the memory system to unmap temporary data stored in the memory system based on the determination to perform the reset operation. The allocating component 535 may be configured as or otherwise support means for allocating, by the host system, a portion of the memory system for temporarily storing the host data based on the determination to perform the reset operation. The reorganizing component 540 may be configured as or otherwise support means for performing a reorganizing operation on the logical addresses of the memory system associated with storing the host data, wherein the reorganizing operation is performed on a block associated with the logical address based on a relative frequency of accessing the host data stored in the block. The mapping component 545 may be configured as or otherwise support means for updating a mapping between the logical addresses and the physical addresses of the memory system based on performing the reorganizing operation.

[0095] In some examples, transmitting component 530 may be configured or otherwise support means for transmitting an indication of the mapping to the memory system based on updating the mapping.

[0096] In some examples, the reorganization operation includes a garbage collection operation on the logical address of the memory system.

[0097] In some examples, disabling component 550 can be configured as or otherwise support means for disabling functionality for performing write operations to the memory system for a duration associated with performing the reset operation.

[0098] In some examples, receiving component 555 may be configured as or otherwise support means for receiving an indication from the memory system that a reduction in access performance of the memory system satisfies a threshold, wherein determining to perform the reset operation is based on receiving the indication.

[0099] In some examples, transmitting component 530 can be configured or otherwise support means for transmitting a second command to the memory system to perform a reset operation, wherein determining to perform the reset operation is based on receiving the second command.

[0100] In some examples, to support allocating the portion, allocation component 535 may be configured as or otherwise support means for allocating a number of logical addresses of the memory system for temporarily storing host data based on determining a size of the host data to be temporarily stored.

[0101] In some examples, the allocation component 535 may be configured as or otherwise support a device for identifying a portion of a non-volatile memory device of the memory system dedicated to recovery to serve as the allocated portion of the memory system, wherein allocating the portion of the memory system for temporarily storing the host data is based on identifying the portion of the non-volatile memory device.

[0102] In some examples, to support performing a reassembly operation, the reassembly component 540 may be configured as or otherwise support means for identifying that the first portion of the host data is relatively infrequently accessed and the second portion of the host data is relatively frequently accessed. In some examples, to support performing a reassembly operation, the reassembly component 540 may be configured as or otherwise support means for reassembling the first portion of the host data prior to reassembling the second portion of the host data.

[0103] In some examples, identifying whether the first portion or the second portion of the host data is relatively infrequently or frequently accessed is based on identifying a version number associated with the first portion or the second portion of the host data, respectively.

[0104] In some examples, identifying whether the first portion or the second portion of the host data is relatively infrequently or frequently accessed is based on a flow identification value associated with the first portion or the second portion of the host data, respectively.

[0105] In some instances, logical addresses and physical addresses of a memory system do not include system data.

[0106] Figure 6 A flowchart illustrating a method 600 for supporting a memory system host data reset function according to an example disclosed herein is provided. The operations of the method 600 may be implemented by a memory system or components thereof as described herein. For example, the operations of the method 600 may be implemented by reference to Figures 1 to 4 The 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 functions described below. Additionally or alternatively, the memory system may use dedicated hardware to perform aspects of the functions described below.

[0107] At 605, the method may include determining to perform a reset operation on the memory system to reorganize the logical addresses and physical addresses of the memory system associated with storing host data. The operation of 605 may be performed according to examples disclosed herein. In some examples, the reference Figure 4 Aspects of the operations of determination component 425 performing 605 are described.

[0108] At 610, the method may include allocating a portion of the memory system for temporarily storing the host data based on determining to perform the reset operation. The operation of 610 may be performed according to examples disclosed herein. In some examples, the operation may be performed by reference to Figure 4 Aspects of the operations of allocation component 430 are described as performing 610 .

[0109] At 615, the method may include performing a plurality of refresh operations on the host data in a plurality of blocks associated with the logical address of the memory system using the allocated portion of the memory system, wherein the plurality of refresh operations are performed on blocks in the plurality of blocks in an order based on a relative frequency of accessing the host data stored in the plurality of blocks. The operations of 615 may be performed according to examples as disclosed herein. In some examples, the operations may be performed by Figure 4 Aspects of the operations of refresh component 435 performance 615 are described.

[0110] At 620, the method may include performing a garbage collection operation to merge the host data of the pages from the plurality of blocks based on performing the plurality of refresh operations. The operation of 620 may be performed according to examples disclosed herein. In some examples, the operation may be performed by reference to Figure 4 Aspects of the operations of garbage collection component 440 performing 620 are described.

[0111] In some examples, an apparatus as described herein may perform one or more methods, such as method 600. The 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:

[0112] Aspect 1: A method, apparatus, or non-transitory computer-readable medium includes operations, features, circuit systems, logic, means, or instructions, or any combination thereof, for: determining to perform a reset operation on a memory system to reorganize logical addresses and physical addresses of the memory system associated with storing host data; allocating a portion of the memory system for temporarily storing the host data based on determining to perform the reset operation; performing a plurality of refresh operations on the host data in a plurality of blocks associated with the logical addresses of the memory system using the allocated portion of the memory system, wherein the plurality of refresh operations are performed on blocks in the plurality of blocks in an order based on a relative frequency of accessing the host data stored in the plurality of blocks; and performing a garbage collection operation to merge the host data of pages from the plurality of blocks based on performing the plurality of refresh operations.

[0113] Aspect 2: The method, apparatus, or non-transitory computer-readable medium of Aspect 1, further comprising operations, features, circuit systems, logic, devices, or instructions, or any combination thereof, for the following operations: disabling functionality for performing write operations on the memory system for a duration associated with performing the reset operation.

[0114] Aspect 3: The method, apparatus, or non-transitory computer-readable medium of Aspect 2, further comprising operations, features, circuit systems, logic, means, or instructions, or any combination thereof, for the following operations: disabling functionality for performing a write operation indicated by a write command from a host system coupled to the memory system.

[0115] Aspect 4: A method, apparatus, or non-transitory computer-readable medium according to any of Aspects 2 to 3, further comprising operations, features, circuit systems, logic, means, or instructions, or any combination thereof, for the following operations: disabling functionality for performing background memory management operations through a memory system.

[0116] Aspect 5: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 4, further comprising operations, features, circuit systems, logic, devices, or instructions, or any combination thereof, for the following operations: determining that a reduction in access performance of the memory system satisfies a threshold, wherein determining to perform the reset operation is based on identifying that the reduction in access performance satisfies the threshold.

[0117] Aspect 6: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 5, further comprising operations, features, circuit systems, logic, devices, or instructions, or any combination thereof, for the following operations: receiving a command to perform the reset operation from a host system coupled to the memory system, wherein determining to perform the reset operation is based on receiving the command.

[0118] Aspect 7: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 6, further comprising operations, features, circuit systems, logic, means, or instructions, or any combination thereof, for the following operations: allocating a number of physical addresses of a memory system for temporarily storing host data, the number being based on determining the size of the host data to be temporarily stored.

[0119] Aspect 8: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 7, further comprising operations, features, circuit systems, logic, devices, or instructions, or any combination thereof, for the following operations: receiving a command from a host system coupled to the memory system to unmap temporary data stored in the memory system based on determining to perform the reset operation; and unmapping the temporary data from the memory system based on receiving the command.

[0120] Aspect 9: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 8, further comprising operations, features, circuit systems, logic, devices, or instructions, or any combination thereof, for the following operations: identifying a portion of a non-volatile memory device of the memory system dedicated to recovery to serve as the allocated portion of the memory system, wherein allocating the portion of the memory system for temporarily storing the host data is based on identifying the portion of the non-volatile memory device.

[0121] Aspect 10: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 9, further comprising operations, features, circuit systems, logic, devices, or instructions, or any combination thereof, for: identifying that a first portion of the host data is accessed relatively infrequently and a second portion of the host data is accessed relatively frequently; and refreshing the first portion of the host data before refreshing the second portion of the host data.

[0122] Aspect 11: A method, apparatus, or non-transitory computer-readable medium according to Aspect 10, wherein identifying whether the first portion or the second portion of the host data is relatively infrequently or frequently accessed is based on identifying a version number associated with the first portion or the second portion of the host data, respectively.

[0123] Aspect 12: A method, apparatus, or non-transitory computer-readable medium according to any of Aspects 10 to 11, wherein identifying whether the first portion or the second portion of the host data is accessed relatively infrequently or frequently is based on a stream identifier associated with the first portion or the second portion of the host data, respectively.

[0124] Aspect 13: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 10 to 12, wherein identifying whether the first portion or the second portion of the host data is accessed relatively infrequently or frequently is based on determining whether a reduction in access performance of the first portion or the second portion of the host data satisfies a threshold, respectively.

[0125] Aspect 14: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 13, wherein performing a garbage collection operation includes operations, features, circuit systems, logic, devices, or instructions, or any combination thereof, for: identifying valid data from a page of a source block among a plurality of blocks; transferring the valid data from a source block among the plurality of blocks to a target block; and erasing data from the source block.

[0126] Aspect 15: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 14, wherein the multiple refresh operations are performed according to a first granularity, and the garbage collection operations are performed according to a second granularity smaller than the first granularity, the first granularity being a per-block basis and the second granularity being a per-page basis.

[0127] Aspect 16: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 1 to 15, further comprising operations, features, circuit systems, logic, devices, or instructions, or any combination thereof, for the following operations: reorganizing the logical addresses based on a host system coupled to the memory system, and updating the mapping between the logical addresses and the physical addresses of the memory system.

[0128] Aspect 17: The method, apparatus, or non-transitory computer-readable medium of any of aspects 1 to 16, wherein the logical addresses and physical addresses of the memory system do not include system data.

[0129] Figure 7 A flowchart illustrating a method 700 for supporting a memory system host data reset function according to an example disclosed herein is provided. The operations of the method 700 may be implemented by a host system or components thereof as described herein. For example, the operations of the method 700 may be implemented by a host system or components thereof as described herein. Figures 1 to 3 The host system described in and 5 performs. In some examples, the host system can execute the instruction set to control the functional elements of the device to perform the described functions. In addition or alternatively, the host system can use dedicated hardware to perform aspects of the functions described below.

[0130] At 705, the method may include determining, by a host system, to perform a reset operation on a memory system coupled to the host system to reorganize logical addresses and physical addresses of the memory system associated with storing host data. The operation of 705 may be performed according to examples disclosed herein. In some examples, the operation may be performed by reference to Figure 5 Aspects of the operations of determination component 525 performing 705 are described.

[0131] At 710, the method may include, based on determining to perform the reset operation, transmitting to the memory system a command to unmap temporary data stored in the memory system. The operation of 710 may be performed according to examples disclosed herein. In some examples, the operation may be performed by reference to Figure 5 The transmit component 530 is described to perform aspects of the operations of 710 .

[0132] At 715, the method may include allocating, by the host system based on the determination to perform the reset operation, a portion of the memory system for temporarily storing the host data. The operation of 715 may be performed according to examples disclosed herein. In some examples, the reference Figure 5 Aspects of the operations of allocation component 535 are described as performing 715 .

[0133] At 720, the method may include performing a reorganization operation on the logical address of the memory system associated with storing the host data, wherein the reorganization operation is performed on the block associated with the logical address based on a relative frequency of accessing the host data stored in the block. The operation of 720 may be performed according to examples disclosed herein. In some examples, the operation may be performed by reference to Figure 5 The described reassembly component 540 performs aspects of the operations of 720 .

[0134] At 725, the method may include updating a mapping between the logical address and the physical address of the memory system based on performing the reorganization operation. The operation of 725 may be performed according to examples disclosed herein. In some examples, the reference Figure 5 Aspects of the operations of 725 are described as being performed by mapping component 545 .

[0135] In some examples, an apparatus as described herein may perform one or more methods, such as method 700. The 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:

[0136] Aspect 18: A method, apparatus or non-transitory computer-readable medium includes operations, features, circuit systems, logic, means or instructions or any combination thereof for the following operations: determining by a host system to perform a reset operation on a memory system coupled to the host system to reorganize logical addresses and physical addresses of the memory system associated with storing host data; based on the determination to perform the reset operation, sending a command to the memory system to unmap temporary data stored in the memory system; allocating a portion of the memory system for temporarily storing the host data based on the determination to perform the reset operation by the host system; performing a reorganization operation on the logical addresses of the memory system associated with storing the host data, wherein the reorganization operation is performed on blocks associated with the logical addresses based on a relative frequency of accessing the host data stored in the blocks; and updating a mapping between the logical addresses and the physical addresses of the memory system based on performing the reorganization operation.

[0137] Aspect 19: The method, apparatus, or non-transitory computer-readable medium of Aspect 18, further comprising operations, features, circuit systems, logic, means, or instructions, or any combination thereof, for: based on updating the mapping, transmitting an indication of the mapping to the memory system.

[0138] Aspect 20: The method, apparatus, or non-transitory computer-readable medium of any of Aspects 18-19, wherein a reorganization operation comprises a garbage collection operation on the logical addresses of the memory system.

[0139] Aspect 21: A method, apparatus, or non-transitory computer-readable medium according to any of Aspects 18 to 20, further comprising operations, features, circuit systems, logic, devices, or instructions, or any combination thereof, for the following operations: disabling functionality for performing write operations on the memory system for a duration associated with performing the reset operation.

[0140] Aspect 22: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 18 to 21, further comprising operations, features, circuit systems, logic, devices, or instructions, or any combination thereof, for the following operations: receiving an indication from the memory system that a reduction in access performance to the memory system satisfies a threshold, wherein determining to perform the reset operation is based on receiving the indication.

[0141] Aspect 23: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 18 to 22, further comprising operations, features, circuit systems, logic, devices, or instructions, or any combination thereof, for the following operations: transmitting a second command to perform a reset operation to the memory system, wherein determining to perform the reset operation is based on receiving the second command.

[0142] Aspect 24: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 18 to 23, wherein allocating the portion includes operations, features, circuit systems, logic, means, or instructions, or any combination thereof, for the following operations: allocating a number of logical addresses of a memory system for temporarily storing host data, the number being based on determining the size of the host data to be temporarily stored.

[0143] Aspect 25: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 18 to 24, further comprising operations, features, circuit systems, logic, devices, or instructions, or any combination thereof, for the following operations: identifying a portion of a non-volatile memory device of the memory system dedicated to recovery to serve as the allocated portion of the memory system, wherein allocating the portion of the memory system for temporarily storing the host data is based on identifying the portion of the non-volatile memory device.

[0144] Aspect 26: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 18 to 25, wherein performing the reassembly operation includes operations, features, circuit systems, logic, devices, or instructions, or any combination thereof, for: identifying that a first portion of the host data is accessed relatively infrequently and a second portion of the host data is accessed relatively frequently; and reassembling the first portion of the host data before reassembling the second portion of the host data.

[0145] Aspect 27: A method, apparatus, or non-transitory computer-readable medium according to Aspect 26, wherein identifying whether the first portion or the second portion of the host data is accessed relatively infrequently or frequently is based on identifying a version number associated with the first portion or the second portion of the host data, respectively.

[0146] Aspect 28: A method, apparatus, or non-transitory computer-readable medium according to any one of Aspects 26 to 27, wherein identifying whether the first portion or the second portion of the host data is accessed relatively infrequently or frequently is based on a stream identification value associated with the first portion or the second portion of the host data, respectively.

[0147] Aspect 29: The method, apparatus, or non-transitory computer-readable medium of any of Aspects 18 to 28, wherein the logical addresses and physical addresses of the memory system do not include system data.

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

[0149] The information and signals described herein may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits, or symbols that may be 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 figures may illustrate signaling as a single signal; however, a signal may represent a bus of signals, where the bus may have a variety of bit widths.

[0150] The terms "electronic communication," "conductive contact," "connection," and "coupling" may refer to a relationship between components that supports the flow of electrons 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, based on the operation of the device containing the connected components, the conductive path between the components that are electronically connected (or in conductive contact or connected or coupled) to each other may be an open circuit or a closed circuit. The conductive path between the connected components may be a direct conductive path between the components, or the conductive path between the connected components may be an indirect conductive path that may include an intermediate component such as a switch, transistor, or other component. In some instances, the signal flow between the connected components may be interrupted for a period of time, for example, using one or more intermediate components such as a switch or transistor.

[0151] 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 be transmitted between components via conductive paths, to a closed circuit relationship between components, in which signals are able to be transmitted between components via conductive paths. If a component, such as a controller, couples other components together, then the component initiates a change that allows signals to flow between the other components via conductive paths that previously did not permit signal flow.

[0152] 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 the components. 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.

[0153] 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.

[0154] 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).

[0155] In addition, the term "directly in response to" or "directly in response to" may refer to a condition or action occurring as a direct result of a previous condition or action. In some instances, a first condition or action may be performed, and a second condition or action may occur directly as a result of a previous condition or action occurring that is independent of whether other conditions or actions occur. In some instances, a first condition or action may be performed, and a second condition or action may occur directly as a result of a previous condition or action occurring, so that no other intermediate conditions or actions occur between an earlier condition or action and a second condition or action, or a limited number of one or more intermediate steps or actions occur between an earlier condition or action and a second condition or action. Unless otherwise specified, any condition or action described herein as "based on", "at least partially based on" or "in response to" some other step, action, event or condition may be performed in addition or alternatively (e.g., in an alternative instance) "directly in response to" or "directly in response to" such other condition or action.

[0156] 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 instances, the substrate is a semiconductor wafer. In some instances, the substrate is a semiconductor wafer. In some other instances, 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.

[0157] The switch component 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 (e.g., 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. 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), then 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 voltage or a negative voltage to an n-type FET or a p-type FET, respectively, may cause the channel to become conductive. When 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 "off" or "deactivated" if a voltage less than the transistor's threshold voltage is applied to the transistor gate.

[0158] The description set forth herein in conjunction with the accompanying drawings describes example configurations and does 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 "preferred to" or "superior to" 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 cases, well-known structures and devices are shown in block diagram form to avoid confusing the concepts of the described examples.

[0159] 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 applies to any of the similar components having the same first reference label, regardless of the second reference label.

[0160] 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, hardwiring, or any combination of these. Features implementing the functions may also be physically located at various locations, including being distributed so that portions of the functions are implemented at different physical locations.

[0161] For example, the various illustrative blocks and components described in conjunction with the disclosure herein may be implemented or executed as 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 conventional processor, controller, microcontroller, or state machine. The processor may also 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).

[0162] As used herein, "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"), included in the claims, indicates an inclusive list, such 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). In addition, as used herein, the phrase "based on" should not be construed 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 similarly to the phrase "based at least in part on".

[0163] Computer-readable media include both non-transitory computer storage media and communication media including any media that facilitates the transfer of computer programs from one place to another. Non-transitory storage media may 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 device in the form of an instruction or data structure and can be accessed by a general or special-purpose computer or a general or special-purpose processor. And, 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, then 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 video 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.

[0164] The description herein is provided to enable a person skilled in the art to make or use the present disclosure. Various modifications to 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 method comprising: determining to perform a reset operation on a memory system to reorganize logical addresses and physical addresses of the memory system associated with storing host data; allocating a portion of the memory system for temporarily storing the host data based on determining to perform the reset operation; performing a plurality of refresh operations on the host data in a plurality of blocks associated with the logical address of the memory system using the allocated portion of the memory system, wherein the plurality of refresh operations are performed on blocks in the plurality of blocks in an order based on a relative frequency of accessing the host data stored in the plurality of blocks; and Based on performing the plurality of refresh operations, a garbage collection operation is performed to consolidate the host data from pages of the plurality of blocks.

2. The method according to claim 1, further comprising: Functionality for performing write operations to the memory system is disabled for a duration associated with performing the reset operation.

3. The method of claim 2, wherein deactivating the functionality comprises: The functionality for performing the write operation indicated by a write command from a host system coupled to the memory system is disabled.

4. The method of claim 2, wherein deactivating the functionality comprises: The functionality for performing background memory management operations by the memory system is disabled.

5. The method of claim 1, further comprising: A determination is made that a reduction in access performance of the memory system satisfies a threshold, wherein determining to perform the reset operation is based on identifying that the reduction in access performance satisfies the threshold.

6. The method of claim 1, further comprising: A command to perform the reset operation is received from a host system coupled to the memory system, wherein determining to perform the reset operation is based on receiving the command.

7. The method of claim 1, further comprising: receiving, from a host system coupled to the memory system, a command to unmap temporary data stored by the memory system based on the determination to perform the reset operation; and Based on receiving the command, the temporary data is unmapped from the memory system.

8. The method of claim 1 , wherein allocating the portion comprises: A number of the logical addresses of the memory system is allocated for temporarily storing the host data, the number being based on determining a size of the host data to be temporarily stored.

9. The method of claim 1, further comprising: receiving, from a host system coupled to the memory system, a command to unmap temporary data stored by the memory system based on the determination to perform the reset operation; and Based on receiving the command, the temporary data is unmapped from the memory system.

10. The method of claim 1, further comprising: A portion of a nonvolatile memory device of the memory system dedicated to recovery is identified to serve as the allocated portion of the memory system, wherein allocating the portion of the memory system for temporarily storing the host data is based on identifying the portion of the nonvolatile memory device.

11. The method of claim 1 , wherein performing the plurality of refresh operations comprises: identifying that a first portion of the host data is relatively infrequently accessed and a second portion of the host data is relatively frequently accessed; and The first portion of the host data is refreshed before refreshing the second portion of the host data.

12. The method of claim 11, wherein identifying whether the first portion or the second portion of the host data is relatively infrequently or frequently accessed is based on identifying a version number or a stream identification value associated with the first portion or the second portion of the host data, respectively.

13. The method of claim 11, wherein identifying whether the first portion or the second portion of the host data is relatively infrequently or frequently accessed is based on determining whether a reduction in access performance of the first portion or the second portion of the host data satisfies a threshold, respectively.

14. The method of claim 1, wherein performing the garbage collection operation comprises: identifying valid data from the page of a source block of the plurality of blocks; transferring the valid data from the source block among the plurality of blocks to a target block; and Data is erased from the source block.

15. The method of claim 1, wherein: The plurality of refresh operations are performed according to a first granularity, and the garbage collection operations are performed according to a second granularity that is smaller than the first granularity, and The first granularity is a per block basis and the second granularity is a per page basis.

16. The method of claim 1, further comprising: A mapping between the logical addresses and the physical addresses of the memory system is updated based on a host system coupled to the memory system reorganizing the logical addresses.

17. The method of claim 1, wherein the logical addresses and physical addresses of the memory system do not include system data.

18. A method comprising: determining, by a host system, to perform a reset operation on a memory system coupled to the host system to reorganize logical addresses and physical addresses of the memory system associated with storing host data; based on determining to perform the reset operation, transmitting to the memory system a command to unmap temporary data stored in the memory system; allocating, by the host system based on the determination to perform the reset operation, a portion of the memory system for temporarily storing the host data; performing a reorganization operation on the logical address of the memory system associated with storing the host data, wherein the reorganization operation is performed on the block associated with the logical address based on a relative frequency of accessing the host data stored in the block; and Based on performing the reorganization operation, a mapping between the logical addresses and the physical addresses of the memory system is updated.

19. The method of claim 18, further comprising: Based on updating the mapping, transmitting an indication of the mapping to the memory system.

20. The method of claim 18, wherein the reorganization operation comprises a garbage collection operation on the logical addresses of the memory system.

21. The method of claim 18, further comprising: Functionality for performing write operations to the memory system is disabled for a duration associated with performing the reset operation.

22. The method of claim 18, further comprising: An indication is received from the memory system that a reduction in access performance to the memory system satisfies a threshold, wherein determining to perform the reset operation is based on receiving the indication.

23. The method of claim 18, further comprising: A second command to perform the reset operation is transmitted to the memory system, wherein a determination to perform the reset operation is based on receiving the second command.

24. The method of claim 18, wherein allocating the portion comprises: A number of the logical addresses of the memory system is allocated for temporarily storing the host data, the number being based on determining a size of the host data to be temporarily stored.

25. The method of claim 18, further comprising: A portion of a nonvolatile memory device of the memory system dedicated to recovery is identified to serve as the allocated portion of the memory system, wherein allocating the portion of the memory system for temporarily storing the host data is based on identifying the portion of the nonvolatile memory device.

26. The method of claim 18, wherein performing the reorganization operation comprises: identifying that a first portion of the host data is relatively infrequently accessed and a second portion of the host data is relatively frequently accessed; and The first portion of the host data is reassembled before the second portion of the host data.

27. The method of claim 26, wherein identifying whether the first portion or the second portion of the host data is relatively infrequently or frequently accessed is based on identifying a version number or a stream identification value associated with the first portion or the second portion of the host data, respectively.

28. The method of claim 18, wherein the logical addresses and physical addresses of the memory system do not include system data.

29. An apparatus comprising: a memory system comprising a plurality of blocks; and A controller coupled to the memory system and configured to cause the device to perform the following operations: determining to perform a reset operation on the memory system to reorganize logical addresses and physical addresses of the plurality of blocks associated with storing host data; allocating a portion of the memory system for temporarily storing the host data based on determining to perform the reset operation; performing a plurality of refresh operations on the host data in the plurality of blocks using the allocated portion of the memory system, wherein the plurality of refresh operations are performed on blocks in the plurality of blocks in an order based on a relative frequency of accessing the host data stored in the plurality of blocks; and Based on performing the plurality of refresh operations, a garbage collection operation is performed to consolidate the host data from pages of the plurality of blocks.

Citation Information

Patent Citations

  • Memory system host data reset function

    US20240281373A1