Method, electronic equipment and computer program product for managing metadata storage unit

US11941265B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11941265-B2
Application numberUS-202117464128-A
CountryUS
Kind codeB2
Filing dateSep 1, 2021
Priority dateJan 22, 2021
Publication dateMar 26, 2024
Grant dateMar 26, 2024

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Techniques for managing metadata storage units involve: in response to receiving, from a client, a request for allocating a target number of metadata storage units, determining a first number of available metadata storage units remaining in a metadata storage space of a storage system after the allocation is performed; and if the first number is not less than a reserved number, allocating the target number of metadata storage units from the metadata storage space for the client to use, wherein the reserved number is associated with a usage condition of the metadata storage units in the storage system. Accordingly, such techniques can effectively manage metadata and improve the performance of a system.

First claim

Opening claim text (preview).

The invention claimed is: 1. A method for managing metadata storage units within a storage system, comprising: generating metadata corresponding to user data to be written to a user data storage space of a storage system, the metadata to be stored in a target number of metadata storage units; in response to generating the metadata, receiving, from a client, a request for allocating the target number of metadata storage units; in response to receiving, from the client, the request for allocating the target number of metadata storage units, determining a first number of available metadata storage units remaining in a metadata storage space of the storage system after the allocation is performed, the first number being not less than a reserved number; if the first number is not less than the reserved number, allocating, within the storage system, the target number of metadata storage units from the metadata storage space for the client to use, wherein the reserved number is associated with a usage condition of the metadata storage units in the storage system; and adjusting the reserved number based on a number of user data storage units flushed to the user data storage space within a historical time period, the reserved number being a number of metadata storage units reserved in the metadata storage space. 2. The method according to claim 1 , further comprising: receiving, from the client, a second request for allocating a second target number of metadata storage units; generating a number of available metadata storage units should the second target number of metadata storage units be allocated from the metadata storage space, the generated number being less than the reserved number; if the generated number is less than the reserved number, expanding the metadata storage space; and if the expansion is successful, allocating the second target number of metadata storage units from the expanded metadata storage space for the client to use. 3. The method according to claim 2 , further comprising: performing an expansion operation which attempts to expand the metadata storage space, the expansion operation failing; if the expansion operation fails, determining a second number of metadata storage units released in the storage system, a sum of the first number and the second number being less than a first predetermined threshold associated with the reserved number; and if the sum of the first number and the second number is less than the first predetermined threshold associated with the reserved number, causing the storage system to enter a write-protected mode, wherein the storage system in the write-protected mode does not respond to a write request. 4. The method according to claim 3 , further comprising: in response to the storage system entering the write-protected mode, determining a fifth number of the available metadata storage units remaining in the metadata storage space; determining a sixth number of the metadata storage units released in the storage system, a sum of the fifth number and the sixth number exceeding a second predetermined threshold associated with the reserved number; and if the sum of the fifth number and the sixth number exceeds the second predetermined threshold associated with the reserved number, causing the storage system to exit the write-protected mode, wherein the second predetermined threshold exceeds the first predetermined threshold. 5. The method according to claim 1 , further comprising: determining the reserved number based on the usage condition of the metadata storage units in the storage system. 6. The method according to claim 5 , wherein determining the reserved number comprises: determining a third number of metadata storage units used in a historical time period; determining a fourth number of user data storage units flushed to a persistent storage device of the storage system within the historical time period; and determining the reserved number based on a ratio of the third number to the fourth number and a seventh number of user data storage units to be flushed to the persistent storage device. 7. The method according to claim 5 , wherein determining the reserved number comprises: determining the reserved number periodically. 8. The method according to claim 1 , wherein adjusting the reserved number is further based on (i) a number of metadata storage units allocated from the metadata storage space during a predetermined time period and (ii) a number of metadata storage units made available from a to-be-recycled storage space of the storage system during the predetermined time period. 9. The method according to claim 1 , further comprising: storing dirty data in a cache in the storage system; and during the historical time period, flushing the dirty data from the cache to the user data storage space, the dirty data being stored in the user data storage units. 10. The method according to claim 9 , wherein storing the dirty data includes adding the dirty data to a first end of the cache; and wherein flushing the dirty data includes: removing the dirty data from a second end of the cache that is a different end than the first end; and storing the dirty data in the user data storage space. 11. An electronic device, comprising: at least one processing unit; and at least one memory that is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit, wherein the instructions, when executed by the at least one processing unit, cause the device to perform actions comprising: generating metadata corresponding to user data to be written to a user data storage space of a storage system, the metadata to be stored in a target number of metadata storage units; in response to generating the metadata, receiving, from a client, a request for allocating the target number of metadata storage units; in response to receiving, from the client, the request for allocating the target number of metadata storage units, determining a first number of available metadata storage units remaining in a metadata storage space of a storage system after the allocation is performed, the first number being not less than a reserved number; and if the first number is not less than the reserved number, allocating, within the storage system, the target number of metadata storage units from the metadata storage space for the client to use, wherein the reserved number is associated with a usage condition of the metadata storage units in the storage system; and adjusting the reserved number based on a number of user data storage units flushed to the user data storage space within a historical time period, the reserved number being a number of metadata storage units reserved in the metadata storage space. 12. The electronic device according to claim 11 , wherein the actions further comprise: receiving, from the client, a second request for allocating a second target number of metadata storage units; generating a number of available metadata storage units should the second target number of metadata storage units be allocated from the metadata storage space, the generated number being less than the reserved number; if the generated number is less than the reserved number, expanding the metadata storage space; and if the expansion is successful, allocating the second target number of metadata storage units from the expanded metadata storage space for the client to use. 13. The electronic device according to claim 12 , wherein the actions further comprise: performing an expansion operation which attempts to expand the metadata storage space, the expansion

Assignees

Inventors

Classifications

  • G06F3/0631Primary

    by allocating resources to storage systems · CPC title

  • Improving or facilitating administration, e.g. storage management · CPC title

  • Single storage device · CPC title

  • G06F3/0617Primary

    in relation to availability · CPC title

  • Organizing or formatting or addressing of data · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11941265B2 cover?
Techniques for managing metadata storage units involve: in response to receiving, from a client, a request for allocating a target number of metadata storage units, determining a first number of available metadata storage units remaining in a metadata storage space of a storage system after the allocation is performed; and if the first number is not less than a reserved number, allocating the t…
Who is the assignee on this patent?
Emc Ip Holding Co Llc, EMC IP Holding Company LLP
What technology area does this patent fall under?
Primary CPC classification G06F3/0631. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 26 2024 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).