Overwriting compressed data extents

US10437474B1 · US · B1

Patent metadata
FieldValue
Publication numberUS-10437474-B1
Application numberUS-201715499206-A
CountryUS
Kind codeB1
Filing dateApr 27, 2017
Priority dateApr 27, 2017
Publication dateOct 8, 2019
Grant dateOct 8, 2019

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.

A technique for overwriting compressed data tests whether new data compressed with a first compression procedure fits within spaces provided for previous data. If the compressed new data does not fit, the technique compresses the new data using a second compression procedure. Assuming the second compression procedure reduces the compressed size of the new data to fit the available space, the technique stores the new data in the same location as the previous data. In this manner, overwrites can be accommodated in place without the need to create new mapping metadata.

First claim

Opening claim text (preview).

What is claimed is: 1. A method of overwriting compressed data in a data storage system, the method comprising: receiving an IO (Input/Output) request specifying a write of new data to a specified logical address of a file within a file system, the file already storing previous data at the specified logical address such that the write of the new data is an overwrite; compressing the new data using a first compression procedure; performing a testing operation configured to generate a first result when the compressed new data fits within a space currently occupied by the previous data and to produce a second result otherwise; and in response to the testing operation producing the second result, (i) compressing the new data using a second compression procedure and (ii) storing the new data as compressed using the second compression procedure within the space currently occupied by the previous data. 2. The method of claim 1 , wherein, prior to storing the new data, the previous data was stored along with other compressed data in a segment of blocks laid out contiguously in a physical address space of the file system, and wherein the method further comprises, when storing the new data: identifying, within the segment of blocks, a compression header of the previous data; and updating the compression header to store an identifier of the second compression procedure. 3. The method of claim 2 , wherein the compression header of the previous data also includes a field for storing a compressed length of the previous data, and wherein the method further comprises: updating the field for storing the compressed length to a length of the new data as compressed using the second compression procedure. 4. The method of claim 3 , wherein the file system includes a set of metadata structures that map the logical address of the previous data to the segment of blocks, and wherein storing the new data is performed without changing any of the set of metadata structures. 5. The method of claim 3 , wherein the file system includes a set of metadata structures that map the logical address of the previous data to the segment of blocks, wherein the set of metadata structures includes a virtual block map (VBM) that stores an extent list and a pointer to the segment of blocks, wherein the extent list includes (i) the logical address in the file of the previous data and (ii) a version of the compressed length of the previous data, and wherein storing the new data is performed without changing the version of the length of the previous data in the extent list. 6. The method of claim 5 , further comprising: monitoring CPU (Central Processing Unit) activity of a CPU in the data storage system; and performing a CPU activity test configured to produce a GO result in response to CPU activity falling below a predetermined threshold and to produce a NO-GO result otherwise, wherein compressing the new data using the second compression procedure is performed in response to the CPU activity test producing the GO result. 7. The method of claim 2 , further comprising: receiving a second IO request specifying a write of second new data to a second logical address of the file within the file system, the file already storing previous second data at the second logical address; compressing the second new data using the first compression procedure; performing the testing operation on the compressed second new data; and in response to the testing operation on the compressed second new data producing the second result, storing the compressed second new data at another location in the file system. 8. A data storage system, comprising control circuitry that includes a set of processing units coupled to memory, the control circuitry constructed and arranged to: receive an IO (Input/Output) request specifying a write of new data to a specified logical address of a file within a file system, the file already storing previous data at the specified logical address such that the write of the new data is an overwrite; compress the new data using a first compression procedure; perform a testing operation configured to generate a first result when the compressed new data fits within a space currently occupied by the previous data and to produce a second result otherwise; and in response to the testing operation producing the second result, (i) compress the new data using a second compression procedure and (ii) store the new data as compressed using the second compression procedure within the space currently occupied by the previous data. 9. The data storage system of claim 8 , wherein, prior to storing the new data, the previous data was stored along with other compressed data in a segment of blocks laid out contiguously in a physical address space of the file system, and wherein the control circuitry, when constructed and arranged to store the new data, is further constructed and arranged to: identify, within the segment of blocks, a compression header of the previous data; and update the compression header to store an identifier of the second compression procedure. 10. The data storage system of claim 9 , wherein the compression header of the previous data also includes a field for storing a compressed length of the previous data, and wherein the control circuitry is further constructed and arranged to: update the field for storing the compressed length to a length of the new data as compressed using the second compression procedure. 11. The data storage system of claim 10 , wherein the file system includes a set of metadata structures that map the logical address of the previous data to the segment of blocks, wherein the set of metadata structures includes a virtual block map (VBM) that stores an extent list and a pointer to the segment of blocks, wherein the extent list includes (i) the logical address in the file of the previous data and (ii) a version of the compressed length of the previous data, and wherein the control circuitry is constructed and arranged to store the new data without changing the version of the length of the previous data in the extent list. 12. The data storage system of claim 11 , wherein the control circuitry is further constructed and arranged to: monitor CPU (Central Processing Unit) activity of a CPU in the data storage system; and perform a CPU activity test configured to produce a GO result in response to CPU activity falling below a predetermined threshold and to produce a NO-GO result otherwise, compress the new data using the second compression procedure in response to the CPU activity test producing the GO result. 13. The data storage system of claim 9 , wherein the control circuitry is further constructed and arranged to: receive a second IO request specifying a write of second new data to a second logical address of the file within the file system, the file already storing previous second data at the second logical address; compress the second new data using the first compression procedure; perform the testing operation on the compressed second new data; and in response to the testing operation on the compressed second new data producing the second result, store the compressed second new data at another location in the file system. 14. A computer program product including a set of non-transitory, computer-readable media having instructions which, when executed by control circuitry of a data storage system, cause the control circuitry to perform a method for overwriting compressed data, the method comprising: receiving an IO (Input/Output) request specifying a write of new data to a specified logical address o

Assignees

Inventors

Classifications

  • Saving memory space in the encoder or decoder · CPC title

  • Compression (speech analysis-synthesis for redundancy reduction G10L19/00; for image communication H04N); Expansion; Suppression of unnecessary data, e.g. redundancy reduction · CPC title

  • Single storage device · CPC title

  • Monitoring storage devices or systems · 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 US10437474B1 cover?
A technique for overwriting compressed data tests whether new data compressed with a first compression procedure fits within spaces provided for previous data. If the compressed new data does not fit, the technique compresses the new data using a second compression procedure. Assuming the second compression procedure reduces the compressed size of the new data to fit the available space, the te…
Who is the assignee on this patent?
Emc Ip Holding Co Llc
What technology area does this patent fall under?
Primary CPC classification G06F3/0608. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Oct 08 2019 00:00:00 GMT+0000 (Coordinated Universal Time) (B1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 7 related publications on this page (citations in our corpus or others sharing the same primary CPC).