Method, device, and computer program product for performing file system check

US2025315373A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2025315373-A1
Application numberUS-202418911509-A
CountryUS
Kind codeA1
Filing dateOct 10, 2024
Priority dateApr 3, 2024
Publication dateOct 9, 2025
Grant date

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 are directed to performing a file system check. Such technique involve determining a plurality of unreleased memory pools for a plurality of phases of a file system check by parsing a resource file indicative of an allocation situation of a memory. Such technique further involve determining a list of phases based on the plurality of unreleased memory pools. Such technique further involve performing the file system check based on the list of phases. Accordingly, it is possible to pre-determine an unreleased memory pool based on a resource file and perform a file system check according to the information of the memory pool, which avoids the problems of memory fragmentation and consecutive out-of-memory caused by the unreleased memory pool, thereby solving the out-of-memory error during the execution of the file system check.

First claim

Opening claim text (preview).

What is claimed is: 1 . A method for performing a file system check, comprising: determining a plurality of unreleased memory pools for a plurality of phases of a file system check by parsing a resource file indicative of an allocation situation of a memory; determining a list of phases based on the plurality of unreleased memory pools; and performing the file system check based on the list of phases. 2 . The method according to claim 1 , wherein determining the plurality of unreleased memory pools for the plurality of phases of the file system check comprises: determining whether a corresponding phase has a memory fragment based on the resource file; and determining, in response to determining that the corresponding phase has the memory fragment, the plurality of unreleased memory pools causing the memory fragment. 3 . The method according to claim 2 , wherein determining whether the corresponding phase has the memory fragment comprises: acquiring from the resource file an identifier indicative of the memory fragment; determining, in response to the identifier being true, that the memory fragment exists; and determining, in response to the identifier being false, that the memory fragment does not exist. 4 . The method according to claim 3 , further comprising: determining a plurality of pieces of information about a plurality of memory pools in the memory based on previous execution processes of the file system check, wherein information in the plurality of pieces of information comprises a phase identifier, a creation timestamp, a release timestamp, and an address space; and generating the resource file based on the plurality of pieces of information. 5 . The method according to claim 4 , wherein generating the resource file comprises: determining ranking information for the plurality of memory pools at the corresponding phase based on the address space in the information; determining the identifier indicative of the memory fragment based on the release timestamp and the ranking information; and generating the resource file based on the plurality of pieces of information and the identifier. 6 . The method according to claim 4 , further comprising: updating the release timestamp in response to determining that a memory pool in the plurality of memory pools is released. 7 . The method according to claim 1 , wherein determining the list of phases: determining that an unreleased memory pool exists for each of the plurality of phases; and adding, in response to the unreleased memory pool existing in a corresponding phase, an identifier of the unreleased memory pool to the corresponding phase in the list of phases. 8 . The method according to claim 1 , wherein performing the file system check comprises: acquiring, prior to performing a corresponding phase of the file system check, an identifier of the unreleased memory pool corresponding to the corresponding phase from the list of phases; allocating memory space for the unreleased memory pool at a start of the memory; and performing the corresponding phase of the file system check based on the allocated memory space. 9 . The method according to claim 8 , wherein allocating the memory space for the unreleased memory pool comprises: acquiring a space size of the unreleased memory pool from the resource file; and allocating the memory space for the unreleased memory pool based on the space size. 10 . The method according to claim 1 , further comprising: increasing a count value of an abnormality counter in response to existence of an abnormal behavior causing a memory fragment; and generating warning information in response to the count value being greater than a predetermined threshold. 11 . An electronic device, comprising: a processing unit; and a memory coupled to the processing unit and having instructions stored therein that, when executed by the processing unit, perform the following actions: determining a plurality of unreleased memory pools for a plurality of phases of a file system check by parsing a resource file indicative of an allocation situation of a memory; determining a list of phases based on the plurality of unreleased memory pools; and performing the file system check based on the list of phases. 12 . The electronic device according to claim 11 , wherein determining the plurality of unreleased memory pools for the plurality of phases of the file system check comprises: determining whether a corresponding phase has a memory fragment based on the resource file; and determining, in response to determining that the corresponding phase has the memory fragment, the plurality of unreleased memory pools causing the memory fragment. 13 . The electronic device according to claim 12 , wherein determining whether the corresponding phase has the memory fragment comprises: acquiring from the resource file an identifier indicative of the memory fragment; determining, in response to the identifier being true, that the memory fragment exists; and determining, in response to the identifier being false, that the memory fragment does not exist. 14 . The electronic device according to claim 13 , wherein the actions further comprise: determining a plurality of pieces of information about a plurality of memory pools in the memory based on previous execution processes of the file system check, wherein information in the plurality of pieces of information comprises a phase identifier, a creation timestamp, a release timestamp, and an address space; and generating the resource file based on the plurality of pieces of information. 15 . The electronic device according to claim 14 , wherein generating the resource file comprises: determining ranking information for the plurality of memory pools at the corresponding phase based on the address space in the information; determining the identifier indicative of the memory fragment based on the release timestamp and the ranking information; and generating the resource file based on the plurality of pieces of information and the identifier. 16 . The electronic device according to claim 14 , wherein the actions further comprise: updating the release timestamp in response to determining that a memory pool in the plurality of memory pools is released. 17 . The electronic device according to claim 11 , wherein determining the list of phases: determining that an unreleased memory pool exists for each of the plurality of phases; and adding, in response to the unreleased memory pool existing in a corresponding phase, an identifier of the unreleased memory pool to the corresponding phase in the list of phases. 18 . The electronic device according to claim 11 , wherein performing the file system check comprises: acquiring, prior to performing a corresponding phase of the file system check, an identifier of the unreleased memory pool corresponding to the corresponding phase from the list of phases; allocating memory space for the unreleased memory pool at a start of the memory; and performing the corresponding phase of the file system check based on the allocated memory space. 19 . The electronic device according to claim 18 , wherein allocating the memory space for the unreleased memory pool comprises: acquiring a space size of the unreleased memory pool from the resource file; and allocating the memory space for the unreleased memory pool based on the space size. 20 . A computer program product having a non-transitory compute

Assignees

Inventors

Classifications

  • the resource being the memory · CPC title

  • G06F16/17Primary

    Details of further file system functions · CPC title

  • G06F12/023Primary

    Free address space management · 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 US2025315373A1 cover?
Techniques are directed to performing a file system check. Such technique involve determining a plurality of unreleased memory pools for a plurality of phases of a file system check by parsing a resource file indicative of an allocation situation of a memory. Such technique further involve determining a list of phases based on the plurality of unreleased memory pools. Such technique further inv…
Who is the assignee on this patent?
Dell Products Lp
What technology area does this patent fall under?
Primary CPC classification G06F16/17. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Oct 09 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 6 related publications on this page (citations in our corpus or others sharing the same primary CPC).