Selective Redirect-on-Write for Encoded Data Chunks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Extent-based write-in-place file systems face challenges with data compression and encryption due to the potential loss of data consistency and inability to regenerate data from encrypted or compressed forms, especially when system outages occur, and write-anywhere file systems suffer from fragmentation and loss of locality.

Innovation Solution

Implementing a redirect-on-write operation in a write-in-place file system that selectively redirects encoded data chunks to new storage locations, maintaining data consistency and locality while allowing for compression and encryption, using a decision-making module to determine whether to perform a redirect-on-write based on metadata analysis.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If data compression and encryption are applied in write-in-place file systems, then data storage efficiency and security are improved, but data consistency and reliability deteriorate due to potential loss during system outages

Engineering Contradiction:
Improvedata storage efficiencyVSAvoiddata consistency
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent segments the file system into two distinct storage paths: a write-in-place path for unencoded data chunks and a redirect-on-write path for encoded data chunks. This segmentation allows the system to apply different write strategies based on data characteristics, maintaining reliability for encoded data while preserving storage efficiency benefits.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements dynamic decision-making that determines whether to use write-in-place or redirect-on-write based on real-time analysis of data chunk encoding status. The system dynamically selects the appropriate write path, transitioning between static write strategies to optimize both reliability and storage efficiency under different conditions.

Inventive Principle:
Principle #15Dynamics

2Adaptability or versatility

If write-anywhere file systems are used to allow compression and encryption, then data management flexibility is improved, but data fragmentation and loss of locality occur

Engineering Contradiction:
Improvedata management flexibilityVSAvoiddata locality
Core Design Contradiction:
Adaptability or versatilityVSStability of the object's composition

Solution Approach 1:

The patent applies local quality by treating encoded and unencoded data chunks differently within the same file system. Encoded data chunks receive redirect-on-write treatment to maintain flexibility, while unencoded data chunks use write-in-place to preserve locality. This localized differentiation resolves the contradiction by applying appropriate strategies to specific data regions.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent segments the write operation logic into distinct paths based on data encoding status. By separating the write-in-place path from the redirect-on-write path, the system maintains data locality for suitable data while enabling flexible encoding operations where needed, thus preserving overall data organization.

Inventive Principle:
Principle #1Segmentation

3Reliability

If redirect-on-write is always performed for encoded data chunks, then data consistency is improved, but system performance and productivity deteriorate due to additional write operations

Engineering Contradiction:
Improvedata consistencyVSAvoidsystem performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent applies partial action by performing redirect-on-write only for encoded data chunks that require it, rather than universally for all data operations. This selective approach ensures data consistency where necessary while avoiding unnecessary write operations that would degrade performance, thus balancing reliability and productivity.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent changes the write strategy parameter dynamically based on data chunk encoding status. For encoded data, the system switches to redirect-on-write mode to ensure consistency; for unencoded data, it maintains write-in-place mode for performance. This parameter adjustment resolves the contradiction by adapting behavior to data characteristics.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11119981B2Selectively redirect-on-write data chunks in write-in-place file systems
Publication Date: 2021.09.14 HEWLETT PACKARD ENTERPRISE DEV LP
  • US11119981B2 patent drawing
  • US11119981B2 patent drawing
  • US11119981B2 patent drawing

AI summary

In one example, a method may include receiving a write operation corresponding to a portion of a data chunk stored at a first storage location in a write-in-place file system. The write-in-place file system may include encoded data chunks and unencoded data chunks. The method may include determining whether the data chunk is an encoded data chunk based on metadata associated with the data chunk, modifying the data chunk based on the write operation, and selectively performing a redirect-on-write operation on the modified data chunk based on the determination.