File Metadata Management via Content-Addressable Cloning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing file system metadata management techniques are inefficient and inflexible, particularly in snapshotting and cloning operations, as they often require copying all data and metadata, which can lead to significant resource duplication and management challenges.

Innovation Solution

The proposed solution involves creating a new set of metadata for clones that shares some metadata with the source data, using indices to map logical offsets to physical locations, and employing techniques like deduplication and selective promotion to optimize metadata management, allowing for efficient read and write operations without duplicating data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If all file metadata is copied for each snapshot or clone, then complete data integrity is ensured, but storage space is significantly duplicated and management complexity increases

Engineering Contradiction:
Improvedata integrityVSAvoidstorage space
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent segments metadata into fixed-size pages (e.g., 4KB) that can be independently managed. Instead of copying entire metadata structures, only specific metadata pages are copied or shared based on content-addressable hashing. This segmentation allows selective duplication of only necessary metadata portions, reducing overall storage consumption while maintaining data integrity through targeted copies.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements content-addressable copying where metadata pages are copied only when necessary, identified by their content hash. Clone operations create references to shared metadata pages rather than duplicating them, unless modifications are required. This selective copying approach ensures data integrity for cloned files while minimizing redundant storage of identical metadata across multiple clones.

Inventive Principle:
Principle #26Copying

2Quantity of substance

If metadata is broken up into pages and initially shared, then storage space is reduced, but write operations become more complex requiring copy-on-write mechanisms

Engineering Contradiction:
Improvestorage spaceVSAvoidoperation complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent performs preliminary hashing and validation of metadata pages during clone creation, establishing content-addressable references before any write operations occur. This preliminary action pre-configures the copy-on-write mechanism by identifying which metadata pages are shared and which are unique, so that subsequent write operations can proceed with simpler logic—only modifying pages that are already identified as needing changes.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces a metadata management layer that acts as an intermediary between clone operations and physical storage. This layer handles the complexity of copy-on-write by interceptting write requests, validating content hashes, and managing page-level updates. The intermediary abstracts the complexity from the core clone operation, making it appear simple while handling the sophisticated page-level sharing and modification logic in the background.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If new versions of metadata are created when modified, then data consistency is maintained, but metadata duplication and management overhead increase

Engineering Contradiction:
Improvedata consistencyVSAvoidmetadata management overhead
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent changes the parameter of metadata versioning from creating entirely new versions to incremental page-level updates with content-addressable identifiers. Instead of versioning entire metadata structures, the system uses content hashes as immutable identifiers for each metadata page version. When metadata is modified, only the specific page is updated with a new hash, while other pages retain their original hashes. This parameter change from structure-based versioning to content-based versioning reduces management overhead while maintaining consistency through hash verification.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10776315B2Efficient and flexible organization and management of file metadata
Publication Date: 2020.09.15 TINTRI INC
  • US10776315B2 patent drawing
  • US10776315B2 patent drawing
  • US10776315B2 patent drawing

AI summary

Storing data is disclosed, including: creating a clone of a snapshot comprising a first set of metadata associated with a source data, at least in part by generating for the clone a second set of metadata that includes an active index that is associated with the snapshot and is configured to store metadata associated with data values that are written to the clone; receiving a write operation to write a requested data value to the clone; and in response to the write operation, updating the active index based at least in part on the requested data value.