IP Library Granted Patent US 11,748,218
Granted Patent B2
US 11,748,218 · App. 16/846,820 · Granted Sep 5, 2023

Methods, electronic devices, storage systems, and computer program products for error detection

Inventors: Min Zhang (Shanghai, CN); Guifeng Tang (Shanghai, CN); Zhe Wang (Shanghai, CN)
Assignee: EMC IP Holding Company LLC
G06F11/221G06F13/4022G06F13/4282G06F2213/0026
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,748,218
App. No.
16/846,820
Granted
Sep 5, 2023
Kind
B2
Abstract

Techniques for error detection involve injecting, to a switch of a storage system, information representing an error of at least one device to be tested of the system, such that the information representing the error is passed from an upstream port of the switch to a computing device connected with the switch, the switch being connected to the at least one device to be tested via a downstream port. The techniques further involve obtaining a handling result of the computing device on the information representing the error, and determining an error handling capability of the system at least partly by analyzing the handling result. Accordingly, slave storage devices of storage system nodes, connectors, the entire PCIe topology at the CPU level, and an NVMe bus can be tested, so that the entire logical path of the error handling can be tested, thereby improving performance and saving testing costs.

Claims (63)

1. A method of error detection, comprising:

injecting, to a switch of a storage system, information representing an error of at least one device to be tested of the storage system, so that the information representing the error is passed from an upstream port of the switch to a computing device connected with the switch, the switch being connected to the at least one device to be tested via a downstream port;

obtaining a handling result of the computing device for the information representing the error; and

determining an error handling capability of the storage system at least partly by analyzing the handling result;

wherein the information is injected in response to a user input.

2. The method of claim 1 , wherein injecting the information representing the error comprises:

injecting the information representing the error at the downstream port; and

causing the computing device to perform an I/O operation for a storage device in the storage system that is connected with the downstream port, to pass the information representing the error to the computing device.

3. The method of claim 1 , wherein the switch is a Peripheral Component Interconnect express (PCIe) switch.

4. The method of claim 1 , wherein the at least one device to be tested comprises at least one of the following:

a storage device of a storage system,

a Peripheral Component Interconnect express (PCIe) device,

U.2 connector,

M.2 connector, and

Mini Serial Attached Small Computer System Interface High Density Interconnect (MINISAS HD).

5. The method of claim 1 , wherein the error may comprise at least one of the following;

a Peripheral Component Interconnect express (PCIe) correctable error; and

a medium error of a storage device of a storage system.

6. The method of claim 1 , wherein the upstream port and the downstream port are connected in an error injection mode.

7. The method of claim 1 , wherein injecting the information representing the error comprises:

providing a data packet which indicates an internal failure of a storage device.

8. The method of claim 1 , wherein injecting the information representing the error comprises:

providing a data packet which indicates an incorrect link of a storage device.

9. An electronic device, comprising:

a processor; and

a memory coupled to the processor and storing instructions for execution, the instructions, when executed by the processor, causing the electronic device to perform acts comprising:

injecting, to a switch of a storage system, information representing an error of at least one device to be tested of the storage system, such so that the information representing the error is passed from an upstream port of the switch to a computing device connected with the switch, the switch being connected to the at least one device to be tested via a downstream port;

obtaining a handling result of the computing device for the information representing the error; and

determining an error handling capability of the storage system at least partly by analyzing the handling result;

wherein the information is injected in response to a user input.

10. The electronic device of claim 9 , wherein injecting the information representing the error comprises:

injecting the information representing the error at the downstream port; and

causing the computing device to perform an I/O operation for a storage device in the storage system that is connected with the downstream port, to pass the information representing the error to the computing device.

11. The electronic device of claim 9 , wherein the switch is a Peripheral Component Interconnect express (PCIe) switch.

12. The electronic device of claim 9 , wherein the at least one device to be tested comprises at least one of the following:

a storage device of a storage system,

a Peripheral Component Interconnect express (PCIe) device,

U.2 connector,

M.2 connector, and

Mini Serial Attached Small Computer System Interface High Density Interconnect (MINISAS HD).

13. The electronic device of claim 9 , wherein the error may comprise at least one of the following;

a Peripheral Component Interconnect express (PCIe) correctable error; and

a medium error of a storage device of a storage system.

14. The electronic device of claim 9 , wherein the upstream port and the downstream port are connected in an error injection mode.

15. The electronic device of claim 9 , wherein injecting the information representing the error comprises:

providing a data packet which indicates an internal failure of a storage device.

16. The electronic device of claim 9 , wherein injecting the information representing the error comprises:

providing a data packet which indicates an incorrect link of a storage device.

17. A computer program product having a non-transitory computer readable medium which stores a set of instructions to perform error detection; the set of instructions, when carried out by computerized circuitry, causing the computerized circuitry to perform a method of:

injecting, to a switch of a storage system, information representing an error of at least one device to be tested of the storage system, so that the information representing the error is passed from an upstream port of the switch to a computing device connected with the switch, the switch being connected to the at least one device to be tested via a downstream port;

obtaining a handling result of the computing device for the information representing the error; and

determining an error handling capability of the storage system at least partly by analyzing the handling result;

wherein the information is injected in response to a user input.

18. The computer program product of claim 17 , wherein injecting the information representing the error comprises:

injecting the information representing the error at the downstream port; and

causing the computing device to perform an I/O operation for a storage device in the storage system that is connected with the downstream port, to pass the information representing the error to the computing device.

19. The computer program product of claim 17 , wherein the switch is a Peripheral Component Interconnect express (PCIe) switch.

20. The computer program product of claim 17 , wherein the at least one device to be tested comprises at least one of the following:

a storage device of a storage system,

a Peripheral Component Interconnect express (PCIe) device,

U.2 connector,

M.2 connector, and

Mini Serial Attached Small Computer System Interface High Density Interconnect (MINISAS HD).

Assignments (9)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (052851/0081) Recorded Jun 23, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 060436/0441 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (052851/0917) Recorded Jun 23, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 060436/0509 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (052852/0022) Recorded Jun 23, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 060436/0582 →
RELEASE OF SECURITY INTEREST AT REEL 052771 FRAME 0906 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 058001/0298 →
SECURITY INTEREST Recorded Jun 5, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 052852/0022 →
SECURITY INTEREST Recorded Jun 5, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC; THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 052851/0081 →
SECURITY INTEREST Recorded Jun 5, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 052851/0917 →
SECURITY AGREEMENT Recorded May 28, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 052771/0906 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 21, 2020
From: ZHANG, MIN; TANG, GUIFENG; WANG, ZHE
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 052727/0371 →