SCSI Target Link Anomaly Tolerance Mechanism

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

SCSI systems face challenges in robustness, particularly in tolerating communication anomalies and command bursts, which can lead to futile retries and increased recovery efforts due to limited retry capabilities and self-compounding command bursts.

Innovation Solution

Implementing a method where the SCSI target withholds responding to failed commands until communication links are determined to be normal or a predetermined timeout expires, and proactively returning responses for pending commands within an initiator-defined timeout duration to prevent SCSI initiator timeouts.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the SCSI target immediately returns a response for a failed command, then the response time is reduced, but futile retries occur when communication links are temporarily abnormal

Engineering Contradiction:
Improvelink anomaly toleranceVSAvoidcommand processing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The SCSI target performs preliminary checking of communication link status before returning a response for a failed command. By proactively verifying link normality in advance, the system determines whether to suppress the response, thereby avoiding futile retries while maintaining efficient command processing when links are operational.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If the SCSI initiator increases retry attempts to handle communication failures, then link anomaly tolerance is improved, but command burst tolerance deteriorates due to self-compounding command bursts

Engineering Contradiction:
Improvelink anomaly toleranceVSAvoidcommand burst handling capability
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The SCSI target actively monitors communication link status and provides feedback by suppressing responses when link abnormalities are detected. This feedback mechanism prevents the SCSI initiator from performing unnecessary retries, thereby reducing command burst generation and improving overall system productivity during temporary link failures.

Inventive Principle:
Principle #23Feedback

3Productivity

If the SCSI target suppresses responses for failed commands during link abnormalities, then futile retries are reduced, but the complexity of determining link status increases

Engineering Contradiction:
Improverecovery efficiencyVSAvoidlink status determination complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The SCSI target utilizes its existing communication infrastructure and error detection mechanisms to self-determine link status. By leveraging built-in capabilities such as checking for command transmission acknowledgments and utilizing existing error detection fields, the system avoids the need for separate complex link monitoring subsystems.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS9716611B1Method and apparatus for enhancing link anomaly tolerance in a SCSI system
Publication Date: 2017.07.25 EMC IP HLDG CO LLC
  • US9716611B1 patent drawing
  • US9716611B1 patent drawing
  • US9716611B1 patent drawing

AI summary

A computer-implemented method is disclosed to enhance link anomaly tolerance in a small computer system interface (SCSI) system. The method starts with detecting a SCSI command failed at a SCSI target, where the SCSI target is communicatively coupled with a SCSI initiator through a set of communication links and the failed SCSI command is sent from the SCSI initiator. After detecting the failure, the SCSI target withholds returning a response for the failure. Then the SCSI target checks a status of the set of communication links periodically within the withholding duration while the response for the failed SCSI command is withheld. The SCSI target returns the response for the failed SCSI command upon at least one of two conditions is met: (1) The withhold duration expires; (2) The set of communication links is determined to function normally based on checking the status of the set of communication links.