Uncorrectable Error Handling in SSDs via Spare Block Mapping
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current solid-state storage devices, particularly SSDs, face challenges in handling uncorrectable errors due to worsening signal-to-noise ratios and imperfect insulation, leading to data loss and inefficiencies in error detection and correction, which can result in costly and unpredictable error handling.
Innovation Solution
A user-space data-placement layer is introduced to detect and handle uncorrectable errors by mapping data storage requests to physical locations, allowing for immediate reporting and correction of silent data corruptions during both host and background operations, and enabling online error handling without bringing the storage drive offline.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If stronger error-correction mechanisms (ECC and RAISE) are implemented, then data protection capability is improved, but device complexity and cost increase
Solution Approach 1:
The patent segments error handling into multiple layers: first attempting ECC correction, then RAISE recovery, and finally fallback to spare blocks. This hierarchical segmentation allows the system to use stronger error protection only when necessary, reducing average complexity while maintaining high reliability.
Solution Approach 2:
The patent pre-allocates spare blocks and maintains mapping tables that identify alternative storage locations before errors occur. When an error is detected, the system can immediately redirect data to pre-prepared spare blocks without complex real-time decision-making, simplifying the error handling process.
2Reliability
If uncorrectable errors are detected and handled immediately, then data integrity is improved, but operational time is increased due to error handling procedures
Solution Approach 1:
The system pre-computes and stores mapping information for spare blocks and alternative data locations during normal operation. When an uncorrectable error occurs, the system uses these pre-prepared mappings to immediately redirect data flow without time-consuming search or decision processes, maintaining both data integrity and operational speed.
Solution Approach 2:
The error handling mechanism operates autonomously using pre-configured spare blocks and mapping tables. The system self-manages error recovery without requiring external intervention or complex coordination, reducing the time overhead of error handling while ensuring data integrity through automated fallback to alternative storage locations.
3Reliability
If the storage drive is brought offline for error repair, then data protection is improved, but productivity and operational efficiency deteriorate
Solution Approach 1:
The system performs error recovery autonomously in the background using spare blocks and mapping tables without requiring the storage drive to go offline. The error handling process self-manages data redirection and repair operations while the drive remains operational for normal data access, maintaining both data protection and productivity.
Solution Approach 2:
The patent enables continuous operation during error recovery by maintaining data access paths through mapping tables that redirect to spare blocks. The useful action of data storage and retrieval continues uninterrupted while error repair occurs in the background, eliminating downtime and maintaining operational efficiency alongside data protection.
4Reliability
If entire disk drives are replaced when uncorrectable errors occur, then data protection is improved, but loss of substance and cost increase
Solution Approach 1:
The patent segments the storage system into active data blocks and dedicated spare blocks. When uncorrectable errors occur, only the affected specific blocks are replaced or redirected using spare blocks, rather than replacing the entire drive. This segmentation minimizes storage capacity loss while maintaining data protection through targeted error handling.
Solution Approach 2:
The system recovers storage capacity by reusing spare blocks to replace failed data blocks. Instead of discarding the entire drive, the system recovers usable capacity by redirecting data to alternative blocks and marking only the failed blocks as unusable, thereby minimizing storage substance loss while maintaining data protection.
Data Source
AI summary
One embodiment described herein provides a method and system for handling errors in a storage system. During operation a data-placement module of the storage system detects an error occurring at a first physical location within the storage system. In response to determining that the error occurs during a write access, the system writes to-be-written data into a second physical location within the storage system, and updates a mapping between a logical address and a physical address associated with the to-be-written data.


