Storage Program Error Handling on General-Purpose OS
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
General-purpose operating systems (OS) lack an effective error handling mechanism for hardware devices, leading to unreliable storage function execution when a storage program is activated on them, as they often continue to use hardware devices even with grave errors, failing to maintain the required reliability for storage operations.
Innovation Solution
A computing system that includes a processor executing an OS and a storage program, where the OS identifies hardware errors and notifies the storage program, allowing it to determine and request appropriate error handling actions, ensuring high reliability by blocking faulty hardware devices.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a storage program is actuated on a general-purpose OS to reduce costs, then cost containment is improved, but reliability deteriorates because the OS lacks specialized error handling mechanisms
Solution Approach 1:
The error handling functionality is segmented into separate modules: OS-level error detection, condition evaluation module, and storage program-level handling execution. This allows the general-purpose OS to maintain simplicity while enabling specialized storage error handling when needed.
Solution Approach 2:
An intermediary condition evaluation module is introduced between the OS and storage program. This module receives error notifications from the OS, evaluates them against stored conditions, and determines whether to invoke specialized storage error handling, thus bridging the gap between general-purpose OS and specialized storage requirements.
2Reliability
If the OS executes ordinary error handling, then ease of operation is improved, but reliability deteriorates because generic error handling cannot address storage-specific error types
Solution Approach 1:
The storage program performs self-service error handling by evaluating error conditions and executing appropriate handling actions autonomously based on pre-configured conditions, eliminating the need for complex OS-level storage-specific error handling mechanisms.
Solution Approach 2:
Error handling conditions and actions are pre-configured and stored in the system before errors occur. When errors are detected, the system simply evaluates the pre-configured conditions and executes the corresponding pre-prepared handling actions, making the operation simple while maintaining high reliability.
3Reliability
If the storage program directly controls error handling on hardware devices, then reliability is improved, but device complexity increases due to additional control mechanisms
Solution Approach 1:
The specialized storage error handling functionality is extracted from the general-purpose OS and implemented as a separate storage program module. This allows the OS to remain simple while the storage program provides specialized error handling control.
Solution Approach 2:
Specialized error handling is applied locally only to storage-related errors through condition-based evaluation, while other system errors continue to use standard OS error handling. This targeted approach improves storage reliability without adding complexity to the entire system.
Data Source
AI summary
A computing system that can maintain reliability required of a storage program while causing the storage program to operate on an operating system (OS) is provided. A processor of the computing system executes an OS controlling a hardware device and a storage program operating on the OS and using the hardware device via the OS. The OS identifies an error status of the hardware device when receiving a notification of an error that has occurred to the hardware device, and notifies the storage program that operates on the OS of the error status when the error status satisfies a predetermined condition. The storage program determines error handling on the hardware device on the basis of the error status, and requests the OS to perform the determined error handling. The OS performs the determined error handling on the hardware device.


