×

Optimized segment cleaning technique

  • US 10,133,511 B2
  • Filed: 09/12/2014
  • Issued: 11/20/2018
  • Est. Priority Date: 09/12/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • receiving a write request directed towards a logical unit (LUN), the write request having data and processed at a node of a cluster, the node having a processor, a memory and connected to a storage array of solid state drives (SSDs);

    generating a first key from the data;

    storing the data as a first extent in a first segment according to a log-structured layout, the first segment spanning a set of the SSDs, the first segment associated with a first segment identifier (ID), the first extent including the first key;

    using an in-core metadata table to determine whether the first extent is valid when the first segment is above a capacity threshold;

    reading the first extent from the first segment to determine whether the first extent is valid when the first segment is below the capacity threshold;

    in response to determining that the first extent is valid, cleaning the first segment by copying the first extent from the first segment to a second segment, the second segment having the log-structured layout and associated with a second segment ID different than the first segment ID; and

    updating an entry of the in-core metadata table to include the second segment ID, the entry including the first key.

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