Block-Order File Traversal Using Snapshot Extent Indexing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Data management systems face challenges in efficiently traversing and reading large numbers of files due to the non-sequential order in which files are discovered in user-level filesystems, leading to suboptimal performance and increased scanning times, particularly in backup environments.

Innovation Solution

Implementing a block-order traversal technique using a reverse map generated from metadata, which maps extents to user-level file paths, allowing the system to read files in a sequential order that maximizes disk performance by using a sliding-window technique and a merged journal file.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If files are traversed in traditional filesystem order, then file discovery is simple, but scanning time increases significantly

Engineering Contradiction:
Improvescanning speedVSAvoidtraversal time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system performs preliminary indexing of files and their physical block locations during backup operations. This index structure is built in advance and stored with the backup data, enabling the system to retrieve file paths and block locations without performing full filesystem traversal during analysis operations, thus significantly reducing scanning time.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary index structure that maps logical file paths to physical block locations on disk. This intermediary layer (the index) mediates between the filesystem layer and the storage layer, allowing the system to skip directly to relevant data blocks without traversing the entire filesystem hierarchy, thereby improving scanning speed.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Speed

If files are read sequentially from disk, then disk performance is optimized, but filesystem traversal complexity increases

Engineering Contradiction:
Improvedisk read speedVSAvoidtraversal mechanism complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The system pre-computes and stores the mapping between file paths and physical block locations during the backup process. This preliminary indexing action eliminates the need for complex real-time filesystem traversal during analysis, as the mapping information is already available in the backup data structure, simplifying the read operation while maintaining sequential disk access patterns.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates a copy of the filesystem metadata and indexing information within the backup data structure itself. This copied index structure allows the system to replicate the filesystem hierarchy and block mappings in the backup environment, enabling sequential reads from the backup storage without needing to traverse the original complex filesystem structure, thus reducing operational complexity.

Inventive Principle:
Principle #26Copying

3Reliability

If all files are scanned to ensure comprehensive analysis, then detection accuracy improves, but processing time increases

Engineering Contradiction:
Improvedetection accuracyVSAvoidanalysis time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs comprehensive indexing of all files and their block locations during backup operations, creating a complete map of the filesystem state at the time of backup. This preliminary action ensures that when analysis is performed, the system has complete information about all files and their physical locations, enabling accurate detection while reducing analysis time through direct access to the index rather than full scanning.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The backup process provides feedback about file locations and metadata to the analysis system through the index structure stored in the backup data. This feedback mechanism enables the analysis system to quickly locate and access specific files without performing comprehensive scanning, thereby maintaining detection accuracy while significantly reducing processing time through the pre-provided spatial information.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12517872B2Techniques for block-order traversal of files
Publication Date: 2026.01.06 RUBRIK INC
  • US12517872B2 patent drawing
  • US12517872B2 patent drawing
  • US12517872B2 patent drawing

AI summary

Methods, systems, and devices for data management are described. A data management system (DMS) may access a snapshot of a target client object to perform a block-order traversal of a set of files included in the snapshot. The DMS may generate an index file for the set of files based on a metadata associated with the snapshot, the index file including a mapping between a file path for each file and one or more properties of each file. The DMS may then read the set of files included in the snapshot using a sliding window in accordance with the mapping between the file path for each file and the one or more properties of each file, and may determine whether to generate an alert based on reading the set of files included in the snapshot.