Block allocation for persistent memory during aggregate transition
Abstract
Techniques are provided for block allocation for persistent memory during aggregate transition. In a high availability pair including first and second nodes, the first node makes a determination that control of a first aggregate is to transition from the first node to the second node. A portion of available free storage space is allocated from a first persistent memory of the first node as allocated pages within the first persistent memory. Metadata information for the allocated pages is updated with an identifier of the first aggregate to create updated metadata information reserving the allocated pages for the first aggregate. The updated metadata information is mirrored to the second node, so that the second node also reserves those pages. Control of the first aggregate is transitioned to the second node. As a result, the nodes do not attempt allocating the same free pages to different aggregates during a transition.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 0.
Claims (8 — 1 Independent, 7 Dependent)
- Claim 1Independent Claim
A method comprising: maintaining pages within a persistent memory of a node, wherein the persistent memory includes a local partition utilized to service client I/O; reclaiming unused pages of the persistent memory that are no longer referenced by at least one of an active file system of the node or a snapshot of the active file system, wherein the unused pages are reclaimed as free pages; modifying metadata information with an aggregate identifier of an aggregate to reserve a set of pages as allocated pages available for subsequently storing data of the aggregate; and utilizing the set of pages to store data of the client I/O directed to the aggregate.
- Claim 2Depends on #1
The method of claim 1, comprising: constructing a list of the set of pages within the local partition that are available to allocate for storing data of the aggregate; and evaluating the list of the set of pages to identify the set of pages to reserve.
- Claim 3Depends on #1
The method of claim 1, wherein the reserving further comprises: tagging page block numbers of the set of pages to reserve the set of pages.
- Claim 4Depends on #3
The method of claim 3, comprising: limiting new allocations, of pages, to the set of pages having the page block numbers tagged.
- Claim 5Depends on #1
The method of claim 1, wherein the reserving further comprises: assigning the aggregate identifier of the aggregate to page block numbers of the set of pages to reserve the set of pages as the allocated pages for use by the aggregate.
- Claim 6Depends on #1
The method of claim 1, comprising: maintaining a second node as a partner of the node according to a node pairing; and mirroring data between persistent memories of the node and the second node based upon the node pairing.
- Claim 7Depends on #6
The method of claim 6, comprising: mirroring the metadata information to the second node to cause the second node to build a second set of pages mirroring the set of pages.
- Claim 8Depends on #7
The method of claim 7, wherein the set of pages have the same page block numbers of pages maintained by the second node.
Technical Overview & Description
RELATED APPLICATION This application claims priority to and is a continuation of U.S. patent application Ser. No. 17/750,793, titled BLOCK ALLOCATION FOR PERSISTENT MEMORY DURING AGGREGATE TRANSITION ” and filed on May 23, 2022, which priority to and is a continuation of U.S. Pat. No. 11,340,804, titled BLOCK ALLOCATION FOR PERSISTENT MEMORY DURING AGGREGATE TRANSITION ” and filed on Jun. 25, 2020, which are incorporated herein by reference. BACKGROUND A computing environment may host one or more nodes, such as servers, virtual machines, computing devices, etc., for storing data on behalf of clients. The nodes may be deployed in a manner that provides high availability, data redundancy, and/or other storage features. For example, a first node may host one or more aggregates within which data is stored, such as a first aggregate used to store data on behalf of a first client. The first node may store at least some data of the first aggregate within a first persistent memory of the first node. A second node may also host one or more aggregates within which data is stored, such as a second aggregate used to store data on behalf of a second client. The second node may store at least some data of the second aggregate within a second persistent memory of the second node. The first node and the second node may be configured as a node pairing (e.g., a high availability node pairing) configured to provide high availability and/or failover functionality. For example, if one of the nodes fails, then the surviving node can provide clients with failover access to their data in place of the failed node. This can be accomplished by mirroring data between the persistent memories of the nodes so that the surviving node has an up-to-date copy of data from a persistent memory of the failed node. In this way, the surviving node can provide clients with up-to-date data that was previously accessible to the clients through the failed node. DESCRIPTION OF THE DRAWINGS FIG. 1 is a block di
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 (14)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (2)
- Non final Office Action mailed Mar. 2, 2023 for U.S. Appl. No. 17/750,793, filed May 23, 2022, 9 pages.
- Notice of Allowance mailed on Jul. 28, 2023 for U.S. Appl. No. 17/750,793, filed May 23, 2022, 7 pages.