File System Operation Cancellation via Dependency Graph Analysis

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 buffered operations in a single packet to the metadata server, utilizing dependency graphs to identify and merge redundant operations, and canceling operations with no net effect.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If file system operations are performed by making individual network calls to the metadata server, then the file system metadata is kept synchronized with the client system, but the latency and resource consumption increase significantly

Engineering Contradiction:
Improvemetadata synchronizationVSAvoidlatency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent implements operation buffering where file system operations are queued locally at the client system before being transmitted to the metadata server. This preliminary local buffering allows the client to process operations without waiting for network round-trips, significantly reducing perceived latency while maintaining eventual metadata synchronization.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent combines multiple individual file system operations into single compound operations that are transmitted to the metadata server in batches. By merging multiple small network calls into fewer larger calls, the system reduces overall network latency and resource consumption while maintaining the integrity of each individual operation.

Inventive Principle:
Principle #5Merging (Combining)

2Reliability

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

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

Solution Approach 1:

The patent merges multiple individual file system operations into compound operations that are transmitted together in single network packets. This combining approach maintains the accuracy and integrity of each operation while dramatically reducing network resource consumption by eliminating redundant protocol overhead and reducing the total number of network round-trips.

Inventive Principle:
Principle #5Merging (Combining)

3Productivity

If file system operations are buffered and compounded at the client system, then network calls are reduced and latency decreases, but the complexity of managing operation buffers and dependencies increases

Engineering Contradiction:
Improveoperation processing efficiencyVSAvoidbuffer management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the operation buffer management into distinct functional components: operation queuing, dependency tracking, compound operation formation, and transmission scheduling. This segmentation allows each component to be optimized independently and makes the overall system more manageable despite the increased complexity of buffered operation management.

Inventive Principle:
Principle #1Segmentation

4Reliability

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

Engineering Contradiction:
Improvemetadata update completenessVSAvoidunnecessary processing
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent performs preliminary analysis of buffered operations to identify redundant operations before transmission to the metadata server. By detecting operations that would not result in net metadata changes (such as creating then immediately deleting the same file), the system can cancel these redundant operations, avoiding unnecessary network communications and server processing while maintaining metadata update completeness.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11151082B1File system operation cancellation
Publication Date: 2021.10.19 EMC IP HLDG CO LLC
  • US11151082B1 patent drawing
  • US11151082B1 patent drawing
  • US11151082B1 patent drawing

AI summary

Cancelling file system operations at a file system client of a distributed file system is disclosed. In various embodiments, an indication is received to send locally-stored file system operations to a remote file system metadata server. A dependency graph or other data structure reflecting dependencies between the locally-stored file system operations is used to identify a set of locally-stored file system operations the members of which are fully dominated by a create-delete pair of operations comprising the set. The locally-stored file system operations comprising the set are cancelled, without being sent to the remote file system metadata server.