Data Storage System Bad Page Handling and Valid Count Maintenance
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Data storage systems face challenges in maintaining accurate system data during maintenance operations due to read failures, which can lead to orphaned logical addresses and incorrect validity counts, affecting performance and data integrity.
Innovation Solution
A method and system for managing data storage that involves receiving host write commands, determining physical addresses, checking for 'bad' addresses, and updating address mapping tables by maintaining valid counts and marking invalid addresses, ensuring accurate data relocation and validity tracking.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If read operations are performed during maintenance operations to update address mapping tables, then data relocation can be performed, but read failures occur causing inaccurate system data and invalid validity counts
Solution Approach 1:
The system performs preliminary actions by checking whether a physical address is marked as bad before attempting to read data during maintenance operations. This preventive check avoids the read failures that would otherwise occur, ensuring that validity counts are not incorrectly decremented and that system data remains accurate while still enabling data relocation when possible.
2Device complexity
If all physical addresses are treated as valid during maintenance operations, then simplicity is maintained, but bad pages cause read failures and data integrity issues
Solution Approach 1:
The system implements a preliminary check to determine whether a physical address is marked as bad before proceeding with read operations during maintenance. This approach balances simplicity with reliability by only adding validation complexity when necessary - specifically when a bad page indicator is present - thereby preventing read failures and maintaining data integrity without unnecessarily complicating the address validation process for all addresses.
Data Source
AI summary
The subject technology provides for managing a data storage system. A host write command to write host data associated with a logical address to a non-volatile memory is received. A first physical address in the non-volatile memory mapped to the logical address in an address mapping table is determined. An indicator that the first physical address is bad checked. If the first physical address is indicated as bad, a valid count associated with a first set of physical addresses at a current value is maintained. The first set of physical addresses comprises the first physical address. If the first physical address is not indicated as bad, the first physical address is marked as invalid. The valid count associated with the first set of physical addresses is decremented.


