×

Overwriting part of compressed data without decompressing on-disk compressed data

  • US 9,477,420 B2
  • Filed: 05/23/2014
  • Issued: 10/25/2016
  • Est. Priority Date: 05/02/2011
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • in response to receiving a write request that indicates a first file block identifier and indicates data to be written, determining that the first file block identifier resolves to a data block in a compression group, the compression group comprising a group of data blocks that is compressed; and

    partially overwriting the compression group while the compression group remains compressed, wherein the partial overwriting comprises,storing the data of the write request as uncompressed data outside the compression group, andupdating references used for resolving file block identifiers of the file to data blocks of the file, wherein the updating comprises updating the references to map the first file block identifier to the compression group and to the uncompressed data;

    determining whether a predetermined criteria is violated by the partial overwriting of the compression group, wherein the predetermined criteria is selected from a group consisting of a system usage guarantee, a space usage guarantee, and a user-defined criteria; and

    in response to determining that the predetermined criteria is violated, compressing the partially overwritten compression group.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×