Magnetic Disk Parity Sector Update via XOR Operations

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Magnetic disk devices face inefficiencies in processing performance due to defects and errors in sector reading, particularly when parity sectors become invalid, leading to errors that conventional error correction methods struggle to address effectively.

Innovation Solution

The magnetic disk device employs a system where the controller performs XOR operations on all sectors of a track to generate and update parity sectors, ensuring that even tracks with defects can be corrected by maintaining valid parity sectors, thereby improving processing performance by enabling read-modify-write operations on defective tracks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the magnetic disk device performs read-modify-write operations on defective tracks to maintain valid parity sectors, then error correction capability is improved, but processing time and computational complexity increase

Engineering Contradiction:
Improveerror correction capabilityVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary actions by pre-calculating and storing XOR results of track sectors in the media cache before actual write operations. When a write operation is needed, the system retrieves pre-computed parity data from the cache rather than performing full XOR operations on the fly, significantly reducing processing time while maintaining error correction capability.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The media cache acts as an intermediary between the disk media and the controller, storing pre-computed parity data and XOR results. This intermediary layer allows the controller to quickly retrieve and update parity information without performing time-consuming XOR operations during critical write operations, thus reducing processing time while maintaining reliability.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If the magnetic disk device maintains valid parity sectors for all tracks including defective ones, then data integrity is improved, but device complexity and storage overhead increase

Engineering Contradiction:
Improvedata integrityVSAvoidparity management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system implements self-service by automatically detecting when parity sectors become invalid due to defects, and autonomously regenerating valid parity sectors through XOR operations on the track sectors. This automated parity regeneration process eliminates the need for manual intervention or complex external parity management systems, maintaining data integrity while managing complexity through automation.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system employs feedback mechanisms where the controller continuously monitors the validity of parity sectors against actual track data. When discrepancies are detected (indicating invalid parity due to defects), the system triggers automatic parity regeneration. This feedback loop ensures data integrity is maintained while managing complexity through condition-based automated responses rather than continuous complex monitoring.

Inventive Principle:
Principle #23Feedback

3Measurement precision

If the magnetic disk device performs full track XOR operations to update parity sectors, then error correction accuracy is improved, but processing speed decreases

Engineering Contradiction:
Improveerror correction accuracyVSAvoidprocessing speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system applies partial action by performing XOR operations only on the necessary portions of tracks rather than always processing entire tracks. When updating parity for partial track writes, the system performs XOR operations only on the modified sectors and their corresponding parity portions, rather than re-processing the entire track. This maintains error correction accuracy for the affected areas while significantly improving processing speed by avoiding unnecessary full-track operations.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The media cache stores pre-computed XOR results and parity data from previous operations. When new write operations occur, the system retrieves and combines these pre-computed results with new data through simpler XOR operations, rather than performing complete track-wide XOR operations from scratch. This preliminary computation approach maintains full error correction accuracy while dramatically reducing the computational burden and processing time.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12033662B2Magnetic disk device
Publication Date: 2024.07.09 KK TOSHIBA
  • US12033662B2 patent drawing
  • US12033662B2 patent drawing
  • US12033662B2 patent drawing

AI summary

A magnetic disk device includes a disk including a plurality of error sectors including a defect, a first track having a first parity sector, and a controller. The controller is configured to, upon receiving a write command to write first data in a first region of a portion of the first track, which is a portion of the first track, first perform an XOR operation on all sectors of the first track other than one or more sectors of the first region and the first parity sector of the first track, and then write the first data in the one or more sectors of the first region, perform a second XOR operation on the one or more sectors of the first region and the result of the first XOR operation, and write the result of the second XOR operation in the first parity sector.