×

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

  • US 8,745,338 B1
  • Filed: 05/02/2011
  • Issued: 06/03/2014
  • Est. Priority Date: 05/02/2011
  • Status: Active Grant
First Claim
Patent Images

1. A computerized method comprising:

  • receiving, by a storage server from a client, a write request for a block of data in a compression group pointed to by an indirection block, the compression group comprising a group of data blocks that is compressed;

    partially overwriting, by the storage server, the compression group while the compression group remains compressed, wherein the partial overwriting comprises,storing the block of data of the write request as an uncompressed block outside the compression group, andgenerating an indirection reference in the indirection block to point to the uncompressed block as well as the compression group;

    determining at least one of whether one or more predetermined criteria are violated by the partial overwriting of the compression group if the one or more predetermined criteria exist for the storage server and whether a snapshot of data is to occur within a predetermined amount of time, wherein the one or more predetermined criteria comprise at least one of a system usage guarantee, a space usage guarantee, and a user-defined criteria;

    determining, by the storage server, whether the partially overwritten compression group including the uncompressed block of data should be compressed, wherein said determining whether the partially overwritten compression group including the uncompressed block of data should be compressed comprises,determining that the partially overwritten compression group should be compressed if the one or more predetermined criteria exist for the storage server and are violated;

    determining that the partially overwritten compression group should not be compressed if the one or more predetermined criteria are not violated;

    determining that the partially overwritten compression group should be compressed if the snapshot of data is to occur within a predetermined amount of time,determining that the partially overwritten compression group should not be compressed if the snapshot of data is not to occur within a predetermined amount of time;

    deferring, by the storage server, compression of the partially overwritten compression group if the partially overwritten compression group should not be compressed; and

    compressing the partially overwritten compression group if the partially overwritten compression group should be compressed.

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