Transition to switch node adapter diagnostics using adapter device driver
First Claim
1. In a switch node, a method of releasing control of an adapter to a diagnostics program, the method comprising:
- setting a first flag at a device driver associated with the adapter to block any new open system call;
broadcasting an adapter down event to instruct components of the switch node to release resources on the adapter; and
setting a second flag at the device driver to block input/output control calls other than from the diagnostics program.
2 Assignments
0 Petitions
Accused Products
Abstract
Smooth release of resources on a switch node adapter to a diagnostics program is provided without requiring rebooting of the system. The release technique includes: setting a first flag at a device driver associated with the adapter to block new open system calls from opening the device driver; broadcasting an adapter down event to instruct internet protocol (IP), fault service daemon (FSD) and application program interface (API) components of the node to release resources on the adapter; and setting a second flag at the device driver to block input/output control calls other than from the diagnostics program. When the device driver supports multiple adapters, only the adapter undergoing diagnostics is suspended, the remaining adapters remain up to components of the switch node. Upon completion of diagnostics, components remaining in open state are restarted on their communication windows at the adapter.
-
Citations
31 Claims
-
1. In a switch node, a method of releasing control of an adapter to a diagnostics program, the method comprising:
-
setting a first flag at a device driver associated with the adapter to block any new open system call;
broadcasting an adapter down event to instruct components of the switch node to release resources on the adapter; and
setting a second flag at the device driver to block input/output control calls other than from the diagnostics program. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system of initiating diagnostics of a switch node adapter, said system comprising:
-
means for setting a first flag at a device driver associated with the adapter to block any new open system call;
means for broadcasting an adapter down event to instruct components of the switch node to release resources on the adapter; and
means for setting a second flag at the device driver to block input/output control (ioctl) calls other than from a diagnostics program. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A system for facilitating diagnostics testing of a switch node adapter, said system comprising:
a device driver having an adapter to undergo diagnostics testing, wherein upon initiation of diagnostics said device driver is adapted to;
set a first flag associated with the adapter to block any new open system call;
broadcast an adapter down event to instruct components of the switch node to release resources on the adapter; and
set a second flag on the device driver to block input/output control calls other than from a diagnostics routine, thereby releasing control of the adapter to the diagnostics routine for testing.
-
22. At least one program storage device readable by a machine, tangibly embodying at least one program of instructions executable by the machine to perform a method of releasing control of a switch node adapter to a diagnostics program, comprising:
-
setting a first flag at a device driver associated with the adapter to block any new open system call;
broadcasting an adapter down event to instruct components of the switch node to release resources on the adapter; and
setting a second flag at the device driver to block input/output control calls other than from the diagnostics program. - View Dependent Claims (23, 24, 25, 26, 27, 28, 29, 30, 31)
-
Specification