Filesystem Snapshot Indexing in Isolated User Space

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data management systems (DMS) face challenges in efficiently and reliably indexing filesystem snapshots due to potential corruption or crashes, which can adversely impact backup and recovery operations by affecting the entire system.

Innovation Solution

Performing snapshot processing within a user space that is isolated from other processes and resources, allowing for mount-based indexing to contain any issues within this isolated space, thereby protecting other system components.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If filesystem snapshots are indexed within the kernel space, then indexing speed may be faster, but system reliability deteriorates due to potential corruption or crashes affecting the entire system

Engineering Contradiction:
Improveindexing speedVSAvoidsystem reliability
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The patent divides the filesystem indexing process into separate user space processes isolated from the kernel space. Each snapshot is indexed by a dedicated user space process, segmenting the indexing operation from the core filesystem operations. This segmentation allows faster indexing in user space while protecting kernel reliability, as failures in user space processes do not crash the entire system.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces user space processes as intermediaries between the kernel space filesystem and the indexing operations. These intermediary processes handle the indexing workload in user space, preventing direct interaction between indexing operations and the kernel filesystem. This intermediary layer enables fast indexing while isolating potential corruption risks from the kernel space.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of information

If mount-based indexing is performed on the entire filesystem, then complete indexing coverage is achieved, but processing time increases significantly

Engineering Contradiction:
Improveindexing completenessVSAvoidprocessing time
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The patent implements partial indexing by allowing user space processes to selectively index only the portions of the filesystem that are needed or accessible. Instead of requiring complete filesystem mounting and indexing, the system can perform indexing on subsets of data, achieving sufficient coverage for recovery operations without the time cost of complete indexing.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent enables dynamic indexing where user space processes can adaptively determine which filesystem portions to index based on recovery needs. The indexing process is made dynamic rather than static, allowing the system to adjust the scope and depth of indexing operations to balance completeness against processing time requirements.

Inventive Principle:
Principle #15Dynamics

3Ease of operation

If the filesystem is mounted for indexing, then direct access to files is enabled, but system resources are consumed and other processes may be affected

Engineering Contradiction:
Improvefile access capabilityVSAvoidsystem resource consumption
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent extracts the indexing operation from the kernel space filesystem mounting process and moves it to user space. This extraction allows file access capability to be maintained through user space interfaces without requiring kernel space mounts. The indexing function is separated out and performed independently in user space, reducing the complexity and resource consumption associated with traditional mount-based indexing.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS20260003743A1Filesystem recovery and indexing within a user space
Publication Date: 2026.01.01 RUBRIK INC
  • US20260003743A1 patent drawing
  • US20260003743A1 patent drawing
  • US20260003743A1 patent drawing

AI summary

Methods, systems, and devices for data management are described. A data management system (DMS) may support backup and recovery of a filesystem. The DMS may, as part of the backup, obtain a snapshot of the filesystem. The DMS may mount the snapshot within a user space of a node of the DMS. The user space may be isolated from other processes that execute on the node of the DMS. The DMS may generate, within the user space based on the mounted snapshot, index files that index the filesystem. In response to a subsequent request to access one or more files, the DMS may retrieve the one or more files from the snapshot mounted in the user space based on the index files.