Seamless File System Switching via Process Suspension

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing file system switching methods can result in operational errors when performed during process execution, as they do not seamlessly transition from one file system to another, especially when switching from a local to a remote file system or performing hardware maintenance.

Innovation Solution

A system and method that temporarily suspends processes accessing the first file system, replaces its resources with corresponding resources from a second file system, synchronizes attributes, and resumes execution, ensuring seamless switching by managing memory mappings, file descriptors, and file system attributes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If file system switching is performed during process execution, then system adaptability and resource management flexibility are improved, but operational errors and system stability deteriorate

Engineering Contradiction:
Improvefile system switching capabilityVSAvoidoperational error rate
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The system performs preliminary actions by identifying and suspending processes before actually switching file systems. This ensures that no process is actively accessing files during the transition, preventing operational errors while maintaining the ability to switch file systems dynamically

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system introduces an intermediary mechanism that manages the transition between file systems. This intermediary handles process suspension, file descriptor replacement, and attribute synchronization, ensuring a safe and controlled transition that prevents errors

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If file system switching is performed during process execution, then system adaptability is improved, but system complexity increases

Engineering Contradiction:
Improvefile system switching capabilityVSAvoidswitching mechanism complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system employs self-service mechanisms where the file system switching process automatically manages process suspension, resource replacement, and attribute synchronization without requiring complex external coordination. This reduces the overall system complexity while maintaining adaptability

Inventive Principle:
Principle #25Self-service

3Manufacturing precision

If process suspension is implemented during file system switching, then data integrity is improved, but productivity decreases

Engineering Contradiction:
Improvedata integrityVSAvoidprocess execution continuity
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The system implements a quick suspension and resumption mechanism that minimizes the time processes are suspended. By rapidly completing the file system switching operation and immediately resuming processes, the system maintains data integrity while minimizing impact on productivity

Inventive Principle:
Principle #21Skipping (Rushing through)

4Adaptability or versatility

If resource replacement is performed during file system switching, then adaptability is improved, but loss of information increases

Engineering Contradiction:
Improvefile system replacement capabilityVSAvoidfile descriptor and mapping information
Core Design Contradiction:
Adaptability or versatilityVSLoss of information

Solution Approach 1:

The system uses copying mechanisms to preserve file descriptor and memory mapping information during the transition. By creating and maintaining accurate copies of this information, the system ensures that no data is lost during the file system replacement, while still enabling adaptability

Inventive Principle:
Principle #26Copying

Data Source

PatentUS11797336B1System and method for switching file systems based on an instruction from a user application
Publication Date: 2023.10.24 VIRTUOZZO INT GMBH
  • US11797336B1 patent drawing
  • US11797336B1 patent drawing
  • US11797336B1 patent drawing

AI summary

A system and method is provided for switching file systems based on an instruction from a user application. An exemplary method includes receiving an instruction from a user application to replace a first file system by a second file system, identifying and temporarily suspending all processes that are working with one or more files on the first file system, obtaining information about all files that are used by a temporarily suspended process, the obtained information including at least information on corresponding memory mappings or file descriptors, replacing resources of the first file system by matching resources of the second file system, synchronizing attributes of the first and second file systems, and resuming execution of suspended processes.