Early termination of an I/O operation in an I/O processing system
First Claim
1. A computer program product for handling early termination of an input/output (I/O) operation at a channel subsystem in an I/O processing system, the computer program product comprising:
- a tangible storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising;
opening a first exchange and transmitting a Transport control block (TCCB) to a control unit in communication with the channel subsystem, the TCCB specifying an I/O operation to be performed;
opening a second exchange and transmitting a purge path Information Unit (IU) to the control unit, wherein the purge path IU includes an error code, the error code indicating to the control unit an error condition comprising a clear subchannel command sent from an operating system to the channel subsystem in the I/O processing system, a halt subchannel command sent from the operating system to the channel subsystem, a storage exception occurring due to an error in fetching or storing data in a host storage of a host system or a combination thereof, the host system including the channel subsystem;
receiving from the control unit a purge path response IU associated with the transmitted purge path IU; and
responsive to receiving the purge path response IU, transmitting a link level acknowledgment (LACK) to the control unit to close the second exchange.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer program product, apparatus, and method for handling early termination of an I/O operation at a channel subsystem in an I/O processing system are provided. The computer program product includes a tangible storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method. The method includes receiving a request to terminate an I/O operation, and transmitting an abort command to a control unit in communication with the channel subsystem in response to receiving the request to terminate the I/O operation. The method also includes transmitting a purge path command to purge a path associated with the I/O operation, where the purge path command includes an error code identifying the request to terminate the I/O operation.
-
Citations
36 Claims
-
1. A computer program product for handling early termination of an input/output (I/O) operation at a channel subsystem in an I/O processing system, the computer program product comprising:
-
a tangible storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising; opening a first exchange and transmitting a Transport control block (TCCB) to a control unit in communication with the channel subsystem, the TCCB specifying an I/O operation to be performed; opening a second exchange and transmitting a purge path Information Unit (IU) to the control unit, wherein the purge path IU includes an error code, the error code indicating to the control unit an error condition comprising a clear subchannel command sent from an operating system to the channel subsystem in the I/O processing system, a halt subchannel command sent from the operating system to the channel subsystem, a storage exception occurring due to an error in fetching or storing data in a host storage of a host system or a combination thereof, the host system including the channel subsystem; receiving from the control unit a purge path response IU associated with the transmitted purge path IU; and responsive to receiving the purge path response IU, transmitting a link level acknowledgment (LACK) to the control unit to close the second exchange. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. An apparatus for handling early termination of an input/output (I/O) operation, the apparatus comprising:
-
a host computer including an operating system and a channel subsystem, the channel subsystem for communication with a control unit, the channel subsystem including one or more channels for directing information flow between memory and one or more I/O devices via the control unit, and configured to perform a method comprising; opening a first exchange and transmitting a Transport control block (TCCB) to the control unit, the TCCB specifying an I/O operation to be performed; opening a second exchange and transmitting a purge path Information Unit (IU) to the control unit, wherein the purge path IU includes an error code, the error code indicating to the control unit an error condition comprising a clear subchannel command sent from the operating system to the channel subsystem in the I/O processing system, a halt subchannel command sent from the operating system to the channel subsystem, a storage exception occurring due to an error in fetching or storing data in a host storage of a host system or a combination thereof, the host system including the channel subsystem; receiving from the control unit a purge path response IU associated with the transmitted purge path IU; and responsive to receiving the purge path response IU, transmitting a link level acknowledgment (LACK) to the control unit to close the second exchange. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A method for handling early termination of an input/output (I/O) operation at a channel subsystem in an I/O processing system, the method comprising:
-
opening a first exchange and transmitting a Transport control block (TCCB) to the control unit, the TCCB specifying an I/O operation to be performed; opening a second exchange and transmitting a purge path Information Unit (IU) to the control unit, wherein the purge path IU includes an error code, the error code indicating to the control unit an error condition comprising a clear subchannel command sent from an operating system to the channel subsystem in the I/O processing system, a halt subchannel command sent from the operating system to the channel subsystem, a storage exception occurring due to an error in fetching or storing data in a host storage of a host system or a combination thereof, the host system including the channel subsystem; receiving from the control unit a purge path response IU associated with the transmitted purge path IU; and responsive to receiving the purge path response IU, transmitting a link level acknowledgment (LACK) to the control unit to close the second exchange. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36)
-
Specification