File System Client Metadata Operation Merging

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing distributed file systems face high latency and resource consumption due to frequent network calls for metadata operations, which can lead to undesirable delays in processing file system requests.

Innovation Solution

Implementing a metadata write lease that allows clients to buffer and compound file system operations, reducing the need for multiple network calls by sending them in a single packet, using a dependency graph to identify linear chains and merge redundant operations, and canceling operations with no net effect, thereby optimizing communication with the file system metadata server.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If multiple file system operations are sent individually to the metadata server, then each operation is processed accurately, but network latency and resource consumption increase significantly

Engineering Contradiction:
Improveoperation accuracyVSAvoidnetwork latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent combines multiple file system operations into a single compound operation packet that is transmitted to the metadata server in one network call. The server processes the compound operation by applying individual operations sequentially while maintaining proper locking and consistency, thus reducing network latency while preserving operation accuracy.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The client system performs preliminary buffering and compounding of operations locally before transmitting to the server. Operations are staged in a buffer and merged into compound operations in advance, reducing the frequency of network calls and associated latency.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If multiple file system operations are sent individually to the metadata server, then each operation is tracked separately, but resource consumption and network overhead increase

Engineering Contradiction:
Improveoperation trackingVSAvoidnetwork resource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

Multiple operations are merged into a single compound operation packet, reducing network traffic and resource consumption. The server maintains separate tracking for each individual operation within the compound packet, ensuring reliable operation tracking while minimizing network overhead.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The client creates a local copy of operations in a buffer before transmission. This allows the client to preprocess and consolidate operations, reducing the number of network transmissions required while maintaining complete operation tracking information.

Inventive Principle:
Principle #26Copying

3Reliability

If redundant file system operations are executed, then comprehensive metadata updates are ensured, but unnecessary network calls and processing overhead occur

Engineering Contradiction:
Improvemetadata update completenessVSAvoidprocessing efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The server performs preliminary analysis of compound operations to identify redundant operations before execution. By detecting operations that would have no net effect or are superseded by subsequent operations in the same compound packet, the server eliminates unnecessary processing while maintaining metadata update completeness.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system changes the state parameters of operations by analyzing their net effect on metadata. Operations that result in no net change or are redundant based on previous operations in the sequence are identified and eliminated, improving processing efficiency while ensuring necessary metadata updates are performed.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11144504B1Eliminating redundant file system operations
Publication Date: 2021.10.12 EMC IP HLDG CO LLC
  • US11144504B1 patent drawing
  • US11144504B1 patent drawing
  • US11144504B1 patent drawing

AI summary

Techniques to eliminate redundant file system operations are disclosed. In various embodiments, an indication is received to send locally-stored file system operations to a remote file system metadata server. A set of related locally-stored file system operations is determined. Operations in the set are determined to satisfy a merger criteria and are merged into a single merged file system operation. The merged file system operation is sent to the remote file system metadata server.