Storage Controller Command Queue Deletion Mechanism
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing data storage devices face challenges in efficiently deleting command queues without interfering with the execution of other commands, particularly when processing thousands of commands across multiple queues, as locating and terminating specific commands can be difficult and may disrupt ongoing operations.
Innovation Solution
A system and method that include a storage controller circuit configured to receive a queue deletion command, abort all pending commands associated with the selected command queue based on a queue identifier, and send a completion indicator to notify the host device that the queue has been deleted, ensuring that no commands remain pending before completing the deletion process.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If the storage controller locates and terminates specific commands in a command queue to be deleted, then the queue deletion can be performed, but the process becomes difficult and time-consuming when processing thousands of commands across multiple queues
Solution Approach 1:
The patent segments the command queue management by introducing queue identifiers that group commands into distinct queues. Instead of searching through all commands individually, the controller can target and delete entire queues by their identifiers, significantly reducing the time required to locate and terminate specific commands among thousands of commands across multiple queues.
2Productivity
If the storage controller aborts all pending commands associated with a selected command queue, then the queue can be deleted, but there is a risk of disrupting the execution of other commands
Solution Approach 1:
The patent implements local quality by making each command associated with a specific queue identifier. When a queue deletion is requested, the controller aborts only the commands belonging to that specific queue (identified by matching queue identifiers) while leaving other commands in different queues unaffected. This selective approach enables fast queue deletion without disrupting the execution of other commands.
3Reliability
If the storage controller verifies that no commands remain pending before completing queue deletion, then data integrity is maintained, but the deletion process becomes more complex
Solution Approach 1:
The patent implements feedback by having the storage controller send completion indicators back to the host device after aborting commands and verifying queue deletion. The controller monitors the status of commands associated with the selected queue and only completes the deletion process after confirming that no commands remain pending. This feedback mechanism maintains data integrity while providing the host with confirmation of successful queue deletion.
Data Source
AI summary
Systems and methods are disclosed to delete a command queue, in accordance with certain embodiments of the present disclosure. An apparatus may comprise a circuit configured to receive a queue deletion indicator from a host device, including a queue identifier for a selected command queue to be deleted. The circuit may abort each command associated with the selected command queue and pending at the apparatus based on the queue identifier. Commands associated with the selected queue may be identified in a command table and flagged with an abort bit, which may signal an I/O processing pipeline to abort the command when encountered. The circuit may verify that no commands associated with the selected command queue remain pending at the apparatus, and send a completion indicator to notify the host device that the selected command queue is deleted.


