Tape File System Data Update Extent Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing Linear Tape File System (LTFS) method of updating data on a tape drive leads to fragmentation, increasing seek time and reducing read performance due to the need for multiple seeks on a sequential device that can only write data after the end of data, resulting in prolonged file read times with frequent updates.

Innovation Solution

A method that involves reading data from the tape, editing and storing it in memory, and writing the edited data along with non-edited data as a continuous extent on the tape, reducing fragmentation and seek times by minimizing the number of seeks required during file read operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If data is updated on tape using conventional fragmentation method, then tape capacity utilization is improved, but seek time increases and read performance deteriorates

Engineering Contradiction:
Improvetape capacity utilizationVSAvoidseek time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent segments the file into multiple extents (data sections) that can be independently managed. When updating a file, only the modified extents are rewritten on the tape while maintaining the structure of unchanged extents. This segmentation allows the system to update data efficiently without requiring complete file rewrites, thereby maintaining tape capacity utilization while reducing unnecessary seek operations.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent employs a buffer cache to store file data before writing to the tape. When a write operation occurs, the system first loads the relevant file sections into the buffer cache, performs the update there, and then writes only the modified portions to the tape. This preliminary action in the buffer cache eliminates the need for frequent random seeks on the tape, significantly reducing seek time while maintaining efficient capacity utilization.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If data is updated frequently on tape, then data freshness is improved, but read operation time increases due to fragmentation

Engineering Contradiction:
Improvedata freshnessVSAvoidread operation time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent divides the file into discrete extents that can be independently updated. When data is modified, only the affected extents are rewritten while others remain in place. This segmentation strategy maintains data freshness by enabling frequent updates without fragmenting the entire file structure, thereby preventing read operation time from increasing due to extensive fragmentation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The buffer cache serves as a preliminary storage layer where file data is updated before being written to the tape. This allows frequent updates to occur in memory without immediately affecting the tape structure. The system maintains data freshness through these preliminary updates while avoiding the need for frequent tape seeks during read operations, thus reducing read operation time.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If entire file is rewritten on tape, then data consistency is improved, but time consumption increases

Engineering Contradiction:
Improvedata consistencyVSAvoidtime consumption
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments the file into multiple extents that can be independently managed and updated. Instead of rewriting the entire file, the system identifies and updates only the modified extents. This segmentation approach maintains data consistency by ensuring that all extents are properly managed while significantly reducing the time required compared to complete file rewrites.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies partial action by updating only the necessary portions of the file (modified extents) rather than the entire file. The buffer cache mechanism allows the system to perform updates partially in memory and then write only the changed portions to the tape. This partial action maintains sufficient data consistency for most applications while dramatically reducing time consumption compared to full file rewrites.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS9910617B2Data updating in a file system
Publication Date: 2018.03.06 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US9910617B2 patent drawing
  • US9910617B2 patent drawing
  • US9910617B2 patent drawing

AI summary

A mechanism is provided for updating data of a file on a tape in a file system using a tape drive. Data of a file which received a write request is read out from a tape drive and stored in a memory. At least a part of the data of the file is edited and the edited data part of the file is stored in the memory. Combination data with a non-edited data part and the edited data part of the file is written on the tape in the tape drive as a continuous data of the file to have an extent. The extent of the written continuous data of the file is then written on the tape.