Using a common pool of blocks for user data and a system data structure
Abstract
A method includes identifying, by a processing device, a common pool of blocks comprising a first plurality of blocks allocated to system data and a second plurality of blocks allocated to user data; determining whether user data has been written to the second plurality of blocks within a threshold period of time; and responsive to determining that the user data has not been written to the second plurality of blocks within the threshold period of time, allocating a block from the second plurality of blocks to the first plurality of blocks.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method, comprising: identifying, by a processing device, a common pool of blocks of a memory device, the common pool of blocks comprising a first plurality of blocks allocated to system data and a second plurality of blocks allocated to user data; responsive to determining that the user data has not been written to the second plurality of blocks within a threshold period of time, allocating a block from the second plurality of blocks to the first plurality of blocks of the memory device, wherein the block is designated for the user data before the allocating and designated for the system data after the allocating; and responsive to identifying, among the first plurality of blocks, an unused block, reallocating the unused block from the first plurality of blocks to the second plurality of blocks, wherein the unused block is designated for the system data before the reallocating and designated for the user data after the reallocating.
- Claim 2Depends on #1
The method of claim 1, further comprising: determining whether a size of data of the first plurality of blocks satisfies a garbage collection performance condition.
- Claim 3Depends on #2
The method of claim 2, wherein determining whether the size of data of the first plurality of blocks satisfies the garbage collection performance condition comprises: determining a size of valid data stored in a block, wherein the block is included in the first plurality of blocks.
- Claim 4Depends on #2
The method of claim 2, further comprising: responsive to determining that the size of data of the first plurality of blocks satisfies the garbage collection performance condition, allocating an unused block from the common pool to the first plurality of blocks.
- Claim 5Depends on #2
The method of claim 2, further comprising: responsive to determining that the size of data of the first plurality of blocks satisfies the garbage collection performance condition, performing a garbage collection operation on a first block of the first plurality of blocks allocated to a system data structure; and allocating the first block to the second plurality of blocks.
- Claim 6Depends on #2
The method of claim 2, further comprising: responsive to determining that the size of data of the first plurality of blocks does not satisfy the garbage collection performance condition, determining whether a number of the first plurality of blocks satisfies a threshold value.
- Claim 7Depends on #6
The method of claim 6, further comprising: responsive to determining that the number of the first plurality of blocks satisfies the threshold value, allocating an unused block from the common pool to the first plurality of blocks without performing a garbage collection operation on the first plurality of blocks.
- Claim 8Depends on #6
The method of claim 6, further comprising: responsive to determining that the number of the first plurality of blocks does not satisfy the threshold value, allocating a second block from the second plurality of blocks to the first plurality of blocks.
- Claim 9Independent Claim
A system comprising: a memory device; a processing device operatively coupled to the memory device, the processing device to perform operations comprising: identifying, a common pool of blocks of the memory device, the common pool of blocks comprising a first plurality of blocks allocated to system data and a second plurality of blocks allocated to user data; responsive to determining that the user data has been written to the second plurality of blocks within a threshold amount of time, allocating the first block to the second plurality of blocks of the memory device, wherein the block is designated for the user data before the allocating and designated for the system data after the allocating; and responsive to identifying, among the first plurality of blocks, an unused block, reallocating the unused block from the first plurality of blocks to the second plurality of blocks, wherein the unused block is designated for the system data before the reallocating and designated for the user data after the reallocating.
- Claim 10Depends on #9
The method of claim 9, wherein the processing device is to perform further operations comprising: determining whether a size of data of the first plurality of blocks satisfies a garbage collection performance condition.
- Claim 11Depends on #10
The method of claim 10, wherein determining whether the size of data of the first plurality of blocks satisfies the garbage collection performance condition comprises: determining a size of valid data stored in a block, wherein the block is included in the first plurality of blocks.
- Claim 12Depends on #10
The method of claim 10, wherein the processing device is to perform further operations comprising: responsive to determining that the size of data of the first plurality of blocks satisfies the garbage collection performance condition, allocating an unused block from the common pool to the first plurality of blocks.
- Claim 13Depends on #10
The method of claim 10, wherein the processing device is to perform further operations comprising: responsive to determining that the size of data of the first plurality of blocks satisfies the garbage collection performance condition, performing a garbage collection operation on a second block of the first plurality of blocks allocated to a system data structure; and allocating the second block to the second plurality of blocks.
- Claim 14Depends on #10
The method of claim 10, wherein the processing device is to perform further operations comprising: responsive to determining that the size of data of the first plurality of blocks does not satisfy the garbage collection performance condition, determining whether a number of the first plurality of blocks satisfies a threshold value.
- Claim 15Depends on #14
The method of claim 14, further comprising: responsive to determining that the number of the first plurality of blocks satisfies the threshold value, allocating an unused block from the common pool to the first plurality of blocks without performing a garbage collection operation on the first plurality of blocks.
- Claim 16Depends on #14
The method of claim 14, further comprising: responsive to determining that the number of the first plurality of blocks does not satisfy the threshold value, allocating a second block from the second plurality of blocks to the first plurality of blocks.
- Claim 17Independent Claim
A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to perform operations comprising: identifying a common pool of blocks of the memory device, the common pool of blocks comprising a first plurality of blocks allocated to system data and a second plurality of blocks allocated to user data; responsive to determining that the user data has not been written to the second plurality of blocks within a threshold period of time, allocating a block from the second plurality of blocks to the first plurality of blocks of the memory device, wherein the block is designated for the user data before the allocating and designated for the system data after the allocating; responsive to identifying, among the first plurality of blocks, an unused block, reallocating the unused block from the first plurality of blocks to the second plurality of blocks, wherein the unused block is designated for the system data before the reallocating and designated for the user data after the reallocating.
- Claim 18Depends on #17
The non-transitory computer-readable storage medium of claim 17, wherein the processing device is to perform further operations comprising: determining whether a size of data of the first plurality of blocks satisfies a garbage collection performance condition; and responsive to determining that the size of data of the first plurality of blocks satisfies the data management execution condition, allocating an unused block from the common pool to the first plurality of blocks.
- Claim 19Depends on #18
The non-transitory computer-readable storage medium of claim 18, wherein determining whether the size of data of the first plurality of blocks satisfies the garbage collection performance condition comprises: determining a size of valid data stored in a block, wherein the block is included in the first plurality of blocks.
- Claim 20Depends on #18
The non-transitory computer-readable storage medium of claim 18, wherein the processing device is to perform further operations comprising: responsive to determining that the size of data of the first plurality of blocks satisfies the garbage collection performance condition, performing a garbage collection operation on a first block of the first plurality of blocks allocated to a system data structure; and allocating the first block to the second plurality of blocks.
Technical Overview & Description
RELATED APPLICATIONS The present application is a continuation of application Ser. No. 17/211,544, filed Mar. 24, 2021, entitled “ Using a Common Pool of Blocks for User Data and a System Data Structure ” , which is a continuation of application Ser. No. 16/237,250, filed Dec. 31, 2018, entitled “ Using a Common Pool of Blocks for User Data and a System Data Structure, ” both of which are incorporated by reference herein. TECHNICAL FIELD Embodiments of the disclosure relate generally to memory sub-systems, and more specifically, relate to using a common pool of blocks for user data and a system data structure. BACKGROUND A memory sub-system can be a storage system, such as a solid-state drive (SSD), or a hard disk drive (HDD). A memory sub-system can be a memory module, such as a dual in-line memory module (DIMM), a small outline DIMM (SO-DIMM), or a non-volatile dual in-line memory module (NVDIMM). A memory sub-system can include one or more memory components that store data. The memory components can be, for example, non-volatile memory components and volatile memory components. In general, a host system can utilize a memory sub-system to store data at the memory components and to retrieve data from the memory components. BRIEF DESCRIPTION OF THE DRAWINGS The present disclosure will be understood more fully from the detailed description given below and from the accompanying drawings of various embodiments of the disclosure. FIG. 1 illustrates an example computing environment that includes a memory sub-system in accordance with some embodiments of the present disclosure. FIG. 2 is a flow diagram of an example method using a common pool of blocks for user data and a system table in accordance with some embodiments of the present disclosure. FIG. 3 A- 3 E illustrate examples of using a common pool of blocks for user data and a system table in accordance with some embodiments of the present disclosure. FIG. 4 is a flow diagram of another example method to use a common
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (17)
| Patent | Title | Year | Citations |
|---|