Distributed File System Layout Version Consistency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In distributed file systems, changes in storage node configurations can lead to inconsistent file to storage node mappings due to outdated layouts in file system clients, causing errors in file operations such as creation, renaming, or removing directories.

Innovation Solution

Implementing version numbers for directories and volumes that are incremented during re-balancing or configuration changes, requiring clients to provide the latest directory version with file operation requests and using a lock to enforce layout consistency, ensuring that file operations are performed only when the layout is up-to-date.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If storage node configuration changes are made to improve system adaptability, then system adaptability is improved, but file operation reliability deteriorates due to outdated client layouts

Engineering Contradiction:
Improvesystem adaptabilityVSAvoidfile operation reliability
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent implements a feedback mechanism where storage nodes return the current layout version number to clients during file operations. Clients compare this version number with their locally stored version to determine if their layout information is outdated. This feedback loop ensures clients operate with current configuration information, maintaining file operation reliability even as the storage system adapts to configuration changes.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent requires clients to perform preliminary actions by obtaining and storing the current layout version number before executing file operations. This preliminary verification step ensures that clients have up-to-date configuration information, preventing operations based on outdated layouts and maintaining system reliability during configuration transitions.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If layout version verification is implemented to improve file operation reliability, then file operation reliability is improved, but device complexity increases due to version checking and lock mechanisms

Engineering Contradiction:
Improvefile operation reliabilityVSAvoiddevice complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the layout version number as a separate, independent data element from the overall file operation protocol. By isolating the version verification logic into distinct steps (obtaining version, comparing version, conditional execution), the system manages complexity through modularization. The version number acts as a standalone verification token that simplifies the overall control flow despite the added reliability checks.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS11243918B2Enforcing consistency of file to storage node mapping
Publication Date: 2022.02.08 RED HAT INC
  • US11243918B2 patent drawing
  • US11243918B2 patent drawing
  • US11243918B2 patent drawing

AI summary

Systems and methods for enforcing consistency of file to storage node mappings in distributed file systems. An example method may include: receiving a request to perform a file operation with respect to a file associated with a directory of a distributed file system; identifying a directory layout version number associated with the directory; identifying a volume layout version number associated with a volume in which the directory resides; and responsive to determining that the directory layout version number matches the volume layout version number, performing the requested file operation with respect to the file.