Tape Mounting Index With Tag Filtering for Faster File Enumeration
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The increase in data capacity in tape media leads to a substantial increase in the number of files and directories, causing a significant decrease in response time due to repeated context switches from user mode to kernel mode during file enumeration, which is inefficient and time-consuming.
Innovation Solution
Implementing metadata tags associated with files in the index of tape media, using numerical values to represent these tags, and allowing users to specify a tag query for filtering files, thereby reducing the number of context switches and files enumerated in system memory.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If the number of files and directories in tape media increases to increase data capacity, then storage capacity is improved, but response time decreases due to repeated context switches during file enumeration
Solution Approach 1:
The patent segments the file enumeration process by introducing metadata tags that categorize files into groups. Instead of enumerating all files individually, the system uses tag-based filtering to divide the enumeration task into smaller, manageable segments based on user-specified tags, reducing the number of context switches required.
Solution Approach 2:
The patent introduces metadata tags as an intermediary layer between the file system and the enumeration process. These tags serve as mediators that allow the system to filter and select files based on tag criteria, avoiding the need to enumerate every file and thereby reducing context switches between user mode and kernel mode.
2Loss of information
If all files are enumerated in system memory during tape mounting, then complete file listing is achieved, but memory usage and context switches increase significantly
Solution Approach 1:
The patent extracts only the necessary files for enumeration by using tag-based filtering. Instead of loading all files into memory, the system extracts and enumerates only those files that match the specified tag criteria, reducing memory usage and the number of context switches while maintaining the completeness of relevant file information.
Solution Approach 2:
The patent implements partial enumeration by allowing users to specify tag filters that determine which subset of files should be enumerated. This partial action approach enumerates only the necessary files rather than all files, reducing memory usage and context switches while providing sufficient information for the user's needs.
Data Source
AI summary
Provided are a computer program product, system, and method for tape mounting with tag filtering. A determination is made of metadata tags for files to write to a storage device. A tag list is updated with the metadata tags for the files. A determination is made of bit representations for the files. A bit representation for a file identifies metadata tags for the file in the tag list. The bit representations to the files are converted to numerical values in a first numbering system different from a second numbering system used for the bit representations. The files are written to the storage device. The tag list and the numerical values for the files are written to an index for the files in the storage device.


