Determining reclaim information for a storage block based on data length and matching write and delete parameters

US11340811B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11340811-B2
Application numberUS-202016829910-A
CountryUS
Kind codeB2
Filing dateMar 25, 2020
Priority dateSep 12, 2019
Publication dateMay 24, 2022
Grant dateMay 24, 2022

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.

Storage blocks are managed. For instance, a set of write parameters and a set of deletion parameters are obtained related to a target storage block. In response to the set of write parameters matching the set of deletion parameters, a first data length is obtained for the target storage block, the first data length being determined in response to receiving a write request for the target storage block. Further, reclaim information is determined related to the target storage block based on the first data length and the set of deletion parameters. It is thus possible to reduce times of scanning the entire object table to determine whether there is an object referring to the storage block, thereby reducing the time consumed by the verification process and improving the reclaiming speed of storage blocks.

First claim

Opening claim text (preview).

We claim: 1. A method of managing storage blocks, comprising: obtaining, by a system comprising a processor, a set of write parameters and a set of deletion parameters related to a target storage block, the set of write parameters comprising information related to first data that is stored in the target storage block and associated with at least one object, and the set of deletion parameters comprising information related to second data that is deleted from the target storage block and associated with the at least one object; in response to the set of write parameters matching the set of deletion parameters, obtaining a first data length for the target storage block, the first data length being determined in response to receiving a write request for the target storage block; and determining reclaim information related to the target storage block based on the first data length and the set of deletion parameters. 2. The method of claim 1 , wherein the at least one object comprises a plurality of objects, and the determining the reclaim information related to the target storage block comprises: determining a sum of data lengths associated with the plurality of objects in the set of deletion parameters; and in response to determining that the first data length is equal to the sum of data lengths, determining the target storage block to be reclaimed. 3. The method of claim 2 , wherein the determining the reclaim information related to the target storage block further comprises: in response to determining that the first data length is greater than the sum of the data lengths, obtaining metadata of the plurality of objects, the metadata comprising an identifier of at least one associated storage block for each object; and in response to determining that the at least one associated storage block does not comprise the target storage block, determining the target storage block to be reclaimed. 4. The method of claim 1 , wherein the obtaining the set of write parameters and the set of deletion parameters comprises: obtaining metadata of the target storage block; and extracting the set of write parameters and the set of deletion parameters from the metadata. 5. The method of claim 1 , wherein the obtaining the first data length comprises: obtaining metadata of the target storage block; extracting a second data length from the metadata, the second data length being calculated based on a data length in a received previous write request; in response to receiving the write request for the target storage block, determining a data length for writing to the target storage block; and determining the first data length based on the second data length and the data length for writing to the target storage block. 6. The method of claim 5 , further comprising: updating the metadata of the target storage block with the first data length. 7. An electronic device comprising: a processor; and a memory having computer program instructions stored thereon, the processor executing the computer program instructions in the memory to control the electronic device to perform acts comprising: obtaining a set of write parameters and a set of deletion parameters related to a target storage block, the set of write parameters comprising information related to first data that is stored in the target storage block and associated with at least one object, and the set of deletion parameters comprising information related to second data that is deleted from the target storage block and associated with the at least one object; in response to the set of write parameters matching the set of deletion parameters, obtaining a first data length for the target storage block, the first data length being determined in response to receiving a write request for the target storage block; and determining reclaim information related to the target storage block based on the first data length and the set of deletion parameters. 8. The electronic device of claim 7 , wherein the at least one object comprises a plurality of objects, and the determining reclaim information related to the target storage block comprises: determining a sum of data lengths associated with the plurality of objects in the set of deletion parameters; and in response to determining that the first data length is equal to the sum of data lengths, determining the target storage block to be reclaimed. 9. The electronic device of claim 8 , wherein the determining the reclaim information related to the target storage block further comprises: in response to determining that the first data length is greater than the sum of the data lengths, obtaining metadata of the plurality of objects, the metadata comprising an identifier of at least one associated storage block for each object; and in response to determining that the at least one associated storage block does not comprise the target storage block, determining the target storage block to be reclaimed. 10. The electronic device of claim 7 , wherein the obtaining the set of write parameters and the set of deletion parameters comprises: obtaining metadata of the target storage block; and extracting the set of write parameters and the set of deletion parameters from the metadata. 11. The electronic device of claim 7 , wherein the obtaining the first data length comprises: obtaining metadata of the target storage block; extracting a second data length from the metadata, the second data length being calculated based on a data length in a received previous write request; in response to receiving a write request for the target storage block, determining a data length for writing to the target storage block; and determining the first data length based on the second data length and the data length for writing to the target storage block. 12. The electronic device of claim 11 , the acts further comprising: updating the metadata of the target storage block with the first data length. 13. A computer program product being tangibly stored on a non-volatile computer-readable medium and comprising machine-executable instructions which, when executed, cause a machine to perform operations, comprising: obtaining write parameters and deletion parameters related to a target storage block, the write parameters comprising information related to first data that is stored in the target storage block and associated with at least one object, and the deletion parameters comprising information related to second data that is deleted from the target storage block and associated with the at least one object; in response to the write parameters matching the deletion parameters, obtaining a first data length for the target storage block, the first data length being determined in response to receiving a write request for the target storage block; and determining reclaim information related to the target storage block based on the first data length and the deletion parameters. 14. The computer program product of claim 13 , wherein the at least one object comprises objects, and the determining the reclaim information related to the target storage block comprises: determining a sum of data lengths associated with the objects in the deletion parameters. 15. The computer program product of claim 14 , wherein the determining the reclaim information related to the target storage block further comprises: in response to determining that the first data length is equal to the sum of data lengths, determining the target storage block to be reclaimed. 16. The computer program product of claim 15 , wherein the determining the reclaim info

Assignees

Inventors

Classifications

  • Monitoring storage devices or systems · CPC title

  • Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket · CPC title

  • G06F3/061Primary

    Improving I/O performance · CPC title

  • Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP] · CPC title

  • Metadata, i.e. metadata associated with RAID systems with parity · 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 US11340811B2 cover?
Storage blocks are managed. For instance, a set of write parameters and a set of deletion parameters are obtained related to a target storage block. In response to the set of write parameters matching the set of deletion parameters, a first data length is obtained for the target storage block, the first data length being determined in response to receiving a write request for the target storage…
Who is the assignee on this patent?
Emc Ip Holding Co Llc
What technology area does this patent fall under?
Primary CPC classification G06F3/061. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue May 24 2022 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 4 related publications on this page (citations in our corpus or others sharing the same primary CPC).