US20130007304A1 - Facilitating transport mode input/output operations between a channel subsystem and input/output devices - Google Patents

Facilitating transport mode input/output operations between a channel subsystem and input/output devices Download PDF

Info

Publication number
US20130007304A1
US20130007304A1 US13/173,733 US201113173733A US2013007304A1 US 20130007304 A1 US20130007304 A1 US 20130007304A1 US 201113173733 A US201113173733 A US 201113173733A US 2013007304 A1 US2013007304 A1 US 2013007304A1
Authority
US
United States
Prior art keywords
data
value
dcw
control unit
sli
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US13/173,733
Other versions
US8346978B1 (en
Inventor
Susan K. Candelaria
Scott M. Carlson
John R. Flanagan
Roger G. Hathorn
Matthew J. Kalos
Louis W. Ricci
Dale F. Riedy
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Priority to US13/173,733 priority Critical patent/US8346978B1/en
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION reassignment INTERNATIONAL BUSINESS MACHINES CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: KALOS, MATTHEW J., RICCI, LOUIS W., CANDELARIA, SUSAN K., HATHORN, ROGER G., CARLSON, SCOTT M., FLANAGAN, JOHN R., RIEDY, DALE F.
Priority to PCT/EP2012/058159 priority patent/WO2013000604A1/en
Priority to CN201280026319.0A priority patent/CN103597458B/en
Priority to GB1321890.4A priority patent/GB2505814A/en
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION reassignment INTERNATIONAL BUSINESS MACHINES CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: KALOS, MATTHEW J., YUDENFRIEND, HARRY M., RICCI, LOUIS W., FLANAGAN, JOHN R., CASPER, DANIEL F., RIEDY, DALE F., CARLSON, SCOTT M., HATHORN, ROGER G., CANDELARIA, SUSAN K.
Application granted granted Critical
Publication of US8346978B1 publication Critical patent/US8346978B1/en
Publication of US20130007304A1 publication Critical patent/US20130007304A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/124Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine
    • G06F13/126Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine and has means for transferring I/O instructions and statuses between control unit and main processor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices

Definitions

  • the present disclosure relates generally to input/output (I/O) processing, and in particular, to providing features to facilitate transport mode I/O operations.
  • I/O operations are used to transfer data between memory and I/O devices of an I/O processing system. Specifically, data is written from memory to one or more I/O devices, and data is read from one or more I/O devices to memory by executing I/O operations.
  • an I/O subsystem of the I/O processing system is employed.
  • the I/O subsystem is coupled to main memory and the I/O devices of the I/O processing system and directs the flow of information between memory and the I/O devices.
  • One example of an I/O subsystem is a channel subsystem.
  • the channel subsystem uses channel paths as communications media. Each channel path includes a channel coupled to a control unit, the control unit being further coupled to one or more I/O devices.
  • the channel subsystem and I/O device may operate in a transport mode that supports the transfer of one or more command control blocks to transfer data between the I/O devices and memory.
  • a transport control word specifies one or more I/O commands to be executed.
  • the TCW designates memory areas associated with the operation, the action to be taken whenever a transfer to or from the area is completed, and other options.
  • An embodiment includes a computer program product for performing an input/output (I/O) processing operation at a control unit configured to control an I/O device and configured for communication with a host computer system, the I/O operation initiated by an I/O operation instruction.
  • 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 including: receiving at least one command message specifying an I/O operation at the control unit from a channel subsystem of the host computer system, the at least one command message including one or more device command words (DCWs), each DCW associated with an I/O command, wherein at least one DCW of the one or more DCWs includes a data count and a suppress-length indication (SLI), the SLI configured to instruct the control unit whether to continue to perform the I/O operation in response to the control unit detecting an incorrect length condition, the incorrect length condition detected in response to the data count not matching an amount of data required to perform the I/O operation command, wherein the data required is one of data available
  • Another embodiment includes an apparatus for performing an input/output (I/O) processing operation at a control unit configured to control an I/O device and configured for communication with a host computer system, the I/O operation initiated by an I/O operation instruction.
  • the control unit is configured to perform: receiving at least one command message specifying an I/O operation at the control unit from a channel subsystem of the host computer system, the at least one command message including one or more device command words (DCWs), each DCW associated with an I/O command, wherein at least one DCW of the one or more DCWs includes a data count and a suppress-length indication (SLI), the SLI configured to instruct the control unit whether to continue to perform the I/O operation in response to the control unit detecting an incorrect length condition, the incorrect length condition detected in response to the data count not matching an amount of data required to perform the I/O operation command, wherein the data required is one of data available at the control unit for a read operation command and data required by the control unit for a write operation command; processing at least one of
  • Another embodiment includes a method of performing an input/output (I/O) processing operation at a control unit configured to control an I/O device and configured for communication with a host computer system, the I/O operation initiated by an I/O operation instruction.
  • the method includes: receiving at least one command message specifying an I/O operation at the control unit from a channel subsystem of the host computer system, the at least one command message including one or more device command words (DCWs), each DCW associated with an I/O command, wherein at least one DCW of the one or more DCWs includes a data count and a suppress-length indication (SLI), the SLI configured to instruct the control unit whether to continue to perform the I/O operation in response to the control unit detecting an incorrect length condition, the incorrect length condition detected in response to the data count not matching an amount of data required to perform the I/O operation command, wherein the data required is one of data available at the control unit for a read operation command and data required by the control unit for a write operation command; processing at least one of the one or
  • FIG. 1 depicts one embodiment of an I/O processing system incorporating and using one or more aspects of the present invention
  • FIG. 2 depicts one embodiment of a transport control word (TCW);
  • TCW transport control word
  • FIG. 3 depicts one embodiment of a transport command control block (TCCB);
  • FIG. 4 depicts one embodiment of a transport command information unit (IU) that includes the TCCB of FIG. 3 ;
  • IU transport command information unit
  • FIG. 5 depicts one embodiment of a transport command header of the transport command IU of FIG. 4 ;
  • FIG. 6 depicts one embodiment of a transport command area header (TCAH) of the TCCB of FIG. 4 ;
  • TCAH transport command area header
  • FIG. 7 depicts one embodiment of a transport command area (TCA) of the TCCB of FIG. 4 ;
  • FIG. 8 is a table describing exemplary determinations of various data counts for uni-directional data transfer operations
  • FIG. 9 is a table describing exemplary determinations of various data counts for bidirectional data transfer operations.
  • FIG. 10 depicts one embodiment of a device command word (DCW).
  • DCW device command word
  • FIG. 11 depicts one embodiment of a control flags field of the DCW of FIG. 10 ;
  • FIG. 12 depicts exemplary command codes and flags for DCWs
  • FIG. 13 depicts one embodiment of a transport command area extension (TCAX);
  • FIG. 14 depicts one embodiment of a CBC-offset block
  • FIG. 15 is a flow chart illustrating an embodiment of a method of performing a transport mode I/O operation
  • FIG. 16 depicts embodiments of transport-data IUs used to transport input and output data between a channel and a control unit and/or I/O device;
  • FIG. 17 depicts an embodiment of an interruption-response block (IRB) including a Subchannel-Status Word (SCSW);
  • IRB interruption-response block
  • SCSW Subchannel-Status Word
  • FIGS. 18A and 18B depict exemplary status qualifiers for the SCSW of FIG. 17 ;
  • FIG. 19 depicts one embodiment of a transport response IU
  • FIG. 20 depicts one embodiment of a status area of the transport response IU of FIG. 19 .
  • Embodiments of the present invention facilitate input/output (I/O) processing in a computer system.
  • transport commands are provided to manage the I/O operation and the transfer of data via a channel path.
  • Transport commands transfer command meta-information (TCMI) that is used to manage data transfer checking and the transfer of additional DCWs.
  • TCMI may be specified by a transport control word (TCW) is defined in one or more data transport information units (IUs) for defining, specifying and verifying information regarding data to be transferred in an I/O operation.
  • TCMI includes control data that is included in the output data stream (e.g., in an output transport-data Information Unit) of an I/O operation. The TCMI describes how to handle this data, independent of the type of data being included.
  • TCMI includes a data block or other container for the control data, as well as rules (e.g., for calculating counts) for specifying the metadata in the data block.
  • Transport commands may include an interrogate command, a transfer-CBC-Offset Block (TCOB) command, and transfer-TCA Extension (TTE) command.
  • TCOB transfer-CBC-Offset Block
  • TTE transfer-TCA Extension
  • the system also includes capability for determining and storing count values indicating the amount (e.g., number of bytes) of TCMI data to be transferred as output data.
  • I/O processing is facilitated by enabling a host computer to increase the number of commands that can be sent to a device for an I/O operation.
  • TCMI Transport Command Area Extension
  • TCAX Transport Command Area Extension
  • the TCAX may be specified by a TCW and is sent via a device command word (DCW), referred to as a Transfer TCA Extension (TTE) DCW, that includes commands to be performed in addition to commands sent in a Transport Command Area (TCA).
  • TTE Transfer TCA Extension
  • the TCAX is specified by the TTE DCW and is sent as output data to the control unit.
  • I/O processing can also be facilitated by providing a means by which an I/O device can continue an I/O operation when an incorrect length record is encountered.
  • a DCW-incorrect-length and FCX-incorrect length indication facility may be installed in the host system and a control unit or device. The facility provides for Incorrect Length (IL) checking that may be performed by a control unit.
  • IL Incorrect Length
  • SLI Suppress Length Indication
  • I/O processing can also be facilitated by providing a means for sending both read and write commands to a device in a single I/O operation.
  • Prior art TCW channel programs specify either all write commands or all read commands.
  • a bi-directional operation can be specify by setting one or more flags in a transport command header (TCH) of a command IU, e.g., by setting both read and write flags to one and providing both a read and a write data count.
  • a flag in an initiation or login message such as a Process Login (PRLI) request message can be set to indicate that the channel subsystem supports bidirectional data transfer.
  • a response message such as a PRLI accept message can include a flag that can be set to indicate whether the device supports bi-directional data transfer.
  • PRLI Process Login
  • bi-directional data transfers are transfers of both input and output data that are performed within a single TCW I/O operation, e.g., sending and executing both read and write commands within a single TCW I/O operation.
  • FIG. 1 illustrates an exemplary embodiment of an I/O processing system 100 that includes a host computer system 102 that includes a data storage and/or processing system such as a zSeries® mainframe computer by International Business Machines Corporation (IBM®).
  • IBM is a registered trademark of International Business Machines Corporation, Armonk, N.Y., USA.
  • Other names used herein may be registered trademarks, trademarks or product names of International Business Machines Corporation or other companies.
  • the host computer system 102 includes various processing, storage and communication elements.
  • the host computer system 102 includes one or more central processing units (CPUs) 104 , memory components such as a main storage or memory 106 , an expanded storage or memory 108 , one or more operating systems (OSs) 110 that are executed by one or more of the CPUs 104 .
  • CPUs central processing units
  • memory components such as a main storage or memory 106 , an expanded storage or memory 108
  • OSs operating systems
  • one CPU 104 can execute a Linux® operating system 110 and/or a z/OS® operating system 110 as different virtual machine instances.
  • CPU 104 is the controlling center of the I/O processing system 100 . It contains sequencing and processing facilities for instruction execution, interruption action, timing functions, initial program loading, and other machine-related functions.
  • CPU 104 is coupled to the main memory 106 and/or expanded memory 108 via a connection 113 , such as a bidirectional or unidirectional bus.
  • the host computer system 102 also includes a channel subsystem 114 that provides a communication interface between the host system 101 and various I/O devices 116 , which may controlled by one or more control units 118 .
  • I/O devices include equipment such as printers, magnetic-tape units, direct-access-storage devices, displays, keyboards, communications controllers, teleprocessing devices, and sensor-based equipment.
  • control unit and “device” may be used interchangeably, or a control unit may be considered to include one or more devices.
  • the channel subsystem 114 directs the flow of information between the I/O devices 116 and the host computer system 102 .
  • the channel subsystem 114 is coupled to the CPUs 104 , the main memory 106 and/or the expanded memory 108 via a connection 120 , such as a bus.
  • the channel subsystem 114 is connected to each I/O device 116 via a respective “channel path” 122 that connects the channel subsystem 114 to each control unit 118 via a connection 124 such as a serial or parallel link.
  • Control units 118 may be attached to the channel subsystem 114 via more than one channel path 122
  • an I/O device 116 may be attached to more than one control unit 118 and/or I/O device 116 .
  • an individual I/O device 116 may be accessible by multiple channel paths.
  • a channel path can use various types of connections, such as a parallel interface, a serial-I/O interface and a FICON I/O interface.
  • a serial channel path may include one or more optical fibers connected to a control unit 118 via, e.g., a dynamic switch 126 in a Fibre channel fabric, and a parallel interface may include a number of electrical or fiberoptic conductors.
  • the channel subsystem 114 includes one or more individual channels 128 that are each connected to one or more control units 118 and/or I/O devices 116 via one or more channel paths 122 .
  • Each channel 128 includes processing electronics such as a local channel microprocessor 130 and a local channel memory 132 that is connected to and accessible by the local channel microprocessor 130 .
  • the local channel memory 132 may include information such as a channel-program designation, a channel-path identifier, a device number, a device count, status indications, as well as information on path availability and functions pending or being performed.
  • each channel 128 is located within each channel 128 .
  • Each subchannel is a data structure located within a channel memory 132 that provides information concerning an associated I/O device 116 and its attachment to the channel subsystem 114 .
  • the subchannel also provides information concerning I/O operations and other functions involving the associated I/O device 116 .
  • the subchannel is the means by which the channel subsystem 114 provides information about associated I/O devices 116 to the CPUs 104 .
  • the number of subchannels provided by the channel subsystem is independent of the number of channel paths 122 to the associated I/O devices 116 . For example, a device 116 accessible through alternate channel paths 122 still is represented by a single subchannel.
  • Each control unit 118 provides logic to operate and control one or more I/O devices 116 and adapts, through the use of common facilities, the characteristics of each I/O device 116 to the link interface provided by a channel 128 .
  • the common facilities provide for the execution of I/O operations, indications concerning the status of I/O devices 116 and the control unit 118 , control of the timing of data transfers over a channel path 122 and certain levels of I/O device control.
  • a control unit 118 may be housed separately, or may be physically and logically integrated with an I/O device, the channel subsystem, or a CPU.
  • I/O processing system 100 One or more of the above components of the I/O processing system 100 are further described in “IBM® z/Architecture Principles of Operation,” Publication No. SA22-7832-85, 9th Edition, August 2010, which is hereby incorporated herein by reference in its entirety.
  • an I/O operation includes the communications between the channel subsystem 114 and a device 116 (via, in one embodiment, a control unit 118 ) in which a single command (e.g., a channel command word or CCW), a single command message including multiple commands (e.g., a transport command information unit or transport command control block (TCCB)), or multiple chained commands (e.g., multiple CCWs) are sent from the channel subsystem 114 to a device.
  • the I/O operation may also include one or more response messages generated by the device 116 or an associated control unit 118 in response to receiving and/or executing the command or chained commands.
  • I/O operations are initiated with a device 116 by the execution of I/O instructions generated by an OS 110 that designate the subchannel associated with the device 116 .
  • Such instructions are executed in the host system by a CPU 104 by sending parameters to a channel 128 or subchannel to request that the channel subsystem 114 perform various functions in an I/O operation.
  • the CPU 104 executes a “START SUBCHANNEL” instruction by passing parameters to the target subchannel requesting that the channel subsystem 114 perform a start function with the I/O device 116 associated with the subchannel.
  • the channel subsystem 114 performs the start function by using information at the subchannel, including the information passed during the execution of the START SUBCHANNEL instruction, to find an accessible channel path to the device 116 , and to execute the I/O operation once a channel path has been selected.
  • a channel 128 commences performing the I/O operation.
  • the channel subsystem 114 operates under a High Performance FICON (HPF) protocol for communication between the channel subsystem 114 and the devices 116 and/or control units 118 .
  • HPF High Performance FICON
  • FC-SB-4 Single-Byte Command Code Sets Mapping Protocol—4
  • execution of the START SUBCHANNEL instruction passes the contents of an operation request block (ORB) to the channel subsystem 114 .
  • ORB specifies a channel program that includes an address of one or more command words (e.g., a channel command word or a transport command word described further below).
  • command words e.g., a channel command word or a transport command word described further below.
  • the host computer system 102 operates in a command mode and specifies command word(s) in the form of a channel command word (CCW).
  • the host system operates in a transport mode and specifies command word(s) in the form of a transport command word (TCW).
  • a subchannel may enter transport mode when an FCX (Fibre Channel Extensions) facility is installed and the start function is set at the subchannel as the result of the execution of a START SUBCHANNEL instruction that specifies a TCW channel program.
  • FCX Fibre Channel Extensions
  • the subchannel remains in transport mode until the start function is reset at the subchannel. At all other times, the subchannel is in command mode.
  • the channel executes a CCW channel program that include a single channel-command word or a sequence of channel-command words executed sequentially that control a specific sequence of channel operations.
  • a control unit executes a CCW I/O operation by decoding, accepting, and executing CCW commands by an I/O device.
  • One or more CCWs arranged for sequential execution form a CCW channel program and are executed as one or more I/O operations, respectively.
  • the fibre-channel-extensions (FCX) facility is an optional facility that provides for the formation of a transport mode channel program that is composed of a transport control word (TCW) that designates a transport-command-control block (TCCB) and a transport-status block (TSB).
  • TCCB includes a transport-command area (TCA) which contains a list of one or more (e.g., up to 30) I/O commands that are in the form of device-command words (DCWs).
  • a TCW and its TCCB may specify either a read or a write operation.
  • a FCX-bidirectional-data-transfer facility may be installed in a system that supports transport mode operations, that allows the host computer system 102 to specify transfer of both input and output data in a single transport mode I/O operation if the connected device 116 and control unit 118 supports bidirectional-data transfer.
  • transport mode operations that allows the host computer system 102 to specify transfer of both input and output data in a single transport mode I/O operation if the connected device 116 and control unit 118 supports bidirectional-data transfer.
  • a control unit 118 recognizes bi-directional data transfers, a TCW and its TCCB may, depending on the device, specify both read and write data transfers.
  • a single transport command word specifies a location in memory of a TCCB (as well as a location in memory 106 or 108 of one or more data areas) that is sent in a single message instead of separate individual CCWs in the command mode.
  • a control unit 118 executes a transport mode I/O operation by decoding, accepting, and executing a TCCB and the individual DCWs included therein. If the ORB specifies a TCW channel program, the channel subsystem 114 uses information in the designated TCW to transfer the TCCB to a control unit 118 . The contents of the TCCB are ignored by the channel subsystem 114 after the TCCB is transferred to the control unit 118 and only have meaning to the control unit 118 and the associated I/O device 116 .
  • control unit 118 generates a response message in response to executing the channel program.
  • the control unit 118 may also generate a response message without executing the channel program under a limited number of communication scenarios, e.g., to inform the channel subsystem 114 that the channel program will not be executed.
  • the control unit 118 may include a number of elements to support communication between the I/O communications adapter and I/O devices, as well as in support of channel program execution.
  • the control unit 118 can include control logic to parse and process messages, in addition to one or more queues, timers, and registers to facilitate communication and status monitoring.
  • FIG. 2 illustrates an embodiment of a transport-control word (TCW) 140 , which is stored in the host system (e.g., main memory 106 ) and specifies at least one control block that is to be transferred to a control unit 118 from a channel 128 .
  • the control block is a transport-command-control block (TCCB) whose contents are to be transported to the control unit 118 and I/O device 116 for processing.
  • TCW 140 specifies a TCCB
  • the TCCB includes a TCA that specifies one or more device-command words (DCWs) and associated options.
  • DCWs device-command words
  • the TCW 140 designates one or more storage areas where the data is located.
  • the TCA includes a Transfer TCA Extension (TTE) command that is provided to transfer additional DCWs and/or control data in addition to those that can be accommodated in the TCCB.
  • TTE transfers a TCA extension (TCAX) to a control unit (which includes at least one DCW) and is considered a logical extension of the TCA to which it is associated, by, for example chaining the last DCW of the TCCB to the first DCW of the TTE.
  • TCAX TCA extension
  • TCW 140 is a 64-byte control block that is designated on a 64-byte boundary.
  • the TCW includes various fields described below.
  • a number of flag fields 142 indicate whether direct or indirect data addressing is being used to locate input data, output data or the TCCB.
  • An Output transport-indirect-data addressing (TIDA) field indicates whether output data is directly or indirectly addressed. For example, when word 0 , bit 7 of the TCW 140 is zero and output data is specified, an output-data-address field 144 designates an output data location in absolute storage. When bit 7 is one, the output-data-address field 144 designates an absolute address of a TIDA word (TIDAW) or the first TIDAW in a list of TIDAWS (a TIDAL) that designates the output storage location or locations, respectively.
  • An Input TIDA field indicates whether input data is directly or indirectly addressed.
  • an input-data-address field 146 designates the absolute address of the input storage location (i.e., where input data is to be stored.
  • the input-data-address field 146 designates the absolute address of a TIDAW or the first TIDAW in a TIDAL that designates the input storage location or locations.
  • a Transport-command-control-block TIDA (TCCB-TIDA) field indicates whether the TCCB is directly or indirectly addressed.
  • a TCCB-address field 148 designates the absolute address of the TCCB for the TCW
  • the TCCB-address field 148 designates the absolute address of a TIDAW or TIDAL that designate the location or locations of the TCCB.
  • the TCW 140 also includes a Transport-Command-Control-Block Length (TCCBL) field 150 that specifies the length in bytes of the TCCB.
  • TCCBL Transport-Command-Control-Block Length
  • the TCCBL field includes an unsigned integer whose value (e.g., when added to 20 for unidirectional data transfers or when added to 24 for bidirectional data transfers) specifies the length of the TCCB in bytes.
  • a Read Operations (R) field 152 is non-zero (e.g., bit 14 of word 1 is one) when indicating the number of bytes to be transferred into main memory 106 .
  • a Write Operations (W) field 154 is non-zero (e.g., bit 15 of word 1 is one) when indicating the number of bytes to be transferred from main storage. If the R-field 152 and the W-field 154 are both one, a program-check condition is recognized, unless the target device 116 and control unit 118 support bi-directional data transfer. If the W-bit is one and the TCW is an interrogate TCW, a program-check condition is recognized.
  • the Output-Data Address field 144 indicates the location in storage of any output data to be sent to a device. For example, when bit 15 of word 1 (the W-field bit 154 ) is one and bit 7 of the flags field 142 (the output-TIDA flag) is zero, words 2 - 3 designate the 64-bit output location in absolute storage. When the W-bit is one and the output-TIDA flag is one, words 2 - 3 designate the 64-bit location in absolute storage of a TIDAW or list of TIDAWs that designate the output storage location or locations.
  • the Input-Data Address field 146 indicates the location to which any input data is to be stored when received from a device.
  • words 4 - 5 designate the 64-bit input location in absolute storage.
  • words 4 - 5 designate the location in absolute storage of a TIDAW or list of TIDAWs that designate the input storage location(s).
  • a Transport-Status-Block Address 156 specifies a location in storage of a transport-status block for the TCW. For example, words 6 - 7 designate the 64-bit location in absolute storage of the transport-status block for the TCW.
  • a Transport-Command-Control-Block Address field 148 specifies one or more (direct or indirect) addresses of the TCCB. For example, if the TCCB-TIDA bit (bit 6 of the flags field) is zero, words 8 - 9 designate 64-bit location in absolute storage of the TCCB. When the TCCB-TIDA bit is zero, the TCCB is specified to reside in a contiguous area of storage. If the transport-command-control-block-TIDA bit is one, words 8 - 9 designate the 64-bit location in absolute storage of a TIDAW or list of TIDAWs that designate the location in absolute storage of the TCCB. When the TCCB-TIDA bit is one, the TCCB may be specified to reside in noncontiguous areas of storage
  • the Output Count field 158 specifies the number of output bytes for the TCW. For example, when bit 15 of word 1 (the W-bit) is one, word 10 contains the unsigned integer total count of output bytes for the TCW.
  • the Input-Count field 160 specifies the number of input bytes for the TCW. For example, when bit 14 of word 1 (the R-bit) is one, word 11 contains the unsigned integer total count of input bytes for the TCW.
  • an Interrogate-TCW Address field 162 indicates a location in storage of an Interrogate TCW. For example, when a START SUBCHANNEL instruction designates a TCW, word 15 of the TCW is not checked. However, when a CANCEL SUBCHANNEL instruction designates a subchannel that is start pending for a TCW channel program and is not status pending, bits 1 - 31 of word 15 of the TCW designated by START SUBCHANNEL specify the 31-bit location in absolute storage of the interrogate-TCW that is used to initiate an interrogate operation for the subchannel. If word 15 contains zeros when CANCEL SUBCHANNEL is issued, an interrogate operation is not initiated.
  • bit 0 of word 15 When CANCEL SUBCHANNEL is issued, bit 0 of word 15 must be zero, otherwise a program-check condition is recognized with interrogate-failed status indicated. When CANCEL SUBCHANNEL is issued and bits 1 - 31 of word 15 do not contain zeros, bits 1 - 31 of word 15 must designate a storage location on a 64-byte boundary, otherwise a program-check condition is recognized with interrogate-failed status indicated. Word 14 may be reserved for extending the interrogate-TCW-address field to 64 bits.
  • the transport-command-control block (TCCB) 170 includes one or more individual commands as part of a TCW I/O operation, and is sent to a control unit 118 and/or device 116 by a channel 128 via a channel path.
  • the TCCB 170 relieves the channel of having to send multiple messages or information units, and also transfers the responsibility of executing the operation to the control unit and removes the need for the control unit 118 to send responses for each command. Instead, the control unit 118 can execute all of the commands and send a response upon completion of the operation.
  • the TCCB 170 is variable in length, may contain header and trailer information, and one or more (e.g., from 1 to 30) commands as device-command words (DCWs) that are logically linked (e.g., chained) such that they are executed by the control unit 118 in a sequential manner.
  • the TCCB 170 may reside as a single block of contiguous storage or may reside as multiple blocks of noncontiguous storage.
  • the TCCB-TIDA flag in the TCW 140 described above is used to specify whether the TCCB resides in contiguous storage.
  • TCCB 170 may be sent from a channel 128 to a control unit 118 as part of a transport command information unit (IU) 172 that is sent to the control unit 118 to initiate an I/O operation.
  • IU transport command information unit
  • the transport command IU 172 is made up of an 8-byte SB-4 header 174 , followed by a 4-byte transport command header (TCH) 176 , and the TCCB 170 .
  • the TCCB 170 includes a 16-byte transport-command-area header (TCAH) 178 , a variable length transport-command area (TCA) 180 , and a transport command area trailer (TCAT) 182 .
  • the TCAT 182 may further include a 4-byte LRC field 184 , a 4-byte data-transfer length (DL) field 186 , and for bidirectional operations, a 4-byte bidirectional read data-transfer length (BRDL) field 188 . These fields are described further below.
  • the SB-4 header 174 provides FC-4 addressing information to identify the logical path and the device 116 for the data transfer.
  • the SB-4 header 174 provides information including a channel image ID and a control unit ID for a logical path between a channel 128 and a control unit 118 , as well as a device ID.
  • the TCH 176 includes information about the TCCB 170 and the associated device operations.
  • the TCH 176 contains 4 bytes and immediately follows the SB-4 header 174 in the transport command IU 172 .
  • the TCH 176 includes fields such as a length field (“L 1 ”) 190 , a read field (“R”) 192 and a write field (“W”) 194 .
  • the L 1 field (located at e.g., bits 24 - 29 ), specifies the length, in words, of the TCA 180 plus the 1-word LRC field 184 that directly follows the TCA 180 .
  • the total amount of data transferred in the transport command IU 172 is equal to the L 1 field plus 8 (that is, the L 1 field plus the 2-word SB-4 header, the 1-word TCH, the 4-word TCAH and the 1-word DL); otherwise, the control unit recognizes a transport-command IU integrity error due to a data count error.
  • the total amount of data transferred in the transport-command IU 172 is equal to the L 1 field plus 8 (that is, the L 1 field plus the 2-word SB-4 header, the 1-word TCH, the 4-word TCAH and the 1-word DL) or the L 1 field plus 9 (that is, the L 1 field plus the 2-word SB-4 header, the 1-word TCH, the 4-word TCAH, the 1-word DL, and the 1-word BRDL for a bidirectional operation); otherwise, the control unit shall recognize a transport-command IU integrity error due to a data count error. If a transport-command IU integrity error is not recognized, the location of the LRC in the TCCB is located based on the L 1 field and the LRC check can be performed.
  • the Read (R) field 192 specifies that the TCA 180 includes one or more read or input commands.
  • the R field 192 is an R bit, bit 30 , that indicates, when set to one, that the TCA 180 contains one or more commands that transfer read data.
  • the R bit is set to zero, the TCA 180 does not contain any commands that transfer read data.
  • the R bit is one and the W bit (e.g., bit 31 ) is zero, the operation is referred to as a read operation.
  • both the R and W bits are set to zero, the TCA 180 does not contain any commands that transfer read or write data, indicating that the I/O operation does not perform data transfer.
  • the TCA 180 may contain commands that transfer both read and write data, and the operation is referred to as a bidirectional operation.
  • the device 116 or control unit 118 recognizes a TCH content error due to a read-write conflict if a bidirectional operation is specified and the control unit 118 does not support bidirectional operations, or the control unit 118 supports bidirectional operations but the transport-command IU 172 does not contain the BRDL field 188 .
  • the R bit is zero and the control unit 118 or device 116 encounters a command in the TCA 180 that attempts to transfer read data, a TCCB content error is recognized due to an invalid read attempt.
  • the Write (W) field 194 specifies that the TCA 180 includes one or more write or output commands.
  • the W field is a W bit, bit 31 , that, when set to one, indicates the TCA 180 includes one or more commands that transfer write data.
  • the bit is set to zero, the TCA does not include any commands that transfer write data.
  • the W bit is one and the R bit (bit 30 ) is zero, the operation is referred to as a write operation.
  • the W bit is zero and the control unit 118 or device 116 encounters a command in the TCA 180 that specifies a write command, a TCCB content error is recognized due to an invalid write condition.
  • an embodiment of the TCA Header (TCAH) 178 includes information about the TCA 180 and the operations described therein, such as the TCA length and device indications.
  • Byte 3 of word 1 is an “L 2 ” length field 196 that contains an unsigned binary integer that specifies the length, in bytes, of the TCA 180 plus words 2 and 3 of the TCA header, plus the 4-byte LRC field 184 that directly follows the TCA 180 .
  • a Service-Action Code field 198 (e.g., bytes 0 - 1 of word 2 ) includes an unsigned integer value that specifies the type of operation specified by the TCCB.
  • a Hex value of ‘1FFE’ indicates a SB-4 Device I/O operation
  • a Hex value of ‘1FFF’ indicates SB-4 Device support functions.
  • the Priority Number field 200 (e.g., byte 3 of word 2 ) includes the control unit I/O priority number.
  • the transport-command area (TCA) 180 is a variable length area that contains one or more (e.g., from 1 to 30) commands as device-command words (DCWs) 202 .
  • the length of the TCA 180 in one embodiment, is an in integral number of 4-byte words.
  • the TCA 180 also contains the control data associated with each DCW 202 .
  • Each DCW 202 that specifies control data reduces the maximum-DCW capacity by one or more DCWs, depending on the size of the command-associated data.
  • the TCW 140 designates the associated storage area or areas and the DCW designates the count of bytes to transfer.
  • the maximum size of the TCA is 240 bytes.
  • the DCW 202 begins on the word boundary that follows the previous DCW 202 or the control data associated with the previous DCW 202 .
  • the last DCW 202 in the TCA 180 specifies control data that is not an integral number of words
  • the subsequent LRC field 184 begins on the word boundary that follows the control data.
  • the list of DCWs 202 may extend beyond what will fit in the TCA 180 .
  • a TCA extension (TCAX) field may be specified that includes additional DCWs and transferred as if the TCAX were output data (e.g., transferred as part of an output transport-data IU).
  • TCAX is treated as a logical continuation of the TCA 180 instead of as transfer data.
  • the TCAX is specified in the TCA 180 by a transfer-TCA-extension (TTE) DCW.
  • TTE transfer-TCA-extension
  • the TCCB may include a transport-command-area trailer (TCAT) 182 that provides additional information about the TCCB, including various count information.
  • TCAT transport-command-area trailer
  • the TCAT 182 when uni-directional data transfer is specified (either the R-bit or the W-bit is set to one) or no data transfer is specified (both the R-bit and W-bit in the TCW are set to zero), the TCAT 182 is two words in length. When bidirectional data transfer is specified (both the R-bit and the W-bit in the TCW are set to one), the TCAT 182 is three words in length.
  • the transport count or data length (DL) field 186 specifies the 32-bit unsigned integer count of total data to be transferred (the “transport count value”).
  • the transport count value When a read operation is specified (the TCW R-bit is one), the value in the transport-count field in the TCAT may be determined by summing the count field values in the DCWs 202 that each specify a read-type command. The sum is rounded upwards to the nearest multiple of 4, and the rounded sum is increased by 4 to arrive at the transport-count value.
  • the transport count value should be equal to the value in the TCW input-count field 160 , rounded upwards to the next multiple of 4, plus 4.
  • the count field values in the DCWs 202 that specify a write command are summed.
  • the count field values in all transport-command DCWs (described further below) that specify the transfer of transport command-meta information (TCMI), plus the size of the reserved fields in the TCMI are added to the sum.
  • TCMI reserved field may be zero.
  • the total of the counts of any TIDAW-specified control block check (CBC) or cyclical redundancy check (CRC) bytes and padding bytes is added to the sum. The sum is rounded upwards to the nearest multiple of 4, and the rounded sum is increased by 4 giving the transport-count value.
  • CBC control block check
  • CRC cyclical redundancy check
  • the transport count value should be equal to the value in TCW output-count field 158 , rounded upwards to the next multiple of 4, plus 4.
  • the transport count value should be zero.
  • the DL field 186 is the write count and specifies the 32-bit unsigned integer count of total output data to be transferred.
  • the transport count value in the DL field (write-count field) in the TCAT 182 is determined as described above for a write operation.
  • the bi-directional read data length (BRDL) field 188 specifies the 32-bit unsigned integer count of total input data to be transferred.
  • the transport count value for the BDRL field 188 is determined as described above for read operations.
  • the DL field shall contain a 4-byte unsigned binary integer that specifies the number of bytes to be transferred by the channel to the control unit for the operation and includes all intermediate and final pad and CRC bytes, and if a COB is included in the first transport-data IU of the write operation, it also includes the COB, any COB pad bytes and the COB CRC bytes. If a TTE DCW is present in the TCA, the DL field also includes the TCAX, any TCAX pad bytes and TCAX CRC bytes.
  • FIGS. 8 and 9 are tables summarizing the determination of the TCW input-count, output-count, and the TCAT transport count values for unidirectional and bi-directional transfers, respectively.
  • a bidirectional-read-data-length (BRDL) field includes a 4-byte unsigned binary integer that specifies the number of bytes to be transferred by the control unit to the channel for the operation and includes any pad bytes required to round to a word boundary if not already on a word boundary plus 4 bytes for CRC.
  • the device shall recognize a TCH content error due to a read-write conflict if the transport-command IU contains the BRDL field.
  • a device-command word (DCW) 202 specifies a command to be executed. For commands initiating certain I/O operations, it designates the count of bytes on which the operation is performed, the action to be taken whenever transfer to or from storage is completed, and other options.
  • the storage area or areas associated with a DCW data-transfer operation are designated, depending on the operation specified by the command, by the input-data-address field 146 or the output-data-address field 144 of the TCW 140 that designates the TCCB 170 that includes the DCW 202 . Whether the input-data-address field 146 or the output data-address field 144 designates the storage directly or indirectly is specified by the input-TIDA and output-TIDA flags in the TCW 140 .
  • the DCW 202 is an 8-byte control block that is designated in the TCW 140 on a word boundary.
  • the DCW 202 includes fields such as a command code field 204 , a control flags field 206 , a control data count 208 and a DCW data count 210 .
  • the Command Code field 204 (e.g., bits 0 - 7 of word 0 ) specifies the operation to be performed. Whether a command is valid is device dependent and dependent on the value of the service-action code field 198 in the TCAH 178 .
  • Basic commands include read, write, control, sense and transport.
  • the channel subsystem 114 distinguishes among the following operations: control, output forward (write), input forward (read, sense, sense ID), input backward (read backward), branching (transfer in channel) and transport. Some commands, when executed, do not result in the transfer of data but cause the device to chain and start execution of the next command when all of the conditions for command chaining are satisfied. Each of the basic operations is described below.
  • a read command initiates execution of a device operation that performs device-to-channel data transfer.
  • a write command initiates execution of a device operation that performs channel-to-device data transfer.
  • a control command initiates execution of a device operation that makes use of control data provided in the DCW.
  • the sense command is similar to a read command, except that the data is obtained from sense indicators rather than from a record source.
  • Control commands and associated control data are provided for management of the specific I/O device and control of the device during execution of an I/O command.
  • a transport command is provided to manage the I/O operation and the transfer of data via a channel path, and is not device specific. Such commands manage the transport of control block checking data such as cyclical redundancy check (CRC) data and the transport of additional DCWs in transport-data IUs.
  • CRC cyclical redundancy check
  • the Control-Data (CD) Count field 208 specifies the number of control data bytes associated with a DCW 202 . For example, byte 3 of word 0 specifies the length of the control data, in bytes. If the command code specifies a command that requires control data and byte 3 of word 0 specifies a control-data count that is less than required for the command, a unit-check condition or TCCB content error is recognized. If the command code specifies a command that requires control data and byte 3 of word 0 contains zero or contains a value that specifies data past the end of the TCA (or past the end of the specified TCAX), a device-detected-program check condition or TCCB content error is recognized.
  • the DCW Data Count field 210 specifies the byte count of the data (e.g., data to be transferred for the read or write operation, i.e., customer data) designated by the TCW for the present DCW 202 .
  • the DCW data count is included in word one of the DCW 202 of FIG. 10 , and specifies the 32-bit unsigned integer count of bytes in the storage area designated by the TCW for this DCW.
  • the DCW data count field 210 indicates the number of bytes to be transferred between the channel and control unit during execution of the DCW, not including any pad or CRC bytes.
  • the DCW 202 includes various control flags 206 .
  • a chain-command (CC) flag 212 specifies an intent to perform chaining of commands. Upon normal completion of the current device operation and after recognition of device end at the device, chaining of commands causes the next DCW 202 in the TCA 180 to be executed.
  • the CC flag 212 is set to zero in the last DCW in the TCA.
  • bit 9 of word 0 when one, specifies the chaining of commands. When one, the bit causes the operation specified by the next DCW to be initiated upon normal completion of the current DCW.
  • the next DCW immediately follows the DCW in the TCA or in a TCAX.
  • the next DCW immediately follows the control-data, rounded to a word boundary, specified for the DCW.
  • the chain-command flag is one, in one embodiment, the next DCW location in the TCA or in a TCAX is determined by adding eight and the value in the CD count field to the location of the current DCW and rounding upwards to the nearest word boundary. If the chain-command flag is one in a DCW in a TCA, and the next DCW location is past the end of the TCA, and a TCAX is specified, the next DCW is at the beginning of the specified TCAX.
  • the control flags field include a Suppress Length Indication (SLI) field 214 .
  • SLI Suppress Length Indication
  • An incorrect-length condition is detected by the control unit if the DCW data count does not match the amount of data required by the device for a write DCW or if the DCW data count does not match the amount of data available at the device for a read DCW.
  • bit 2 is reserved and set to zero by the channel and ignored by the control unit.
  • the SLI flag bit should be set to one or otherwise activated in all DCWs where suppression of the incorrect-length indication is desired.
  • the control unit 118 aborts the I/O operation.
  • the channel subsystem 114 if the SLI flag is zero and an incorrect-length condition exists, processing of the TCA 180 is terminated and the subchannel is made status pending with incorrect length indicated in the subchannel status.
  • an incorrect-length condition exists for a DCW 202 and the SLI flag 214 in the DCW is set one, data transfer is performed as described below, otherwise the operation is terminated and an abnormal termination condition shall be reported for the operation.
  • a read DCW 202 For a read DCW 202 , if the DCW data count is greater than the amount of data available at the device 116 for the command, then the following applies. If the CC flag 212 is one (chaining is indicated), the data available at the device 116 is transferred to the channel 128 and pad bytes (which are set to zero) are transferred so that the amount of data transferred for the DCW 202 is equal to the DCW data count. All data transferred, including pad bytes, are included in any computation of CRC required for the operation.
  • the data available at the device shall be transferred to the channel and either no additional data shall be transferred or pad bytes (set to zero) are transferred so that the amount of data transferred for the DCW is equal to the DCW data count.
  • the data transferred plus any pad bytes shall be included in the computation of CRC required for the operation. It is model dependent whether pad bytes are transferred for this case. If the DCW data count is less than the amount of data available at the device for the command, only an amount of data equal to the DCW data count is transferred to the channel 128 for the DCW 202 . Only the data transferred shall be included in the computation of CRC required for the operation.
  • the DCW data count is greater than the amount of data required by the device 116 for the command, then the following applies. If the CC flag 212 is one (chaining is indicated), the amount of data specified by the DCW data count shall be transferred to the control unit 118 . The data transferred shall be used in the computation of any CRC required for the operation, and data not required by the device 116 is discarded. If the CC flag is zero (chaining is not indicated), the amount of data required by the device 116 is transferred to the control unit 118 . Additional data is transferred up to the next intermediate CRC word or until the data count for the DCW is exhausted. All data transferred is used in the computation of any CRC required for the operation. If the DCW data count is less than the amount of data required by the device 116 for the command, the amount of data specified by the DCW data count is transferred to the control unit 118 . The data transferred is used in the computation of any CRC required for the operation.
  • the amount of data required by the device 116 is transferred. Data then continues to be transferred until the next CBC is specified to be inserted or until the total amount to be transferred is equal to the DCW data count.
  • Exemplary command codes are shown in FIG. 12 , which illustrates six TCW commands and indicates which flags are defined for each command.
  • a transport-command DCW is a type of DCW that does not specify a specific data transfer command (i.e., customer data that is requested to be transferred by a host computer instruction), but rather specifies a transport command that performs a support function associated with a transport-mode I/O operation.
  • a transport-command DCW may specify control data and may also specify the transfer of transport-command-meta information (TCMI).
  • TCMI includes data that is utilized to control transfer functions in the I/O operation, such as the status of an I/O operation at a device, information regarding additional DCWs that do not fit in or can be accommodated by a current TCCB, and control block checking (CBC) information such as cyclical redundancy check (CRC) data.
  • a transport-command DCW specifies the transfer of TCMI to a device
  • the TCMI is transferred in a data block or word as output data (e.g., in a transport-data IU).
  • the size of the TCMI is command dependent and is, for example, a multiple of 4.
  • the TCMI may be extended by 4 reserved bytes when the size of the TCMI is an even multiple of 4, TIDAWs are used to specify the output storage areas, the insert-CBC flag is one in the last TIDAW used to specify the storage containing the TCMI, the chain-command bit is one in the transport command DCW that specifies the TCMI, and a subsequent DCW specifies the transfer of a TCMI or output data.
  • a transport command specifies the transfer of a TCMI to a device and the TCMI is extended by 4 reserved bytes because all of the preceding conditions are met
  • the 4 reserved bytes are not included in the data-count value in the transport command DCW but are included in the following: the count value in the last TIDAW used to specify the storage containing the TCMI, the output-count value in the TCW and the transport-count value in the associated TCCB (for unidirectional data transfers or the write-count value in the associated TCCB for bidirectional transfer).
  • the TCW Output Count 158 is the sum of the DCW Data Count 210 values in each DCW 202 in the TCA 170 of the TCCB 172 .
  • the TCAT 182 Transport Count (e.g., the DL field 186 ) is the sum of the DCW Data Count 210 values in each DCW 202 in the TCA 170 , rounded to four, plus four.
  • this count value is rounded to four to account for any padding bytes that have been added to the last DCW so that the last DCW has a 4-byte length and ends on a word boundary.
  • the addition of four is used to account for a four-byte CBC word that is added to the end of the last DCW (e.g., LRC 184 ).
  • data counts for an output operation (the TCW write bit 154 is one and the TCW read bit 152 is zero) in which the TCW 140 does specify indirect addressing (the TCW output TIDA field in the TCW flags field 142 is one) are determined as follows.
  • the TCW Output Count 158 is the sum of the DCW Data Count 210 values in each DCW 202 in the TCA 170 and the length of any TCMI data blocks (e.g., TCAX 220 ), plus the size of any TCMI reserved bytes, plus the total of any CBC words and padding bytes specified by a TIDAW.
  • the TCMI length may be taken from the DCW count 210 values in DCWs specifying TCMI.
  • the TCAT 182 Transport Count (e.g., the DL field 186 ) is the sum of the of the DCW Data Count 210 values and the length of any TCMI data blocks, plus the size of any TCMI reserved bytes and the total of any TIDAW-specified CBC words and padding bytes, rounded to four, plus four. In one embodiment, this count value is rounded to four to account for any last padding bytes and is added to four to account for last CBC, as described above.
  • data counts for a bi-directional operation (the TCW write bit 154 is one and the TCW read bit 152 is one) in which the TCW 140 does not specify indirect addressing (the TCW output TIDA field in the TCW flags field 142 is zero) are determined as follows.
  • the TCW Output Count 158 is the sum of the Write DCW Data Count 210 values in each Write DCW 202 in the TCA 170 and the length of any TCMI data blocks (e.g., TCAX 220 ).
  • the TCMI length may be taken from the DCW count 210 values in the DCWs specifying TCMI.
  • the TCAT 182 Transport Count (e.g., the DL field 186 ) is the sum of the of the Write DCW Data Count 210 values and the length of any TCMI data blocks, rounded to four, plus four. In one embodiment, this count value is rounded to four to account for any last padding bytes and is added to four to account for last CBC, as described above.
  • the TCW Output Count 158 is the sum of the Write DCW Data Count 210 values in each Write DCW 202 in the TCA 170 and the length of any TCMI data blocks (e.g., TCAX 220 ), plus the size of any TCMI reserved bytes, plus the total of any CBC words and padding bytes specified by a TIDAW.
  • the TCMI length may be taken from the DCW count 210 values in DCWs specifying TCMI.
  • the TCAT 182 Transport Count (e.g., the DL field 186 ) is the sum of the Write DCW Data Count 210 values and the length of any TCMI data blocks, plus the size of any TCMI reserved bytes and the total of any TIDAW-specified CBC words and padding bytes, rounded to four, plus four. In one embodiment, this count value is rounded to four to account for any last padding bytes and is added to four to account for last CBC, as described above.
  • TCMI includes interrogate information (via an Interrogate DCW), a CBC-Offset Block (via a Transfer-CBC-Offset Block DCW) and a TCA extension (via a Transfer-TCA Extension DCW).
  • FIG. illustrates an embodiment of data specified by one type of transport-command DCW, referred to as a Transfer TCA Extension (TTE) command, which is included in a TCA 180 of a TCCB 170 and specifies a TCA extension (TCAX) 220 that is to be transferred to a control unit 118 .
  • TTE Transfer TCA Extension
  • TCAX TCA extension
  • the TCAX is considered a logical extension of the TCA 180 .
  • the list of DCWs 202 associated with an I/O operation exceeds the number of DCWs that can be accommodated in the TCA 180 .
  • a TTE DCW may be included at the end of the TCW 140 , which specifies a TCAX 220 that is transferred as output data (e.g., in a data-transport IU).
  • the content of the TTE DCW may include a command code that includes the transfer-TCA extension command (e.g., value of 50 hex)
  • a TCA 180 is variable in length with a maximum size of 240, and a DCW is 8 bytes.
  • a maximum of 30 DCWs may be transmitted in a TCCB 170 .
  • the control data immediately follows each DCW 202 in the TCCB.
  • TCCBs 170 containing such commands are limited to less than 30 DCWs.
  • the TTE DCW may be used to specify additional DCWs needed for the I/O operation that do not fit in the TCA 180 .
  • the TCA Extension is a variable-length area that is the logical continuation of the TCA 180 in another transport-command IU or TCCB, and includes a list of DCWs and associated control data.
  • the TCAX contains one or more additional DCWs and associated control data for a TCW I/O operation (in addition to those transferred in an initial TCCB), and can be sent in another TCCB or in a transport-data IU to extend a list of DCWs required for an I/O operation.
  • the length of the TCAX is an integral multiple of 4.
  • the TCAX 220 includes a DCW 202 and/or control data for a previous DCW 202 .
  • the end of that DCW 202 defines the end of the meaningful information in the TCAX 220 .
  • the end of the control data defines the end of the meaningful information in the TCAX 220 .
  • the TTE DCW when a TCOB DCW (described further below) is not present in the TCA 180 , the TTE DCW is the first DCW 202 in the TCA 180 .
  • the TTE DCW is the second DCW 202 in the TCA 180 .
  • the TTE DCW data count specifies the length of the TCAX 220 and may be an integral multiple of four bytes.
  • the TTE DCW control-data count is zero and the chain command flag in the TTE DCW is set to one.
  • the TTE DCW data does not include the TCAX CRC or TCAX pad bytes.
  • TTE DCW TTE command
  • the TCA length has a certain maximum (e.g., 60 words) and the control data for the last DCW in the TCA extends beyond the last byte in the TCA, or the TCA length is greater than, e.g., 58 words, and one or more additional DCWs are required for the I/O operation.
  • the TCAX shall follow the COB CRC.
  • the TCAX shall be sent in the first write transport-data IU of the I/O operation.
  • CBC data refers to control block checking data that is used to verify that the correct amount of input or output data is being transferred in an I/O operation.
  • the CBC data is cyclical redundancy check (CRC) data
  • the COB is a CRC Offset Block
  • the TCOB DCW is a Transfer CRC-Offset Block DCW.
  • CRC cyclic redundancy check
  • a cyclic redundancy check is an error-detecting code configured to detect accidental changes to raw data being sent between a channel 128 and a control unit 118 .
  • a CRC-enabled device calculates a short, fixed-length binary sequence for each block of data to be sent or stored and appends it to the data, forming a codeword or “CRC word”. For example, when CRC generation is provided, the channel 128 generates a CRC on the data sent and inserts the value calculated at the end of the last data byte.
  • the receiving device e.g., the control unit 118
  • the receiving device either compares its check value with one freshly calculated from the data block, or equivalently, performs a CRC on the whole codeword and compares the resulting check value with an expected residue constant. If the check values do not match, then the block contains an error in the transferred data.
  • the CBC data is described in the embodiments herein as CRC data, it is not so limited.
  • An exemplary TCOB DCW specifies that a COB is transported to a device.
  • This exemplary TCOB has a command code that contains a transfer CRC-Offset Block command (e.g., a value of 60 hex).
  • the chain-command flag is one.
  • the CD Count 208 of the TCOB DCW is not zero, the COB immediately follows the TCOB DCW in the TCA 180 and the CD Count 208 specifies the number of CRC Offsets in the COB multiplied by four.
  • the COB is specified as TCMI in the output data
  • the location of the COB is specified by the output-data-address field 146 in the TCW
  • the count field specifies the number of CRC offsets in the COB multiplied by four.
  • a COB 222 specifies the location of intermediate CRC words within the transport data for a write or read data transfer (e.g., in a transport-data IU).
  • a COB is provided when the first DCW 202 in a TCA 180 contains the TCOB command, i.e., is a TCOB DCW.
  • Intermediate CRC offsets are CRC words located between data in a data transfer IU and located before the end of the IU.
  • the COB 222 contains a list of 1-word values, referred to as CRC Offsets 224 , each of which identify the byte offset of each intermediate CRC word in the transport data.
  • the COB is a variable-length control block that includes a list of 4-byte entries, each of which identifies the offset of a CRC specified by a TIDAW to be inserted in the output data.
  • the COB 222 includes 1 to N+1 words (CRC Offset words 224 ) of intermediate-CRC offsets. If the COB 222 is provided in a transport-data IU, then the COB may also includes 0 or 1 words of pad bytes and 1 word of CRC. Pad bytes may be provided so that the word containing the CRC will be on a word boundary that is not on a doubleword boundary. The last word of the COB shall contain a CRC that covers intermediate CRC offsets 0 through N and the pad word, if present. If the COB is provided as control data for the TCOB DCW, then there shall be no COB padding or CRC and the control-data count shall be equal to 4 times the number of intermediate-CRC-offset fields in the COB.
  • the TCOB DCW specifies that a COB is transported to a device 116 .
  • the TCOB DCW command code includes the TCOB command which is a value of, e.g., 60 hex.
  • the location of the COB is determined by the control-data count and may be provided in either the first write transport-data IU of an I/O operation or as control data following the TCOB DCW of an I/O operation.
  • the COB 222 immediately follows the TCOB DCW in the TCA 180 and the CD count specifies the number of CRC offsets in the COB multiplied by 4.
  • the COB 222 is specified as TCMI that is transferred with the output data, and the location of the COB is specified by the output-data-address field 144 in the TCW 140 .
  • Each intermediate-CRC offset 224 in the COB 222 indicates the relative offset, in bytes, from the first byte of data in a transport-data IU. If the COB 222 is provided in a transport-data IU, the first byte of data for the write transfer is either the first byte following the COB CRC if a TCAX 220 is not being provided or the first byte following the TCAX CRC if a TCAX is being provided. If the COB is provided in the TCA 180 as DCW control data, the first byte of data for the write transfer is either the first byte in the transport-data IU if a TCAX 220 is not being provided or the first byte following the TCAX CRC if a TCAX 220 is being provided. When provided in a transport-data IU, the COB is provided in the first write transport-data IU of an I/O operation.
  • An exemplary interrogate DCW includes an interrogate command code (e.g., contains a value of 40 hex). With the exceptions of the command code, SLI flag, count and CD-count fields, all other fields in the DCW should contain zeros, otherwise a device-detected program-check condition. If the CD count of the interrogate DCW is greater than zero, interrogate data is specified.
  • An interrogate operation is performed on a logical path and device 116 that has a TCW I/O operation in progress in order to obtain information regarding the state of the operation at the device 116 .
  • the TCCB 170 for an interrogate operation includes a single DCW with an interrogate device command code (e.g., X′40).
  • the TCAH 178 for an interrogate operation may contain the R bit set to one to specify a read data transfer for the operation.
  • An interrogate operation is recognized at the control unit 118 when the control unit 118 accepts a transport-command IU that specifies the interrogate command.
  • control unit 118 may provide status in a transport-response IU that includes interrogate extended status describing the state of the logical path and device address specified by the interrogate transport-command IU.
  • the method includes one or more stages 301 - 305 .
  • the method includes the execution of all of the stages 301 - 305 in the order described. However, certain stages may be omitted, stages may be added, or the order of the stages changed.
  • the host computer executes an instruction (e.g., START SUBCHANNEL) that causes an ORB to be transferred to a channel subsystem 114 , that specifies a TCW 140 .
  • an instruction e.g., START SUBCHANNEL
  • program-check conditions related to the validity of TCW fields specific to capturing status and transporting a specified TCCB 170 are checked by the channel subsystem 114 to determine whether to transport the TCCB 170 to an I/O device 116 . If such a program-check condition exists, the TCCB 170 is not transported and the program-check condition is recognized. For example, the TCCB-address field 148 is checked that it designates an available storage location.
  • the TCCB-address field 148 is also checked that it designates an address that is on a quadword boundary.
  • a program check condition is recognized if the sum of the amount of output data to be transferred (e.g., data for each DCW in the TCA and/or TCAX, plus the size of the reserved areas in any TCMI data blocks and any TIDW-specified CBC and padding bytes) does not equal the value in the TCW Output Count field 158 . Additional program check conditions are further described below.
  • a TCW I/O operation is initiated with an I/O device (via, for example, a control unit 118 ) when a channel 128 transfers a transport-command IU 172 that includes a control block, such as a transport-command-control block (TCCB) 170 and associated control information for a TCW 140 to a selected device 116 .
  • a control block such as a transport-command-control block (TCCB) 170
  • TCW 140 transport-command-control block
  • information associated with the execution of an I/O operation and the operation of a device is transferred between the channel 128 and the control unit 118 as Information Units (IUs).
  • the IUs are in the form of SB-4 Information Units (IUs).
  • IUs or other messages are sent between the channel and the control unit via one or more exchanges.
  • An exchange pair consisting of two unidirectional exchanges, one used by a channel 128 to send IUs and one used by a control unit 118 to send IUs, are required for all SB-4 link-control functions and for all SB-4 device-level functions that are executed in command mode.
  • a single bi-directional exchange referred to as a transport exchange, is used for device-level functions executed in transport mode.
  • IUs that a channel 128 sends during the execution of an SB-4 link-control function or the execution of an SB-4 device-level function in command mode are restricted to one exchange, and IUs which a channel receives during the operation are restricted to a different exchange.
  • the exchange on which the channel 128 sends IUs is referred to as the outbound exchange
  • the exchange on which the channel 128 receives IUs is referred to as an inbound exchange.
  • an exchange pair is said to exist, and the control unit 118 is said to be connected to the channel 128 .
  • a channel program which is executed in a single connection uses only one exchange pair. If the connection is removed by the closing of the exchanges during the channel program, a new exchange pair is generated to complete the channel program.
  • a channel 128 can initiate an exchange pair by sending an IU which opens a new exchange (or, an initiation IU) as an unsolicited command or unsolicited control information category.
  • a control unit 118 can initiate an exchange pair by sending an initiation IU as an unsolicited control or unsolicited data information category.
  • UIs which a channel and control unit send during the execution of an I/O operation that is performed in transport mode are restricted to a single, bi-directional exchange referred to as a transport exchange.
  • a channel 128 opens a transport exchange by sending a transport-command IU as an unsolicited command category (an Initiation IU).
  • a channel 128 may open multiple transport exchanges, each for a different device 116 or for the same device 116 on different logical paths.
  • a new transport exchange may be opened for a specific device on a logical path when a transport exchange already exists for that device and logical path to perform an interrogate operation; otherwise, the channel 128 waits for the existing transport exchange or exchange pair to be closed before initiating a new transport exchange for the device on the logical path.
  • the control unit 118 receives the TCCB 170 and transport-command IU 172 , and may accept the TCCB 170 if certain conditions are met.
  • the TCCB 170 is considered current at the control unit 118 until execution of the TCCB 170 at the control unit 118 is considered completed.
  • a transport-response IU is returned to the channel 128 with an initial status flag set to one to indicate that the error occurred prior to initiating execution of the TCCB 170 at the device 116 .
  • the control unit 118 may provide error information in status and I/O extended status fields in the transport-response IU (described below) to identify the transport-command IU error.
  • the exemplary conditions described below should be satisfied in order for the transport-command IU 172 to be accepted at the control unit 118 :
  • the L 1 field in the TCH plus 8 shall specify an amount of data that is equal to the amount of data received by the control unit for the transport-command IU, otherwise, a transport-command IU integrity error due to a data count error shall be recognized;
  • the L 1 field in the TCH plus either 8 or 9 shall specify an amount of data that is equal to the amount of data received by the control unit for the transport-command IU, otherwise, a transport-command IU integrity error due to a data count error shall be recognized;
  • the LRC field in the TCCB shall be valid, otherwise a transport-command IU integrity error due to invalid LRC error shall be recognized.
  • the device address shall specify a device that is installed and ready, otherwise an address-exception condition shall be recognized;
  • the R and W bits shall not both be set to one in the TCH if bidirectional data transfer is not supported by the control unit or the transport-command IU does not contain the BRDL field; otherwise a TCH content error shall be recognized;
  • TCCB in the transport-command IU shall satisfy all of the following conditions, otherwise, a TCCB content error shall be recognized:
  • the L 2 field shall specify a length that is exactly 8 bytes greater than the L 1 field and contain a value that is at least 20 bytes and not more than 252 bytes;
  • the format control field in the TCAH shall be equal to hex ‘7F’;
  • the service-action code in the TCAH shall contain a valid value (see 8.13.4.4);
  • the service-action code shall specify hex ‘1FFF’ and the command code in the first DCW of the TCA shall specify the interrogate command code, otherwise a non-interrogate-second-operation error shall be recognized.
  • the channel 128 considers a connection to exist when the transport-command IU 172 is sent, and the control unit 118 considers a connection to exist when the transport-command IU 172 is accepted.
  • the channel 128 is thus not aware of whether the control unit 118 has accepted the TCCB 170 or of the progress of the I/O operation at the device 116 until the I/O operation is terminated by the control unit 118 with a transport-response IU.
  • the channel 128 can set a time window for which to receive a response from the control unit, so that if the channel does not receive a transport-response IU within the window, the channel recognizes a transport command timeout.
  • the control unit 118 processes the TCA 180 and executes each DCW 202 .
  • the DCW 202 being executed is recognized as the current DCW.
  • a DCW 202 becomes current when it is the first DCW of a transport mode program (i.e., the first DCW in a TCCB) and has been selected by the I/O device 116 for execution or when, during command chaining, a subsequent DCW 202 takes over control of the I/O operation.
  • the first DCW to be executed may be considered to be located at offset zero of the TCA 180 in the TCCB 170 .
  • Each additional DCW in the channel program is located in the TCA 180 (or in a TCAX 220 ) and is used when the DCW is needed by the I/O device 116 .
  • Command chaining is controlled by the DCW chain command (CC) flag in the DCW. This flag specifies the action to be taken upon the exhaustion of the current DCW. Chaining takes place between successive DCWs within the TCA. When a TCAX is specified, chaining also takes place between the last DCW in the TCA and the first DCW in the TCAX, and between successive DCWs within the TCAX. When the current DCW specifies command chaining and no unusual conditions have been detected during the operation, the completion of the current DCW causes the next DCW to become the current DCW and be executed by the device.
  • CC DCW chain command
  • Data that is requested to be transferred via the I/O operation are sent between the channel 128 and control unit 118 via one or more transport-data IUs during processing of the DCWs 202 in a TCCB 170 .
  • a read operation performs only a read data transfer
  • a write operation performs only a write data transfer
  • a bi-directional operation may perform both a read and write data transfer.
  • the channel 128 sends one or more transport-data IUs 310 to the control unit 118 to transfer write data 312 for the operation.
  • the control unit 118 sends at least one transport-data IU 314 to the channel 128 to transfer read data 316 specified for the operation.
  • Pad bytes 318 may be included in the last word of a data area for which CRC is to be calculated and are used to pad the data area to the next word boundary when the data area to be covered is not an integral number of data words. This applies to data areas to be covered by COB, intermediate and final CRC. The value used for a pad byte is model dependent.
  • a final CRC field 320 is included in a transport-data IU 310 , 314 when the transport-data IU is the last transport-data IU sent by the channel 128 or control unit 118 for a TCW I/O operation.
  • the final-CRC field 320 includes a word-aligned 32-bit redundancy-check code.
  • the DL field in the TCCB 170 specifies the amount of data to be transferred during an operation, which may includes all required pad and CRC bytes.
  • the DL field in the TCCB 170 specifies the amount of data to be transferred for the write data transfer portion of the operation and the BRDL field specifies the amount of data to be transferred for the read data transfer portion of the operation. These amounts may include all required pad and CRC bytes.
  • data is transferred in one or more transport-data IUs 310 to the control unit 118 on the transport exchange associated with the TCW I/O operation.
  • the channel 128 requires a transfer-ready IU from the control unit 118 prior to sending each transport-data IU 310 .
  • the control unit 118 may request additional data by sending additional transfer-ready IUs until it has requested all the data specified by the DL field 186 of the TCCB 170 for the write operation.
  • the next IU sent by the control unit 118 following completion of the data transfer specified by the DL field in the TCCB is a transport-response IU.
  • the next IU sent by the control unit 118 following completion of the data transfer specified by the DL field in the TCCB may be a transport data IU or a transport-response IU.
  • data is transferred in one or more transport-data IUs 314 to the channel 128 on the transport exchange associated with the TCW I/O operation.
  • the amount of data sent in each transport-data IU is determined by the control unit 118 and may be set to any value as long that the total amount of data transferred in all transport-data IUs 314 for the operation does not exceed the value in the DL field 186 or, for bidirectional operations, the value in the BRDL field 188 .
  • the quantity of data sent by the control unit is less than the DL field in the TCCB, the DL residual count in the transport-response IU shall be the difference between the quantity of data sent by the CU and the DL field in the TCCB.
  • the channel recognizes a device-level protocol error if the residual count provided by the control unit in the transport-response IU does not match the difference between the DL and the number of bytes actually received by the channel.
  • the BRDL-residual count in the transport-response IU shall be the difference between the quantity of data sent by the CU and the BRDL field in the TCCB.
  • the channel recognizes a device-level protocol error if the residual count provided by the control unit in the transport-response IU does not match the difference between the BRDL and the number of bytes actually received by the channel.
  • one or more intermediate CRC words 320 may be present in a transport-data IU 310 sent by the channel 128 .
  • the intermediate CRC 320 words provide CRC checking of data areas prior to transmission of the entire data area specified by the TCA 180 .
  • a COB CRC word 322 may be present in a transport-data IU 310 when a COB 222 is being transferred in the transport-data IU.
  • the TCW I/O operation is ended by either the channel 128 or the control unit 118 .
  • the channel 128 may initiate the ending of a TCW I/O operation as the result of an abnormal condition or a program-initiated termination.
  • the control unit 128 may initiate the ending of the operation as the result of the completion of the execution of the operation or as the result of an abnormal condition detected during the execution of the command.
  • the control unit 128 may initiate the end of a TCW I/O operation by sending a transport-response IU or, in the case of certain errors, by aborting the exchange.
  • control unit 118 may initiate the ending of a TCW I/O operation under any of the following circumstances: all of the DCWs 202 in the TCA 180 (and a TCAX if specified) having been executed; an incorrect-length condition having been detected for a DCW when the DCW-incorrect length facility is supported and the SLI flag 214 is set to zero; a unit check condition has been detected; an abnormal condition such as a transport error; or another error was recognized that required the exchange to be aborted.
  • the channel subsystem and the device when an I/O operation or sequence of I/O operations initiated by the execution of START SUBCHANNEL is ended, the channel subsystem and the device generate status conditions. The generation of these conditions can be brought to the attention of the program by means of an I/O interruption or by means of the execution of a TEST PENDING INTERRUPTION instruction.
  • the status conditions, as well as an address and a count indicating the extent of the operation sequence, are presented to the program in the form of a subchannel-status word (SCSW) 400 .
  • the SCSW 400 is stored in an interruption-response block (IRB) 402 during the execution of a TEST SUBCHANNEL instruction.
  • IRB interruption-response block
  • I/O interruptions provide a means for the CPU to change its state in response to conditions that occur at I/O devices or subchannels. These conditions can be caused by the program, by the channel subsystem, or by an external event at the device.
  • I/O-interruption conditions The conditions causing requests for I/O interruptions to be initiated are called I/O-interruption conditions.
  • an interruption condition is recognized by the channel subsystem, it is indicated at the appropriate subchannel.
  • the subchannel is then said to be status pending.
  • the subchannel becoming status pending causes the channel subsystem to generate an I/O interruption request.
  • An I/O-interruption request remains pending until it is accepted by a CPU in the configuration, is withdrawn by the channel subsystem, or is cleared by means of the execution of a TEST PENDING INTERRUPTION, TEST SUBCHANNEL, or CLEAR SUBCHANNEL instruction, or by means of subsystem reset.
  • TEST PENDING INTERRUPTION TEST SUBCHANNEL
  • CLEAR SUBCHANNEL instruction or by means of subsystem reset.
  • An I/O-interruption condition is normally cleared by means of the execution of a TEST SUBCHANNEL instruction. If TEST SUBCHANNEL is executed, designating a subchannel that has an I/O-interruption request pending, both the interruption request and the interruption condition at the subchannel are cleared. The interruption request and the interruption condition can also be cleared by CLEAR SUBCHANNEL.
  • a device-end status condition generated by the I/O device and presented following the conclusion of the last I/O operation of a start function is reset at the subchannel by the channel subsystem without generating an I/O-interruption condition or I/O-interruption request if the subchannel is currently start pending and if the status contains device end either alone or accompanied by control unit end.
  • the channel subsystem If any other status bits accompany the device-end status bit, then the channel subsystem generates an I/O-interruption request with deferred condition code 1 indicated.
  • an I/O operation is terminated because of an unusual condition detected by the channel subsystem during the command-initiation sequence, status describing the interruption condition is placed at the subchannel, causing it to become status pending. If the unusual condition is detected by the device, the device-status field of the associated SCSW identifies the condition. When command chaining takes place, the generation of status by the device does not cause an interruption, and the status is not made available to the program.
  • the channel subsystem When the channel subsystem detects any of the following interruption conditions, it initiates a request for an I/O interruption without necessarily communicating with, or having received the status byte from, the device:
  • interruption conditions from the subchannel can be accompanied by other subchannel-status indications, but the device-status indications are all stored as zeros.
  • the channel subsystem issues the clear signal to the device when status containing unit check is presented to a subchannel that is disabled or when the device is not associated with any subchannel. However, if the presented status does not contain unit check, the status is accepted by the channel subsystem and discarded without causing the subchannel to become status pending.
  • the subchannel-status word (SCSW) 400 provides to the program indications describing the status of a subchannel and its associated device.
  • SCSW subchannel-status word
  • the SCSW is stored when TEST SUBCHANNEL is executed and the designated subchannel is operational.
  • the SCSW is placed in words 0 - 2 of the IRB that is designated as the TEST SUBCHANNEL operand.
  • the SCSW is stored in words 7 - 9 of a subchannel-information block.
  • the SCSW includes various fields, such as a Deferred Condition Code (CC).
  • CC Deferred Condition Code
  • the deferred condition code if not zero, is used to indicate whether conditions have been encountered that preclude the subchannel becoming subchanneland-device active while the subchannel is either start pending or suspended.
  • the secondary-status bit is one, and the primary-status bit is zero, the status present may be related to a command-mode channel program specified by the START SUBCHANNEL instruction (or implied by the RESUME SUBCHANNEL instruction) that preceded the most recently executed START SUBCHANNEL and that most recently executed START SUBCHANNEL specified a transport-mode channel program.
  • status modifier may also be one in the device-status field.
  • a Subchannel-Status Field is included in the SCSW 400 and is used to indicate aubchannel-status conditions by the channel subsystem.
  • the subchannel-status field is contained in bit positions 8 - 15 of word 2 of the SCSW.
  • Subchannel-status conditions are detected and indicated in the SCSW by the channel subsystem. Except for the conditions caused by equipment malfunctioning, they can occur only while the channel subsystem is involved with the performance of a halt or start function.
  • the subchannel-status field is meaningful whenever the subchannel is status pending with any combination of primary, secondary, intermediate, or alert status. When the subchannel is status pending with deferred condition code 3 indicated, the contents of the subchannel-status field are not meaningful.
  • An exemplary subchannel status condition is an Incorrect length condition, which occurs when the number of bytes contained in the storage areas assigned for the I/O operation is not equal to the number of bytes requested or offered by the I/O device.
  • the FCX-incorrect-length-indication facility is not installed and an incorrect-length condition is detected, the processing of the transport-mode channel program is terminated with program-check status.
  • the FCX-incorrect-length-indication facility is installed, the device supports incorrect-length indication, incorrect-length-indication is not being suppressed, and an incorrect-length condition is detected, incorrect length is indicated for one of the following reasons:
  • Short Block on Input The number of bytes transferred during a read or sense operation is insufficient to fill the main-storage areas assigned to the operation. The count in the TSH is not zero.
  • Short Block on Output The device terminated a write before all of the information contained in the assigned main-storage areas was transferred to the device. The count in the TSH is not zero.
  • the incorrect-length indication is suppressed when the current DCW has the SLI flag set to one.
  • the incorrect-length indication is not meaningful when the count field of the TSH is not meaningful. Presence of the incorrect-length condition suppresses command chaining unless the SLI flag in the DCW is one.
  • the subchannel-extended-status field is included in the SCSW 400 (e.g., in bit positions 24 - 31 of word 2 of the SCSW). This field may contain information used to further qualify the reason for any the following conditions, when indicated in the subchannel-status: interface-control check, channel-control check, channel-data check, program check, and protection check. If none of these bits are active in the subchannel-status byte, the fields of the subchannel-extended-status contain no meaningful information. When more than one condition is indicated, the interface-control check takes priority over the other conditions.
  • the subchannel-extended-status field may also include an Interrogate Failed (F) (e.g., at bit 24 ) operation bit.
  • F Interrogate Failed
  • the F bit indicates that an interrogate operation failed because of a program check, channel-control check, or interface-control check.
  • the subchannel-extended-status field may also include a Subchannel-Extended-Status Qualifier (SESQ) (e.g., bits 25 - 31 ).
  • SESQ Subchannel-Extended-Status Qualifier
  • the subchannel-status field indicates program check, interface-control check, channel-subsystem retry failed, protection check, data check, or channel-control check, this field may contain additional information. Exemplary SESQ values and their associated meanings are shown in FIGS. 18A-18B .
  • FIGS. 19-20 illustrate an exemplary transport response IU 330 that may be sent by a control unit 118 .
  • the Transport Response IU 330 provides status for a TCW I/O operation, which may include a normal ending status or, when an abnormal condition has been detected, termination status that indicates the cause for abnormal termination of the operation.
  • the transport response IU 330 may also include an extended status field that provides further status for the operation.
  • a transport-response IU may or may not close a transport exchange. In one embodiment, whether or not the exchange has been closed by a transport-response IU is indicated in the FC-FS-3 header. If the transport exchange has not been closed by the transport-response IU, the channel may send a transport-confirm IU that closes the exchange after receiving the transport-response IU.
  • the transport-response IU 330 includes a SB-4 header 332 followed by a status field 334 , a status LRC 344 , and an optional extended-status field 346 containing from, e.g., 32 to 64 bytes.
  • a 4-byte extended-status LRC field 340 may be provided as the last word of the transport-response IU 330 .
  • Pad bytes are added to the extended status to round to the next word boundary if the number of extended-status bytes is not on a word boundary.
  • the SB-4 header 332 has a format similar to that of the transport command IU and is set equal to the SB-4 header in the transport command IU for this exchange.
  • an embodiment of the status area 334 is, e.g., 20 bytes and contains information about the TCW I/O operation.
  • a “status flags 1 ” field 336 includes one or more exception codes that are set by the control unit 118 to report an abnormal condition detected during a TCW I/O operation. Exemplary codes include:
  • 0 Device-level exception due to an address-exception condition
  • 2 Link-level reject due to a logical-path-not-established condition
  • 3 Resetting event notification—a resetting event has occurred on the logical path and the device associated with the transport-command IU.
  • the control unit requests status confirmation for the status. If status confirmation is received, the resetting event condition is reset at the device for the logical path; otherwise, the resetting-event condition remains pending
  • 4 Device-detected program check/IFCC—the control unit has detected a condition that may result in a program check or IFCC to be reported.
  • Errors that fall into this category include errors that indicate the transport-command IU arrived in a corrupted state (e.g., TCCB integrity error), invalid CRC detected for write data, and receipt of a second I/O operation for a logical path and device address that is not an interrogate operation.
  • TCCB integrity error e.g., TCCB integrity error
  • CRC CRC detected for write data
  • 5 Device-detected program check—the control unit has detected an error in the content of the TCH
  • the status flags 1 field 336 includes an Incorrect Length (IL) flag 338 .
  • IL Incorrect Length
  • bit 0 is the IL flag and, when set to one, shall indicate that the TCW I/O operation was terminated due to an incorrect-length condition for the DCW indicated by the DCW offset.
  • An incorrect length is detected by the control unit 118 if the DCW data count does not match the amount of data required by the device for a write DCW or if the DCW data count does not match the amount of data available at the device for a read DCW.
  • the IL flag 338 is set to one only when the SLI flag 214 is zero and when the device status includes channel-end status without unit-check status.
  • the DCW offset identifies the DCW containing the incorrect-length condition and the DCW residual count indicates the amount of data transfer, if any, that was transferred for the incorrect-length DCW. Data transfer, if any, for DCWs that preceded the incorrect-length DCW in the TCA shall have completed and all CRC checking on transferred data shall have been performed as described below.
  • the last transport-data IU sent to the channel INCLUDES CRC for all read data transferred to the channel during the TCW I/O operation. If write DCWs preceded the incorrect-length read DCW in the TCA, the data for those write DCWs shall have been received by the control unit and CRC checking shall have been performed on the data. Data for write DCWs in the TCA that follow the incorrect-length read DCW shall be transferred to the control unit as necessary to obtain the CRC for the write data and to perform the CRC checking.
  • the incorrect-length condition is not recognized by an interrogate command, a transfer-CRC-offset command or a TTE command regardless of whether the incorrect length facility is supported by the channel and the control unit.
  • the transport response IU 330 may also include a Data Length Residual Count (DLRC) field 340 .
  • DLRC Data Length Residual Count
  • the DL-residual count is a 32-bit, unsigned binary integer that specifies the difference between the DL field in the transport-command IU and the number of bytes actually received from the channel.
  • the DL-residual count is a 32-bit, unsigned binary integer that specifies the difference between the DL field in the transport-command IU and the number of bytes actually sent to the channel.
  • a BRDL residual count field 342 may also be included in the transport-response IU 330 .
  • the BRDL-residual count is a 32-bit, unsigned binary integer that specifies the difference between the BRDL field in the transport-command IU and the number of bytes actually sent to the channel.
  • a Status Flags 3 field 344 can be used by the control unit 118 to provide additional information about the associated transport-mode operation.
  • This field may include an Extended Status Sent (ESS) bit to indicate that extended status, including possible sense data, has been sent in the transport-response IU.
  • the extended status includes extended status (ES) Flags that include fields such as an ES Type Code field. Type codes include I/O status (the extended-status area contains valid ending status for the transport-mode I/O operation), I/O Exception (the extended-status area contains information regarding termination of the transport-mode I/O operation due to an exception condition), and Interrogate status (the extended-status area contains status for an interrogate operation).
  • the ES includes reason codes (RC).
  • RC reason codes
  • TCCB integrity error the control unit has determined that the TCCB arrived in a corrupted state (provided when exception code 4 is indicated in the status flags 1 field); 2—Invalid CRC detected: invalid CRC was detected on received data (provided when exception code 4 is indicated in the status flags 1 field); 3—Incorrect TCCB length specification (provided when exception code 5 is indicated in the status flags 1 field); 4—TCAH specification error (provided when exception code 5 is indicated in the status flags 1 field); 5—DCW specification error: there is an error with the DCW designated by the DCW-offset field in the extended status (provided when exception code 5 is indicated in the status flags 1 field); 6—Transfer-direction specification error: the command specified by the DCW designated by the DCW-offset field in the extended status specifies a direction of data transfer that disagrees with the transfer direction specified in the TCH or both the R and W bits are set to one in the TCH and bidirectional data transfer is not supported by the control unit (provided when exception code 5 is
  • the RCQ field has no meaning. This reason code is provided when exception code 4 is indicated in the status flags 1 field; and 9—One or more entries in the CRC-offset block indicate that an intermediate CRC is not at a location that is appropriate for the device and/or command being executed provided when exception code 4 is indicated in the status flags 1 field.
  • the Extended Status may also provide a Reason Code Qualifier (RCQ) that provides additional information about the reason(s) for the I/O exception.
  • RCQ Reason Code Qualifier
  • Different reason code qualifier types may be used for different types of errors, such as TCCB integrity errors, Output Data CRC Errors, Incorrect TCCB Length Specifications, TCAH Specification Errors and DCW Specification Errors.
  • Exemplary RCQs for a TCCB integrity error include:
  • 0 No additional information
  • 1 Data Count Error—the amount of data transferred for the transport-command IU is not equivalent to the amount of data specified by the L 1 field plus 8 in the TCH for control units that do not support bidirectional operations or is not equivalent to the amount specified by the L 1 field plus either 8 or 9 for control units that do support bidirectional operations
  • 2 LRC error the LRC on the transport-command IU is invalid.
  • Exemplary RCQs for a DCW specification error include:
  • the length of the TCA is 58 words or less, or
  • the length of the TCA is 59 words, the last DCW in the TCA specifies control data and the length of the control data extends beyond 59 words, or
  • the length of the TCA is the maximum length of 60 words and the last word in the TCA contains the first word of a DCW.
  • Exemplary RCQs for a Transfer-Direction Specification Error include:
  • Exemplary RCQs for a Transport-Count Specification Error include:
  • a program check occurs when programming errors are detected by the channel subsystem. For a transport mode operation, programming errors may also be detected by the I/O device 116 and are reported as program checks.
  • a program check condition can be due to any of the following reasons:
  • a reserved field that is checked for zeros in the TCW does not contain zeros.
  • a non-zero value is specified in the TCW format field.
  • the read and write bits in the TCW are both one, bit 10 of the TCW flags field is zero, and either the FCX-bidirectional-data-transfer facility is not installed or the specified device does not support bi-directional data transfers.
  • the bit 10 of the TCW flags field is zero and the TCCB-length field in a TCW specifies a length that is less than 12 or greater than 244. 5.
  • Bit 10 of the TCW flags field is one and the write operations (W) bit of the TCW is zero, the read operations (R) bit of the TCW is zero, or both are zero. 6.
  • Bit 10 of the TCW flags field is one and the designated subchannel is not associated with a control unit that has been configured to transport fibre-channel-services requests.
  • a device-detected program check is recognized when any of the following conditions exist: 1. When a TCOB DCW is not specified, the TTE DCW is not the first DCW in the TCA. When a TCOB DCW is specified, the TTE DCW is not the second DCW in the TCA. 2. The TTE DCW is specified and a write operation is not specified (that is, the W-bit in the TCW is zero). 3. The chain-command flag in the TTE DCW is zero. 4. More than one TTE DCW is specified 5. The control-data-count field in the TTE DCW does not contain zero. 6. The count field contains less than 8 or a value that is not a multiple of 4. 7. Any of the following are true for the TCA:
  • the TCA does not contain at least one DCW that is not a transport-command DCW.
  • the TCA contains one or more DCWs that are not transport-command DCWs and the chain-command flag in the last DCW of the TCA is zero.
  • the output-TIDA flag (flags bit 7 ) in the TCW must be one; or
  • the insert-CBC control When TIDAWs are used for the transfer of a TCAX and for the transfer of data, the insert-CBC control must be set to one in the last or only TIDAW that is used to transfer the TCAX. When TIDAWs are used for the transfer of only the TCAX, it is not necessary to set the insert-CBC control in the last or only TIDAW.
  • a TCCB content error may be recognized when any of the following conditions are detected:
  • the first TCOB DCW encountered is not the first DCW in the TCA; 2. a second TCOB DCW is encountered in the TCA; 3. a TCOB DCW is encountered in the TCA when the W bit in the TCAH is zero; 4. a TCOB DCW does not have the chaining flag set; 5. a TCOB DCW is encountered in which both the CD count and data count are zero; 6. a TCOB DCW is encountered in which both the CD count and data count are non-zero; 7. a TCOB DCW is encountered in which the CD count is zero and the data count is not a multiple of 4; 8. a TCOB DCW is encountered in which the data count is zero and the CD count is not a multiple of 4; 9.
  • a TCOB DCW is not specified and the TTE DCW is not the first DCW in the TCA or a TCOB is specified and the TTE DCW is not the second DCW in the TCA; 10.
  • a TTE DCW is encountered in the TCA when the W bit in the TCAH is zero; 11.
  • a TTE DCW does not have the chaining flag set; 12.
  • a second TTE DCW is encountered in the TCA; 13.
  • a TTE DCW is encountered in which the CD count is non-zero; 14.
  • a TTE DCW is encountered in which the data count is zero or is not a multiple of 4; 15.
  • a TTE DCW is specified and any of the following is true: the length of the TCA is 58 words or less; the length of the TCA is 59 words, the last DCW in the TCA specifies control data and the length of the control data extends beyond 59 words; or the length of the TCA is the maximum length of 60 words and the last word in the TCA contains the first word of a DCW; 16.
  • a DCW contains a command that requires control data and the CD count field is zero or contains a value that specifies data past the end of the TCA; 17.
  • a DCW contains a CD count field that is non-zero and the command does not allow control data to be provided; 18.
  • the device encountered a command in the TCA that attempted to perform a read data transfer; 19.
  • the device encountered a command in the TCA that attempted to perform a write data transfer; 20.
  • the CC bit is zero in a DCW and more than 3 unused bytes remain in the TCA; 21.
  • the CC bit is one in a DCW and next DCW location is determined to be less than 8 bytes from the end of the TCA indicating and a TCAX has not been provided, or a TCAX has been provided and the next DCW location is determined to be less than 8 bytes from the end of the TCAX; 22.
  • the last DCW in the TCA becomes current, the sum of the data counts for all write DCWs plus all pad and CRC bytes (including all intermediate pad and CRC bytes), and if a COB is included in the transport-data IU, the COB, COB pad and COB CRC bytes, and if a TCAX is present, the TCAX, TCAX pad, and TCAX CRC bytes, is not equal to the DL field in the TCCB.
  • each channel 128 in the I/O system that has a physical connection with one or more control units can be referred to as a “N_Port” that has a unique identifier (a “N_Port_ID”).
  • each control unit 118 can also be referred to an a N_Port having an associated N_Port_ID. Both a channel 128 and a control unit 118 may include multiple channel images or control unit images, respectively.
  • Each N_Port includes an address identifier that is assigned during initialization and the performance of a login procedure.
  • Explicit N_Port login may be performed by means of the N_Port login (PLOGI) extended link service during the initialization process.
  • PLOGI N_Port login
  • link initialization between the channel subsystem and control units is performed using the process login (PRLI) extended link service (ELS) protocol.
  • PRLI process login
  • ELS extended link service
  • a channel 128 that supports PRLI sends a request to each control unit 118 in its configuration that also supports the process login ELS to determine whether the control unit 118 supports transport-mode operations.
  • the PRLI request is sent during channel initialization prior to establishing logical paths and may also be sent as the result of a process logout (PRLO).
  • PRLO process logout
  • the PRLI ELS is used to exchange process login service parameters between a channel 128 and control unit 118 . Parameters may be exchanged between a channel and control unit via a PRLI request and a PRLI response.
  • the PRLI request includes a service parameter page, which may include a Type Code field that identifies the FC-4 protocol (e.g., is set to hex ‘1B’ to indicate the SB-4 protocol).
  • a FC-SB-4 Flags (e.g., Byte 3 of word 3 of the PRLI request page) includes one or more flags described below:
  • bit 0 Transport Mode Supported. When bit 0 is set to zero, the channel does not support transport-mode operations. When bit 0 is set to one, the channel supports transport-mode operations.
  • IL Incorrect Length
  • SLI suppress-length-indicator
  • bit 2 When the transport mode-supported bit (bit 0 ) is equal to zero, bit 2 shall be set to zero.
  • 5 Bidirectional Data Transfer Supported. When a bi-directional transfer indication is active (e.g., bit 5 is set to one) bidirectional data transfer is supported by the channel 128 .
  • bit 7 First Transfer Ready Disabled Supported. When bit 7 is set to one, first-transfer-ready-disabled operation is supported by the channel. When bit 7 is set to zero, first-transfer-ready disabled operation is not supported by the channel. When the transport-mode-supported bit (bit 0 ) is equal to zero, bit 7 shall be set to zero.
  • the PRLI response includes a PRLI Accept Service Parameter Page, which may include a Type Code field that identifies the FC-4 protocol (e.g., is set to hex ‘ 1B’ to indicate the SB-4 protocol), and a FC-SB-4 Flags field (e.g., Byte 3 of word 3 ) that includes one or more flags defined described below:
  • bit 0 Transport Mode Supported.
  • the control unit 118 does not support transport-mode operations.
  • bit 0 is set to one, the control unit 118 supports transport-mode operations.
  • 2 DCW Incorrect Length (IL) Facility Supported.
  • IL DCW-incorrect-length
  • bit 2 is set to one, the DCW-incorrect-length (IL) facility is supported by the control unit 118 .
  • bit 2 is set to zero, the DCW IL facility is not supported by the control unit 118 .
  • the DCW-incorrect-length facility includes support for the SLI flag 214 and the incorrect-length flag 338 .
  • bit 2 shall be set to zero.
  • 5 Bidirectional Data Transfer Supported.
  • bi-directional data transfer indication When a bi-directional data transfer indication is active (e.g., bit 5 is set to one), bidirectional data transfer is supported by the control unit 118 . When bit 5 is set to zero, bidirectional data transfer is not supported by the control unit 118 . This bit is only meaningful when the transport-mode-supported bit is equal to one.
  • 7 First Transfer Ready Disabled Supported. When bit 7 is set to one, first-transfer-ready-disabled is supported by the control unit. When bit 7 is set to zero, first-transfer-ready-disabled operation is not supported by the control unit. When the transport-mode-supported bit (bit 0 ) is equal to zero, bit 7 shall be set to zero.
  • Technical effects and benefits of exemplary embodiments include the ability to transfer transport support data as well as additional commands to the control unit, in addition to I/O commands and device support data located in a TCCB.
  • Technical effects also include the ability to continue processing of DCWs despite detection of an incorrect length condition, which allows a control unit to continue to process I/O commands without the need to terminate an I/O operation.
  • Other technical effects include the ability to transport both input and output data between a channel and a control unit during a single I/O operation.
  • aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
  • the computer readable medium may be a computer readable signal medium or a computer readable storage medium.
  • a computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing.
  • a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
  • a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof.
  • a computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
  • Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire line, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
  • LAN local area network
  • WAN wide area network
  • Internet Service Provider for example, AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
  • the computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Debugging And Monitoring (AREA)
  • Communication Control (AREA)
  • Hardware Redundancy (AREA)
  • Circuits Of Receivers In General (AREA)
  • Retry When Errors Occur (AREA)

Abstract

A computer program product is configured for performing a method including: receiving at least one command message specifying an I/O operation at a control unit from a channel subsystem, the at least one command message including one or more device command words (DCWs) having a data count and a suppress-length indication (SLI), the SLI configured to instruct the control unit whether to continue to perform the I/O operation in response to the control unit detecting an incorrect length condition; processing at least one of the one or more DCWs; and returning a transport response message including an incorrect length (IL) value, the IL value being a first IL value in response to the SLI being a first SLI value and the data count not matching the amount of data required, the IL value being a second IL value in response to the SLI being a second SLI value and the data count not matching the amount of data required.

Description

    BACKGROUND
  • The present disclosure relates generally to input/output (I/O) processing, and in particular, to providing features to facilitate transport mode I/O operations.
  • Input/output (I/O) operations are used to transfer data between memory and I/O devices of an I/O processing system. Specifically, data is written from memory to one or more I/O devices, and data is read from one or more I/O devices to memory by executing I/O operations.
  • To facilitate processing of I/O operations, an I/O subsystem of the I/O processing system is employed. The I/O subsystem is coupled to main memory and the I/O devices of the I/O processing system and directs the flow of information between memory and the I/O devices. One example of an I/O subsystem is a channel subsystem. The channel subsystem uses channel paths as communications media. Each channel path includes a channel coupled to a control unit, the control unit being further coupled to one or more I/O devices.
  • The channel subsystem and I/O device may operate in a transport mode that supports the transfer of one or more command control blocks to transfer data between the I/O devices and memory. A transport control word (TCW) specifies one or more I/O commands to be executed. For commands initiating certain I/O operations, the TCW designates memory areas associated with the operation, the action to be taken whenever a transfer to or from the area is completed, and other options.
  • SUMMARY
  • An embodiment includes a computer program product for performing an input/output (I/O) processing operation at a control unit configured to control an I/O device and configured for communication with a host computer system, the I/O operation initiated by an I/O operation instruction. 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 including: receiving at least one command message specifying an I/O operation at the control unit from a channel subsystem of the host computer system, the at least one command message including one or more device command words (DCWs), each DCW associated with an I/O command, wherein at least one DCW of the one or more DCWs includes a data count and a suppress-length indication (SLI), the SLI configured to instruct the control unit whether to continue to perform the I/O operation in response to the control unit detecting an incorrect length condition, the incorrect length condition detected in response to the data count not matching an amount of data required to perform the I/O operation command, wherein the data required is one of data available at the control unit for a read operation command and data required by the control unit for a write operation command; processing at least one of the one or more DCWs; and returning a transport response message by the control unit to the channel subsystem in response to executing or terminating the I/O operation, the transport response message including a status of the I/O operation and an incorrect length (IL) value, the IL value being a first IL value in response to the SLI being a first SLI value and the data count not matching the amount of data required, the IL value being a second IL value in response to the SLI being a second SLI value and the data count not matching the amount of data required.
  • Another embodiment includes an apparatus for performing an input/output (I/O) processing operation at a control unit configured to control an I/O device and configured for communication with a host computer system, the I/O operation initiated by an I/O operation instruction. The control unit is configured to perform: receiving at least one command message specifying an I/O operation at the control unit from a channel subsystem of the host computer system, the at least one command message including one or more device command words (DCWs), each DCW associated with an I/O command, wherein at least one DCW of the one or more DCWs includes a data count and a suppress-length indication (SLI), the SLI configured to instruct the control unit whether to continue to perform the I/O operation in response to the control unit detecting an incorrect length condition, the incorrect length condition detected in response to the data count not matching an amount of data required to perform the I/O operation command, wherein the data required is one of data available at the control unit for a read operation command and data required by the control unit for a write operation command; processing at least one of the one or more DCWs; and returning a transport response message by the control unit to the channel subsystem in response to executing or terminating the I/O operation, the transport response message including a status of the I/O operation and an incorrect length (IL) value, the IL value being a first IL value in response to the SLI being a first SLI value and the data count not matching the amount of data required, the IL value being a second IL value in response to the SLI being a second SLI value and the data count not matching the amount of data required.
  • Another embodiment includes a method of performing an input/output (I/O) processing operation at a control unit configured to control an I/O device and configured for communication with a host computer system, the I/O operation initiated by an I/O operation instruction. The method includes: receiving at least one command message specifying an I/O operation at the control unit from a channel subsystem of the host computer system, the at least one command message including one or more device command words (DCWs), each DCW associated with an I/O command, wherein at least one DCW of the one or more DCWs includes a data count and a suppress-length indication (SLI), the SLI configured to instruct the control unit whether to continue to perform the I/O operation in response to the control unit detecting an incorrect length condition, the incorrect length condition detected in response to the data count not matching an amount of data required to perform the I/O operation command, wherein the data required is one of data available at the control unit for a read operation command and data required by the control unit for a write operation command; processing at least one of the one or more DCWs; and returning a transport response message by the control unit to the channel subsystem in response to executing or terminating the I/O operation, the transport response message including a status of the I/O operation and an incorrect length (IL) value, the IL value being a first IL value in response to the SLI being a first SLI value and the data count not matching the amount of data required, the IL value being a second IL value in response to the SLI being a second SLI value and the data count not matching the amount of data required.
  • Additional features and advantages are realized through the techniques of the present embodiment. Other embodiments and aspects are described herein and are considered a part of the claimed invention. For a better understanding of the invention with the advantages and features, refer to the description and to the drawings.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The subject matter which is regarded as the invention is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other objects, features, and advantages of the invention are apparent from the following detailed description taken in conjunction with the accompanying drawings in which:
  • FIG. 1 depicts one embodiment of an I/O processing system incorporating and using one or more aspects of the present invention;
  • FIG. 2 depicts one embodiment of a transport control word (TCW);
  • FIG. 3 depicts one embodiment of a transport command control block (TCCB);
  • FIG. 4 depicts one embodiment of a transport command information unit (IU) that includes the TCCB of FIG. 3;
  • FIG. 5 depicts one embodiment of a transport command header of the transport command IU of FIG. 4;
  • FIG. 6 depicts one embodiment of a transport command area header (TCAH) of the TCCB of FIG. 4;
  • FIG. 7 depicts one embodiment of a transport command area (TCA) of the TCCB of FIG. 4;
  • FIG. 8 is a table describing exemplary determinations of various data counts for uni-directional data transfer operations;
  • FIG. 9 is a table describing exemplary determinations of various data counts for bidirectional data transfer operations;
  • FIG. 10 depicts one embodiment of a device command word (DCW);
  • FIG. 11 depicts one embodiment of a control flags field of the DCW of FIG. 10;
  • FIG. 12 depicts exemplary command codes and flags for DCWs;
  • FIG. 13 depicts one embodiment of a transport command area extension (TCAX);
  • FIG. 14 depicts one embodiment of a CBC-offset block;
  • FIG. 15 is a flow chart illustrating an embodiment of a method of performing a transport mode I/O operation;
  • FIG. 16 depicts embodiments of transport-data IUs used to transport input and output data between a channel and a control unit and/or I/O device;
  • FIG. 17 depicts an embodiment of an interruption-response block (IRB) including a Subchannel-Status Word (SCSW);
  • FIGS. 18A and 18B depict exemplary status qualifiers for the SCSW of FIG. 17;
  • FIG. 19 depicts one embodiment of a transport response IU; and
  • FIG. 20 depicts one embodiment of a status area of the transport response IU of FIG. 19.
  • DETAILED DESCRIPTION
  • Embodiments of the present invention facilitate input/output (I/O) processing in a computer system. In one embodiment, transport commands are provided to manage the I/O operation and the transfer of data via a channel path. Transport commands transfer command meta-information (TCMI) that is used to manage data transfer checking and the transfer of additional DCWs. TCMI may be specified by a transport control word (TCW) is defined in one or more data transport information units (IUs) for defining, specifying and verifying information regarding data to be transferred in an I/O operation. In one embodiment, the TCMI includes control data that is included in the output data stream (e.g., in an output transport-data Information Unit) of an I/O operation. The TCMI describes how to handle this data, independent of the type of data being included. TCMI includes a data block or other container for the control data, as well as rules (e.g., for calculating counts) for specifying the metadata in the data block. Transport commands may include an interrogate command, a transfer-CBC-Offset Block (TCOB) command, and transfer-TCA Extension (TTE) command. The system also includes capability for determining and storing count values indicating the amount (e.g., number of bytes) of TCMI data to be transferred as output data.
  • In one embodiment, I/O processing is facilitated by enabling a host computer to increase the number of commands that can be sent to a device for an I/O operation. For example, TCMI in the form of a Transport Command Area Extension (TCAX) can be sent from the host to a device to increase the number of commands that can be associated with an I/O operation. In one embodiment, the TCAX may be specified by a TCW and is sent via a device command word (DCW), referred to as a Transfer TCA Extension (TTE) DCW, that includes commands to be performed in addition to commands sent in a Transport Command Area (TCA). In one embodiment, the TCAX is specified by the TTE DCW and is sent as output data to the control unit.
  • I/O processing can also be facilitated by providing a means by which an I/O device can continue an I/O operation when an incorrect length record is encountered. For example, a DCW-incorrect-length and FCX-incorrect length indication facility may be installed in the host system and a control unit or device. The facility provides for Incorrect Length (IL) checking that may be performed by a control unit. A suppress-incorrect-length or Suppress Length Indication (SLI) field may be added to a DCW sent to a device. When this bit is activated, DCW chaining is permitted to continue when an incorrect length condition is detected by the control unit.
  • I/O processing can also be facilitated by providing a means for sending both read and write commands to a device in a single I/O operation. Prior art TCW channel programs specify either all write commands or all read commands. A bi-directional operation can be specify by setting one or more flags in a transport command header (TCH) of a command IU, e.g., by setting both read and write flags to one and providing both a read and a write data count. In addition, a flag in an initiation or login message such as a Process Login (PRLI) request message can be set to indicate that the channel subsystem supports bidirectional data transfer. A response message such as a PRLI accept message can include a flag that can be set to indicate whether the device supports bi-directional data transfer. If bi-directional data transfer is supported by both the host and the control unit, the device will not report an error if both read and write flags are set in the command IU. This capability is an improvement over prior art Fibre Channel protocols, which do not support bi-directional data transfer operations. As described herein, “bi-directional data transfers” are transfers of both input and output data that are performed within a single TCW I/O operation, e.g., sending and executing both read and write commands within a single TCW I/O operation.
  • FIG. 1 illustrates an exemplary embodiment of an I/O processing system 100 that includes a host computer system 102 that includes a data storage and/or processing system such as a zSeries® mainframe computer by International Business Machines Corporation (IBM®). IBM is a registered trademark of International Business Machines Corporation, Armonk, N.Y., USA. Other names used herein may be registered trademarks, trademarks or product names of International Business Machines Corporation or other companies. The host computer system 102 includes various processing, storage and communication elements. In one embodiment, the host computer system 102 includes one or more central processing units (CPUs) 104, memory components such as a main storage or memory 106, an expanded storage or memory 108, one or more operating systems (OSs) 110 that are executed by one or more of the CPUs 104. For example, one CPU 104 can execute a Linux® operating system 110 and/or a z/OS® operating system 110 as different virtual machine instances. CPU 104 is the controlling center of the I/O processing system 100. It contains sequencing and processing facilities for instruction execution, interruption action, timing functions, initial program loading, and other machine-related functions. CPU 104 is coupled to the main memory 106 and/or expanded memory 108 via a connection 113, such as a bidirectional or unidirectional bus.
  • The host computer system 102 also includes a channel subsystem 114 that provides a communication interface between the host system 101 and various I/O devices 116, which may controlled by one or more control units 118. I/O devices include equipment such as printers, magnetic-tape units, direct-access-storage devices, displays, keyboards, communications controllers, teleprocessing devices, and sensor-based equipment. In the description herein, the terms “control unit” and “device” may be used interchangeably, or a control unit may be considered to include one or more devices. The channel subsystem 114 directs the flow of information between the I/O devices 116 and the host computer system 102. It relieves the CPUs 104 of the task of communicating directly with the I/O devices 116 and permits data processing to proceed concurrently with I/O processing. The channel subsystem 114 is coupled to the CPUs 104, the main memory 106 and/or the expanded memory 108 via a connection 120, such as a bus.
  • In one embodiment, the channel subsystem 114 is connected to each I/O device 116 via a respective “channel path” 122 that connects the channel subsystem 114 to each control unit 118 via a connection 124 such as a serial or parallel link. Control units 118 may be attached to the channel subsystem 114 via more than one channel path 122, and an I/O device 116 may be attached to more than one control unit 118 and/or I/O device 116. In all, an individual I/O device 116 may be accessible by multiple channel paths. A channel path can use various types of connections, such as a parallel interface, a serial-I/O interface and a FICON I/O interface. For example, a serial channel path may include one or more optical fibers connected to a control unit 118 via, e.g., a dynamic switch 126 in a Fibre channel fabric, and a parallel interface may include a number of electrical or fiberoptic conductors.
  • In one embodiment, the channel subsystem 114 includes one or more individual channels 128 that are each connected to one or more control units 118 and/or I/O devices 116 via one or more channel paths 122. Each channel 128 includes processing electronics such as a local channel microprocessor 130 and a local channel memory 132 that is connected to and accessible by the local channel microprocessor 130. The local channel memory 132 may include information such as a channel-program designation, a channel-path identifier, a device number, a device count, status indications, as well as information on path availability and functions pending or being performed.
  • Also located within each channel 128 are one or more subchannels. Each subchannel is a data structure located within a channel memory 132 that provides information concerning an associated I/O device 116 and its attachment to the channel subsystem 114. The subchannel also provides information concerning I/O operations and other functions involving the associated I/O device 116. The subchannel is the means by which the channel subsystem 114 provides information about associated I/O devices 116 to the CPUs 104. In one embodiment, the number of subchannels provided by the channel subsystem is independent of the number of channel paths 122 to the associated I/O devices 116. For example, a device 116 accessible through alternate channel paths 122 still is represented by a single subchannel.
  • Each control unit 118 provides logic to operate and control one or more I/O devices 116 and adapts, through the use of common facilities, the characteristics of each I/O device 116 to the link interface provided by a channel 128. The common facilities provide for the execution of I/O operations, indications concerning the status of I/O devices 116 and the control unit 118, control of the timing of data transfers over a channel path 122 and certain levels of I/O device control. A control unit 118 may be housed separately, or may be physically and logically integrated with an I/O device, the channel subsystem, or a CPU.
  • One or more of the above components of the I/O processing system 100 are further described in “IBM® z/Architecture Principles of Operation,” Publication No. SA22-7832-85, 9th Edition, August 2010, which is hereby incorporated herein by reference in its entirety.
  • I/O operations are described as any operation that involves the transfer of data between the host computer system 102 and I/O devices 116. As described herein, an I/O operation includes the communications between the channel subsystem 114 and a device 116 (via, in one embodiment, a control unit 118) in which a single command (e.g., a channel command word or CCW), a single command message including multiple commands (e.g., a transport command information unit or transport command control block (TCCB)), or multiple chained commands (e.g., multiple CCWs) are sent from the channel subsystem 114 to a device. The I/O operation may also include one or more response messages generated by the device 116 or an associated control unit 118 in response to receiving and/or executing the command or chained commands.
  • In one embodiment, I/O operations are initiated with a device 116 by the execution of I/O instructions generated by an OS 110 that designate the subchannel associated with the device 116. Such instructions are executed in the host system by a CPU 104 by sending parameters to a channel 128 or subchannel to request that the channel subsystem 114 perform various functions in an I/O operation.
  • For example, the CPU 104 executes a “START SUBCHANNEL” instruction by passing parameters to the target subchannel requesting that the channel subsystem 114 perform a start function with the I/O device 116 associated with the subchannel. The channel subsystem 114 performs the start function by using information at the subchannel, including the information passed during the execution of the START SUBCHANNEL instruction, to find an accessible channel path to the device 116, and to execute the I/O operation once a channel path has been selected.
  • When an instruction such as a START SUBCHANNEL instruction is executed by the CPU 104, a channel 128 commences performing the I/O operation. In one embodiment, the channel subsystem 114 operates under a High Performance FICON (HPF) protocol for communication between the channel subsystem 114 and the devices 116 and/or control units 118. FICON and HPF are described further in “Fibre Channel: Single-Byte Command Code Sets Mapping Protocol—4 (FC-SB-4),” T11 Project 2122-D, Revision 3.00, Sep. 22, 2009, which is hereby incorporated herein by reference in its entirety.
  • In one embodiment, execution of the START SUBCHANNEL instruction passes the contents of an operation request block (ORB) to the channel subsystem 114. The ORB specifies a channel program that includes an address of one or more command words (e.g., a channel command word or a transport command word described further below). There are two modes of subchannel operation. In one embodiment, the host computer system 102 operates in a command mode and specifies command word(s) in the form of a channel command word (CCW). In another embodiment, the host system operates in a transport mode and specifies command word(s) in the form of a transport command word (TCW).
  • A subchannel may enter transport mode when an FCX (Fibre Channel Extensions) facility is installed and the start function is set at the subchannel as the result of the execution of a START SUBCHANNEL instruction that specifies a TCW channel program. The subchannel remains in transport mode until the start function is reset at the subchannel. At all other times, the subchannel is in command mode.
  • In command mode, the channel executes a CCW channel program that include a single channel-command word or a sequence of channel-command words executed sequentially that control a specific sequence of channel operations. A control unit executes a CCW I/O operation by decoding, accepting, and executing CCW commands by an I/O device. One or more CCWs arranged for sequential execution form a CCW channel program and are executed as one or more I/O operations, respectively.
  • The fibre-channel-extensions (FCX) facility is an optional facility that provides for the formation of a transport mode channel program that is composed of a transport control word (TCW) that designates a transport-command-control block (TCCB) and a transport-status block (TSB). The TCCB includes a transport-command area (TCA) which contains a list of one or more (e.g., up to 30) I/O commands that are in the form of device-command words (DCWs). A TCW and its TCCB may specify either a read or a write operation. In one embodiment, a FCX-bidirectional-data-transfer facility may be installed in a system that supports transport mode operations, that allows the host computer system 102 to specify transfer of both input and output data in a single transport mode I/O operation if the connected device 116 and control unit 118 supports bidirectional-data transfer. When a control unit 118 recognizes bi-directional data transfers, a TCW and its TCCB may, depending on the device, specify both read and write data transfers.
  • In the transport mode, a single transport command word (TCW) specifies a location in memory of a TCCB (as well as a location in memory 106 or 108 of one or more data areas) that is sent in a single message instead of separate individual CCWs in the command mode. A control unit 118 executes a transport mode I/O operation by decoding, accepting, and executing a TCCB and the individual DCWs included therein. If the ORB specifies a TCW channel program, the channel subsystem 114 uses information in the designated TCW to transfer the TCCB to a control unit 118. The contents of the TCCB are ignored by the channel subsystem 114 after the TCCB is transferred to the control unit 118 and only have meaning to the control unit 118 and the associated I/O device 116.
  • In an exemplary embodiment, the control unit 118 generates a response message in response to executing the channel program. The control unit 118 may also generate a response message without executing the channel program under a limited number of communication scenarios, e.g., to inform the channel subsystem 114 that the channel program will not be executed. The control unit 118 may include a number of elements to support communication between the I/O communications adapter and I/O devices, as well as in support of channel program execution. For example, the control unit 118 can include control logic to parse and process messages, in addition to one or more queues, timers, and registers to facilitate communication and status monitoring.
  • FIG. 2 illustrates an embodiment of a transport-control word (TCW) 140, which is stored in the host system (e.g., main memory 106) and specifies at least one control block that is to be transferred to a control unit 118 from a channel 128. In one embodiment, the control block is a transport-command-control block (TCCB) whose contents are to be transported to the control unit 118 and I/O device 116 for processing. When the TCW 140 specifies a TCCB, the TCCB includes a TCA that specifies one or more device-command words (DCWs) and associated options. For a DCW that specifies a command which initiates the transfer of data (with the exception of control data contained within the TCCB), the TCW 140 designates one or more storage areas where the data is located.
  • In one embodiment, the TCA includes a Transfer TCA Extension (TTE) command that is provided to transfer additional DCWs and/or control data in addition to those that can be accommodated in the TCCB. The TTE transfers a TCA extension (TCAX) to a control unit (which includes at least one DCW) and is considered a logical extension of the TCA to which it is associated, by, for example chaining the last DCW of the TCCB to the first DCW of the TTE.
  • Referring again to FIG. 2, and embodiment of the TCW 140 is a 64-byte control block that is designated on a 64-byte boundary. The TCW includes various fields described below.
  • For example, a number of flag fields 142 indicate whether direct or indirect data addressing is being used to locate input data, output data or the TCCB. An Output transport-indirect-data addressing (TIDA) field indicates whether output data is directly or indirectly addressed. For example, when word 0, bit 7 of the TCW 140 is zero and output data is specified, an output-data-address field 144 designates an output data location in absolute storage. When bit 7 is one, the output-data-address field 144 designates an absolute address of a TIDA word (TIDAW) or the first TIDAW in a list of TIDAWS (a TIDAL) that designates the output storage location or locations, respectively. An Input TIDA field indicates whether input data is directly or indirectly addressed. For example, when word 0, bit 5 is zero and input data is specified, an input-data-address field 146 designates the absolute address of the input storage location (i.e., where input data is to be stored. When bit 5 is one, the input-data-address field 146 designates the absolute address of a TIDAW or the first TIDAW in a TIDAL that designates the input storage location or locations. A Transport-command-control-block TIDA (TCCB-TIDA) field indicates whether the TCCB is directly or indirectly addressed. For example, when word 0, bit 6 is zero, a TCCB-address field 148 designates the absolute address of the TCCB for the TCW, and when bit 6 is one, the TCCB-address field 148 designates the absolute address of a TIDAW or TIDAL that designate the location or locations of the TCCB.
  • The TCW 140 also includes a Transport-Command-Control-Block Length (TCCBL) field 150 that specifies the length in bytes of the TCCB. For example, the TCCBL field includes an unsigned integer whose value (e.g., when added to 20 for unidirectional data transfers or when added to 24 for bidirectional data transfers) specifies the length of the TCCB in bytes.
  • A Read Operations (R) field 152 is non-zero (e.g., bit 14 of word 1 is one) when indicating the number of bytes to be transferred into main memory 106. A Write Operations (W) field 154 is non-zero (e.g., bit 15 of word 1 is one) when indicating the number of bytes to be transferred from main storage. If the R-field 152 and the W-field 154 are both one, a program-check condition is recognized, unless the target device 116 and control unit 118 support bi-directional data transfer. If the W-bit is one and the TCW is an interrogate TCW, a program-check condition is recognized.
  • The Output-Data Address field 144 indicates the location in storage of any output data to be sent to a device. For example, when bit 15 of word 1 (the W-field bit 154) is one and bit 7 of the flags field 142 (the output-TIDA flag) is zero, words 2-3 designate the 64-bit output location in absolute storage. When the W-bit is one and the output-TIDA flag is one, words 2-3 designate the 64-bit location in absolute storage of a TIDAW or list of TIDAWs that designate the output storage location or locations. The Input-Data Address field 146 indicates the location to which any input data is to be stored when received from a device. For example, when the bit 14 of word 1 (the R-field bit 152) is one and bit 5 of the flags field 142 (the input-TIDA flag) is zero, words 4-5 designate the 64-bit input location in absolute storage. When the R-bit is one and the input-TIDA flag is one, words 4-5 designate the location in absolute storage of a TIDAW or list of TIDAWs that designate the input storage location(s).
  • A Transport-Status-Block Address 156 specifies a location in storage of a transport-status block for the TCW. For example, words 6-7 designate the 64-bit location in absolute storage of the transport-status block for the TCW.
  • A Transport-Command-Control-Block Address field 148 specifies one or more (direct or indirect) addresses of the TCCB. For example, if the TCCB-TIDA bit (bit 6 of the flags field) is zero, words 8-9 designate 64-bit location in absolute storage of the TCCB. When the TCCB-TIDA bit is zero, the TCCB is specified to reside in a contiguous area of storage. If the transport-command-control-block-TIDA bit is one, words 8-9 designate the 64-bit location in absolute storage of a TIDAW or list of TIDAWs that designate the location in absolute storage of the TCCB. When the TCCB-TIDA bit is one, the TCCB may be specified to reside in noncontiguous areas of storage
  • The Output Count field 158 specifies the number of output bytes for the TCW. For example, when bit 15 of word 1 (the W-bit) is one, word 10 contains the unsigned integer total count of output bytes for the TCW. The Input-Count field 160 specifies the number of input bytes for the TCW. For example, when bit 14 of word 1 (the R-bit) is one, word 11 contains the unsigned integer total count of input bytes for the TCW.
  • If the TCW specifies an interrogation operation, an Interrogate-TCW Address field 162 indicates a location in storage of an Interrogate TCW. For example, when a START SUBCHANNEL instruction designates a TCW, word 15 of the TCW is not checked. However, when a CANCEL SUBCHANNEL instruction designates a subchannel that is start pending for a TCW channel program and is not status pending, bits 1-31 of word 15 of the TCW designated by START SUBCHANNEL specify the 31-bit location in absolute storage of the interrogate-TCW that is used to initiate an interrogate operation for the subchannel. If word 15 contains zeros when CANCEL SUBCHANNEL is issued, an interrogate operation is not initiated. When CANCEL SUBCHANNEL is issued, bit 0 of word 15 must be zero, otherwise a program-check condition is recognized with interrogate-failed status indicated. When CANCEL SUBCHANNEL is issued and bits 1-31 of word 15 do not contain zeros, bits 1-31 of word 15 must designate a storage location on a 64-byte boundary, otherwise a program-check condition is recognized with interrogate-failed status indicated. Word 14 may be reserved for extending the interrogate-TCW-address field to 64 bits.
  • Referring to FIGS. 3 and 4, the transport-command-control block (TCCB) 170 includes one or more individual commands as part of a TCW I/O operation, and is sent to a control unit 118 and/or device 116 by a channel 128 via a channel path. The TCCB 170 relieves the channel of having to send multiple messages or information units, and also transfers the responsibility of executing the operation to the control unit and removes the need for the control unit 118 to send responses for each command. Instead, the control unit 118 can execute all of the commands and send a response upon completion of the operation.
  • The TCCB 170 is variable in length, may contain header and trailer information, and one or more (e.g., from 1 to 30) commands as device-command words (DCWs) that are logically linked (e.g., chained) such that they are executed by the control unit 118 in a sequential manner. The TCCB 170 may reside as a single block of contiguous storage or may reside as multiple blocks of noncontiguous storage. For example, the TCCB-TIDA flag in the TCW 140 described above is used to specify whether the TCCB resides in contiguous storage.
  • Examples of a TCCB are shown in FIGS. 3 and 4. As shown in FIG. 4, the TCCB 170 may be sent from a channel 128 to a control unit 118 as part of a transport command information unit (IU) 172 that is sent to the control unit 118 to initiate an I/O operation.
  • In one embodiment, the transport command IU 172 is made up of an 8-byte SB-4 header 174, followed by a 4-byte transport command header (TCH) 176, and the TCCB 170. The TCCB 170 includes a 16-byte transport-command-area header (TCAH) 178, a variable length transport-command area (TCA) 180, and a transport command area trailer (TCAT) 182. The TCAT 182 may further include a 4-byte LRC field 184, a 4-byte data-transfer length (DL) field 186, and for bidirectional operations, a 4-byte bidirectional read data-transfer length (BRDL) field 188. These fields are described further below.
  • Referring to FIG. 4, the SB-4 header 174 provides FC-4 addressing information to identify the logical path and the device 116 for the data transfer. The SB-4 header 174 provides information including a channel image ID and a control unit ID for a logical path between a channel 128 and a control unit 118, as well as a device ID.
  • Referring to FIG. 5, the TCH 176 includes information about the TCCB 170 and the associated device operations. In one embodiment, the TCH 176 contains 4 bytes and immediately follows the SB-4 header 174 in the transport command IU 172. The TCH 176 includes fields such as a length field (“L1”) 190, a read field (“R”) 192 and a write field (“W”) 194. The L1 field (located at e.g., bits 24-29), specifies the length, in words, of the TCA 180 plus the 1-word LRC field 184 that directly follows the TCA 180. For example, for control units 118 that do not support bidirectional operations, the total amount of data transferred in the transport command IU 172 is equal to the L1 field plus 8 (that is, the L1 field plus the 2-word SB-4 header, the 1-word TCH, the 4-word TCAH and the 1-word DL); otherwise, the control unit recognizes a transport-command IU integrity error due to a data count error. For control units that support bidirectional operations, the total amount of data transferred in the transport-command IU 172 is equal to the L1 field plus 8 (that is, the L1 field plus the 2-word SB-4 header, the 1-word TCH, the 4-word TCAH and the 1-word DL) or the L1 field plus 9 (that is, the L1 field plus the 2-word SB-4 header, the 1-word TCH, the 4-word TCAH, the 1-word DL, and the 1-word BRDL for a bidirectional operation); otherwise, the control unit shall recognize a transport-command IU integrity error due to a data count error. If a transport-command IU integrity error is not recognized, the location of the LRC in the TCCB is located based on the L1 field and the LRC check can be performed.
  • The Read (R) field 192 specifies that the TCA 180 includes one or more read or input commands. In the embodiment of FIG. 5, the R field 192 is an R bit, bit 30, that indicates, when set to one, that the TCA 180 contains one or more commands that transfer read data. When the R bit is set to zero, the TCA 180 does not contain any commands that transfer read data. When the R bit is one and the W bit (e.g., bit 31) is zero, the operation is referred to as a read operation. When both the R and W bits are set to zero, the TCA 180 does not contain any commands that transfer read or write data, indicating that the I/O operation does not perform data transfer. When both the R and W bits are set to one, the TCA 180 may contain commands that transfer both read and write data, and the operation is referred to as a bidirectional operation. The device 116 or control unit 118 recognizes a TCH content error due to a read-write conflict if a bidirectional operation is specified and the control unit 118 does not support bidirectional operations, or the control unit 118 supports bidirectional operations but the transport-command IU 172 does not contain the BRDL field 188. When the R bit is zero and the control unit 118 or device 116 encounters a command in the TCA 180 that attempts to transfer read data, a TCCB content error is recognized due to an invalid read attempt.
  • The Write (W) field 194 specifies that the TCA 180 includes one or more write or output commands. In the embodiment of FIG. 5, the W field is a W bit, bit 31, that, when set to one, indicates the TCA 180 includes one or more commands that transfer write data. When the bit is set to zero, the TCA does not include any commands that transfer write data. When the W bit is one and the R bit (bit 30) is zero, the operation is referred to as a write operation. When the W bit is zero and the control unit 118 or device 116 encounters a command in the TCA 180 that specifies a write command, a TCCB content error is recognized due to an invalid write condition.
  • Referring to FIG. 6, an embodiment of the TCA Header (TCAH) 178 includes information about the TCA 180 and the operations described therein, such as the TCA length and device indications. In this embodiment, Byte 3 of word 1 is an “L2length field 196 that contains an unsigned binary integer that specifies the length, in bytes, of the TCA 180 plus words 2 and 3 of the TCA header, plus the 4-byte LRC field 184 that directly follows the TCA 180. A Service-Action Code field 198 (e.g., bytes 0-1 of word 2) includes an unsigned integer value that specifies the type of operation specified by the TCCB. For example, a Hex value of ‘1FFE’ indicates a SB-4 Device I/O operation, and a Hex value of ‘1FFF’ indicates SB-4 Device support functions. The Priority Number field 200 (e.g., byte 3 of word 2) includes the control unit I/O priority number.
  • Referring to FIG. 7, the transport-command area (TCA) 180 is a variable length area that contains one or more (e.g., from 1 to 30) commands as device-command words (DCWs) 202. The length of the TCA 180, in one embodiment, is an in integral number of 4-byte words. For DCWs 202 that specify device control data, the TCA 180 also contains the control data associated with each DCW 202. Each DCW 202 that specifies control data reduces the maximum-DCW capacity by one or more DCWs, depending on the size of the command-associated data. For DCWs 202 that specify input or output data, the TCW 140 designates the associated storage area or areas and the DCW designates the count of bytes to transfer. In one embodiment, the maximum size of the TCA is 240 bytes. As shown in the embodiment of FIG. 7, when sufficient space exists in the TCA 180 for the entire DCW 202, the DCW 202 begins on the word boundary that follows the previous DCW 202 or the control data associated with the previous DCW 202. When the last DCW 202 in the TCA 180 specifies control data that is not an integral number of words, the subsequent LRC field 184 begins on the word boundary that follows the control data.
  • For some devices, the list of DCWs 202 may extend beyond what will fit in the TCA 180. In such instances, a TCA extension (TCAX) field may be specified that includes additional DCWs and transferred as if the TCAX were output data (e.g., transferred as part of an output transport-data IU). However, the TCAX is treated as a logical continuation of the TCA 180 instead of as transfer data. The TCAX is specified in the TCA 180 by a transfer-TCA-extension (TTE) DCW. The TCAX and TTE DCW are described further below, and embodiments of the TCAX are shown in FIGS. 12 and 13.
  • As shown in FIGS. 3 and 4, the TCCB may include a transport-command-area trailer (TCAT) 182 that provides additional information about the TCCB, including various count information. In one embodiment, when uni-directional data transfer is specified (either the R-bit or the W-bit is set to one) or no data transfer is specified (both the R-bit and W-bit in the TCW are set to zero), the TCAT 182 is two words in length. When bidirectional data transfer is specified (both the R-bit and the W-bit in the TCW are set to one), the TCAT 182 is three words in length.
  • For example, when uni-directional data transfer is specified, the transport count or data length (DL) field 186 specifies the 32-bit unsigned integer count of total data to be transferred (the “transport count value”). When a read operation is specified (the TCW R-bit is one), the value in the transport-count field in the TCAT may be determined by summing the count field values in the DCWs 202 that each specify a read-type command. The sum is rounded upwards to the nearest multiple of 4, and the rounded sum is increased by 4 to arrive at the transport-count value. When a read operation is specified, the transport count value should be equal to the value in the TCW input-count field 160, rounded upwards to the next multiple of 4, plus 4.
  • When a write operation is specified (the W-bit in the TCW is one), the count field values in the DCWs 202 that specify a write command are summed. In addition, the count field values in all transport-command DCWs (described further below) that specify the transfer of transport command-meta information (TCMI), plus the size of the reserved fields in the TCMI are added to the sum. (Note that the size of a TCMI reserved field may be zero). The total of the counts of any TIDAW-specified control block check (CBC) or cyclical redundancy check (CRC) bytes and padding bytes is added to the sum. The sum is rounded upwards to the nearest multiple of 4, and the rounded sum is increased by 4 giving the transport-count value. When a write operation is specified, the transport count value should be equal to the value in TCW output-count field 158, rounded upwards to the next multiple of 4, plus 4. When neither a read nor a write operation is specified (both the W-bit and R-bit in the TCW are zero), the transport count value should be zero.
  • When bidirectional data transfer is specified, the DL field 186 is the write count and specifies the 32-bit unsigned integer count of total output data to be transferred. The transport count value in the DL field (write-count field) in the TCAT 182 is determined as described above for a write operation. The bi-directional read data length (BRDL) field 188 specifies the 32-bit unsigned integer count of total input data to be transferred. The transport count value for the BDRL field 188 is determined as described above for read operations.
  • In one embodiment, for a write operation or bidirectional operation, the DL field shall contain a 4-byte unsigned binary integer that specifies the number of bytes to be transferred by the channel to the control unit for the operation and includes all intermediate and final pad and CRC bytes, and if a COB is included in the first transport-data IU of the write operation, it also includes the COB, any COB pad bytes and the COB CRC bytes. If a TTE DCW is present in the TCA, the DL field also includes the TCAX, any TCAX pad bytes and TCAX CRC bytes.
  • FIGS. 8 and 9 are tables summarizing the determination of the TCW input-count, output-count, and the TCAT transport count values for unidirectional and bi-directional transfers, respectively.
  • For a bidirectional operation, a bidirectional-read-data-length (BRDL) field includes a 4-byte unsigned binary integer that specifies the number of bytes to be transferred by the control unit to the channel for the operation and includes any pad bytes required to round to a word boundary if not already on a word boundary plus 4 bytes for CRC. For operations that are not bidirectional operations, the device shall recognize a TCH content error due to a read-write conflict if the transport-command IU contains the BRDL field.
  • Referring to FIG. 10, a device-command word (DCW) 202 specifies a command to be executed. For commands initiating certain I/O operations, it designates the count of bytes on which the operation is performed, the action to be taken whenever transfer to or from storage is completed, and other options. The storage area or areas associated with a DCW data-transfer operation are designated, depending on the operation specified by the command, by the input-data-address field 146 or the output-data-address field 144 of the TCW 140 that designates the TCCB 170 that includes the DCW 202. Whether the input-data-address field 146 or the output data-address field 144 designates the storage directly or indirectly is specified by the input-TIDA and output-TIDA flags in the TCW 140.
  • In one embodiment, the DCW 202 is an 8-byte control block that is designated in the TCW 140 on a word boundary. The DCW 202 includes fields such as a command code field 204, a control flags field 206, a control data count 208 and a DCW data count 210.
  • The Command Code field 204 (e.g., bits 0-7 of word 0) specifies the operation to be performed. Whether a command is valid is device dependent and dependent on the value of the service-action code field 198 in the TCAH 178. Basic commands include read, write, control, sense and transport. The channel subsystem 114 distinguishes among the following operations: control, output forward (write), input forward (read, sense, sense ID), input backward (read backward), branching (transfer in channel) and transport. Some commands, when executed, do not result in the transfer of data but cause the device to chain and start execution of the next command when all of the conditions for command chaining are satisfied. Each of the basic operations is described below.
  • A read command initiates execution of a device operation that performs device-to-channel data transfer. A write command initiates execution of a device operation that performs channel-to-device data transfer. A control command initiates execution of a device operation that makes use of control data provided in the DCW. The sense command is similar to a read command, except that the data is obtained from sense indicators rather than from a record source. Control commands and associated control data are provided for management of the specific I/O device and control of the device during execution of an I/O command. A transport command is provided to manage the I/O operation and the transfer of data via a channel path, and is not device specific. Such commands manage the transport of control block checking data such as cyclical redundancy check (CRC) data and the transport of additional DCWs in transport-data IUs.
  • The Control-Data (CD) Count field 208 specifies the number of control data bytes associated with a DCW 202. For example, byte 3 of word 0 specifies the length of the control data, in bytes. If the command code specifies a command that requires control data and byte 3 of word 0 specifies a control-data count that is less than required for the command, a unit-check condition or TCCB content error is recognized. If the command code specifies a command that requires control data and byte 3 of word 0 contains zero or contains a value that specifies data past the end of the TCA (or past the end of the specified TCAX), a device-detected-program check condition or TCCB content error is recognized.
  • The DCW Data Count field 210 specifies the byte count of the data (e.g., data to be transferred for the read or write operation, i.e., customer data) designated by the TCW for the present DCW 202. For example, the DCW data count is included in word one of the DCW 202 of FIG. 10, and specifies the 32-bit unsigned integer count of bytes in the storage area designated by the TCW for this DCW. The DCW data count field 210 indicates the number of bytes to be transferred between the channel and control unit during execution of the DCW, not including any pad or CRC bytes.
  • Referring to FIG. 11, in one embodiment, the DCW 202 includes various control flags 206. A chain-command (CC) flag 212 specifies an intent to perform chaining of commands. Upon normal completion of the current device operation and after recognition of device end at the device, chaining of commands causes the next DCW 202 in the TCA 180 to be executed. The CC flag 212 is set to zero in the last DCW in the TCA. In the embodiment of FIG. 10, bit 9 of word 0 (the CC bit), when one, specifies the chaining of commands. When one, the bit causes the operation specified by the next DCW to be initiated upon normal completion of the current DCW. When the control-data count is zero, the next DCW immediately follows the DCW in the TCA or in a TCAX. When the control-data count is not zero, the next DCW immediately follows the control-data, rounded to a word boundary, specified for the DCW. When the chain-command flag is one, in one embodiment, the next DCW location in the TCA or in a TCAX is determined by adding eight and the value in the CD count field to the location of the current DCW and rounding upwards to the nearest word boundary. If the chain-command flag is one in a DCW in a TCA, and the next DCW location is past the end of the TCA, and a TCAX is specified, the next DCW is at the beginning of the specified TCAX.
  • The control flags field, in one embodiment, include a Suppress Length Indication (SLI) field 214. When the DCW-incorrect-length facility is supported by a channel 128 and a control unit 118, a bit (e.g., bit 2) is provided in the SLI flag field 214 that controls whether command chaining is to occur on an incorrect-length condition and whether incorrect length is to be indicated in a transport-response IU by the control unit when an incorrect-length condition is detected by the control unit 118. An incorrect-length condition is detected by the control unit if the DCW data count does not match the amount of data required by the device for a write DCW or if the DCW data count does not match the amount of data available at the device for a read DCW. When the DCW-incorrect-length facility is not supported by the channel and control unit, bit 2 is reserved and set to zero by the channel and ignored by the control unit.
  • When the SLI flag 214 is one, incorrect-length indication is suppressed. When both the CC and SLI flags are ones, command chaining takes place regardless of the presence of an incorrect-length condition. When the SLI flag 214 is one and an incorrect-length condition exists for the current DCW, command chaining, if indicated, shall be permitted and the control unit continues execution of the next following DCW. In one embodiment, The SLI flag bit should be set to one or otherwise activated in all DCWs where suppression of the incorrect-length indication is desired.
  • If the SLI flag is zero and an incorrect-length condition exists for a DCW, command chaining, if indicated, is not permitted and the control unit 118 aborts the I/O operation. In the channel subsystem 114, if the SLI flag is zero and an incorrect-length condition exists, processing of the TCA 180 is terminated and the subchannel is made status pending with incorrect length indicated in the subchannel status. When an incorrect-length condition exists for a DCW 202 and the SLI flag 214 in the DCW is set one, data transfer is performed as described below, otherwise the operation is terminated and an abnormal termination condition shall be reported for the operation.
  • For a read DCW 202, if the DCW data count is greater than the amount of data available at the device 116 for the command, then the following applies. If the CC flag 212 is one (chaining is indicated), the data available at the device 116 is transferred to the channel 128 and pad bytes (which are set to zero) are transferred so that the amount of data transferred for the DCW 202 is equal to the DCW data count. All data transferred, including pad bytes, are included in any computation of CRC required for the operation. If the CC flag 212 is zero (chaining is not indicated), the data available at the device shall be transferred to the channel and either no additional data shall be transferred or pad bytes (set to zero) are transferred so that the amount of data transferred for the DCW is equal to the DCW data count. The data transferred plus any pad bytes shall be included in the computation of CRC required for the operation. It is model dependent whether pad bytes are transferred for this case. If the DCW data count is less than the amount of data available at the device for the command, only an amount of data equal to the DCW data count is transferred to the channel 128 for the DCW 202. Only the data transferred shall be included in the computation of CRC required for the operation.
  • For a write DCW 202, if the DCW data count is greater than the amount of data required by the device 116 for the command, then the following applies. If the CC flag 212 is one (chaining is indicated), the amount of data specified by the DCW data count shall be transferred to the control unit 118. The data transferred shall be used in the computation of any CRC required for the operation, and data not required by the device 116 is discarded. If the CC flag is zero (chaining is not indicated), the amount of data required by the device 116 is transferred to the control unit 118. Additional data is transferred up to the next intermediate CRC word or until the data count for the DCW is exhausted. All data transferred is used in the computation of any CRC required for the operation. If the DCW data count is less than the amount of data required by the device 116 for the command, the amount of data specified by the DCW data count is transferred to the control unit 118. The data transferred is used in the computation of any CRC required for the operation.
  • For a write DCW 202 in which the DCW data count is greater than the amount of data required by the device 116 for the command and the CC flag 212 is zero (chaining is not indicated), the amount of data required by the device 116 is transferred. Data then continues to be transferred until the next CBC is specified to be inserted or until the total amount to be transferred is equal to the DCW data count. Exemplary command codes are shown in FIG. 12, which illustrates six TCW commands and indicates which flags are defined for each command. A transport-command DCW is a type of DCW that does not specify a specific data transfer command (i.e., customer data that is requested to be transferred by a host computer instruction), but rather specifies a transport command that performs a support function associated with a transport-mode I/O operation. A transport-command DCW may specify control data and may also specify the transfer of transport-command-meta information (TCMI). TCMI includes data that is utilized to control transfer functions in the I/O operation, such as the status of an I/O operation at a device, information regarding additional DCWs that do not fit in or can be accommodated by a current TCCB, and control block checking (CBC) information such as cyclical redundancy check (CRC) data.
  • When a transport-command DCW specifies the transfer of TCMI to a device, the TCMI is transferred in a data block or word as output data (e.g., in a transport-data IU). The size of the TCMI is command dependent and is, for example, a multiple of 4. The TCMI may be extended by 4 reserved bytes when the size of the TCMI is an even multiple of 4, TIDAWs are used to specify the output storage areas, the insert-CBC flag is one in the last TIDAW used to specify the storage containing the TCMI, the chain-command bit is one in the transport command DCW that specifies the TCMI, and a subsequent DCW specifies the transfer of a TCMI or output data. Note that when a transport command specifies the transfer of a TCMI to a device and the TCMI is extended by 4 reserved bytes because all of the preceding conditions are met, the 4 reserved bytes are not included in the data-count value in the transport command DCW but are included in the following: the count value in the last TIDAW used to specify the storage containing the TCMI, the output-count value in the TCW and the transport-count value in the associated TCCB (for unidirectional data transfers or the write-count value in the associated TCCB for bidirectional transfer).
  • For example, data counts for an output operation (the TCW write bit 154 is one and the TCW read bit 152 is zero) in which the TCW 140 does not specify indirect addressing (the TCW output TIDA field in the TCW flags field 142 is zero) are determined as follows. The TCW Output Count 158 is the sum of the DCW Data Count 210 values in each DCW 202 in the TCA 170 of the TCCB 172. The TCAT 182 Transport Count (e.g., the DL field 186) is the sum of the DCW Data Count 210 values in each DCW 202 in the TCA 170, rounded to four, plus four. In one embodiment, this count value is rounded to four to account for any padding bytes that have been added to the last DCW so that the last DCW has a 4-byte length and ends on a word boundary. The addition of four is used to account for a four-byte CBC word that is added to the end of the last DCW (e.g., LRC 184).
  • In another example, data counts for an output operation (the TCW write bit 154 is one and the TCW read bit 152 is zero) in which the TCW 140 does specify indirect addressing (the TCW output TIDA field in the TCW flags field 142 is one) are determined as follows. The TCW Output Count 158 is the sum of the DCW Data Count 210 values in each DCW 202 in the TCA 170 and the length of any TCMI data blocks (e.g., TCAX 220), plus the size of any TCMI reserved bytes, plus the total of any CBC words and padding bytes specified by a TIDAW. The TCMI length may be taken from the DCW count 210 values in DCWs specifying TCMI. The TCAT 182 Transport Count (e.g., the DL field 186) is the sum of the of the DCW Data Count 210 values and the length of any TCMI data blocks, plus the size of any TCMI reserved bytes and the total of any TIDAW-specified CBC words and padding bytes, rounded to four, plus four. In one embodiment, this count value is rounded to four to account for any last padding bytes and is added to four to account for last CBC, as described above.
  • In another example, data counts for a bi-directional operation (the TCW write bit 154 is one and the TCW read bit 152 is one) in which the TCW 140 does not specify indirect addressing (the TCW output TIDA field in the TCW flags field 142 is zero) are determined as follows. The TCW Output Count 158 is the sum of the Write DCW Data Count 210 values in each Write DCW 202 in the TCA 170 and the length of any TCMI data blocks (e.g., TCAX 220). The TCMI length may be taken from the DCW count 210 values in the DCWs specifying TCMI. The TCAT 182 Transport Count (e.g., the DL field 186) is the sum of the of the Write DCW Data Count 210 values and the length of any TCMI data blocks, rounded to four, plus four. In one embodiment, this count value is rounded to four to account for any last padding bytes and is added to four to account for last CBC, as described above.
  • In another example, data counts for a bi-directional operation in which the TCW 140 does specify indirect addressing are determined as follows. The TCW Output Count 158 is the sum of the Write DCW Data Count 210 values in each Write DCW 202 in the TCA 170 and the length of any TCMI data blocks (e.g., TCAX 220), plus the size of any TCMI reserved bytes, plus the total of any CBC words and padding bytes specified by a TIDAW. The TCMI length may be taken from the DCW count 210 values in DCWs specifying TCMI. The TCAT 182 Transport Count (e.g., the DL field 186) is the sum of the Write DCW Data Count 210 values and the length of any TCMI data blocks, plus the size of any TCMI reserved bytes and the total of any TIDAW-specified CBC words and padding bytes, rounded to four, plus four. In one embodiment, this count value is rounded to four to account for any last padding bytes and is added to four to account for last CBC, as described above.
  • In one embodiment, TCMI includes interrogate information (via an Interrogate DCW), a CBC-Offset Block (via a Transfer-CBC-Offset Block DCW) and a TCA extension (via a Transfer-TCA Extension DCW).
  • FIG. illustrates an embodiment of data specified by one type of transport-command DCW, referred to as a Transfer TCA Extension (TTE) command, which is included in a TCA 180 of a TCCB 170 and specifies a TCA extension (TCAX) 220 that is to be transferred to a control unit 118. The TCAX is considered a logical extension of the TCA 180. For some devices 116, the list of DCWs 202 associated with an I/O operation exceeds the number of DCWs that can be accommodated in the TCA 180. In such an instance, a TTE DCW may be included at the end of the TCW 140, which specifies a TCAX 220 that is transferred as output data (e.g., in a data-transport IU). The content of the TTE DCW may include a command code that includes the transfer-TCA extension command (e.g., value of 50 hex)
  • For example, a TCA 180 is variable in length with a maximum size of 240, and a DCW is 8 bytes. Thus, in this example, a maximum of 30 DCWs may be transmitted in a TCCB 170. However, for DCWs 202 that specify control commands that require control data, the control data immediately follows each DCW 202 in the TCCB. Thus, TCCBs 170 containing such commands are limited to less than 30 DCWs. The TTE DCW may be used to specify additional DCWs needed for the I/O operation that do not fit in the TCA 180.
  • As shown in FIG. 13, The TCA Extension (TCAX) is a variable-length area that is the logical continuation of the TCA 180 in another transport-command IU or TCCB, and includes a list of DCWs and associated control data. The TCAX contains one or more additional DCWs and associated control data for a TCW I/O operation (in addition to those transferred in an initial TCCB), and can be sent in another TCCB or in a transport-data IU to extend a list of DCWs required for an I/O operation. In one embodiment, the length of the TCAX is an integral multiple of 4.
  • As shown in FIG. 13, in one embodiment, the TCAX 220 includes a DCW 202 and/or control data for a previous DCW 202. When the last information in the TCAX 220 is a DCW 202, the end of that DCW 202 defines the end of the meaningful information in the TCAX 220. When the last information in the TCAX 220 is control data and the control data ends on a 4-byte boundary, the end of the control data defines the end of the meaningful information in the TCAX 220. When the last information in the TCAX 220 is control data and the control data does not end on a 4-byte boundary, padding bytes are appended to the control data to reach a 4-byte boundary and the end of the padding bytes define the end of the meaningful information in the TCAX 220. When the size of the meaningful information in the TCAX 220 divided by four is an odd number, there are no reserved bytes; otherwise, the four bytes immediately following the meaningful information in the TCAX 220 are reserved and should contain zeros. When control data for the last DCW 202 in the TCA 180 is contained in the TCAX 220, that control data is the first data in the TCAX 220. Additional DCWs and control data in the TCAX 220 are processed as defined for the TCA 180.
  • In one embodiment, when a TCOB DCW (described further below) is not present in the TCA 180, the TTE DCW is the first DCW 202 in the TCA 180. When a TCOB DCW is present in the TCA 180, the TTE DCW is the second DCW 202 in the TCA 180. The TTE DCW data count specifies the length of the TCAX 220 and may be an integral multiple of four bytes. The TTE DCW control-data count is zero and the chain command flag in the TTE DCW is set to one. The TTE DCW data does not include the TCAX CRC or TCAX pad bytes.
  • A TTE command (TTE DCW) should be sent to a device that indicates support for the TTE command and is sent when the TCA length has a certain maximum (e.g., 60 words) and the control data for the last DCW in the TCA extends beyond the last byte in the TCA, or the TCA length is greater than, e.g., 58 words, and one or more additional DCWs are required for the I/O operation. When a COB is provided in the write transport-data IU, the TCAX shall follow the COB CRC. When a COB is not provided, the TCAX shall be sent in the first write transport-data IU of the I/O operation.
  • Another type of DCW is a Transfer CBC-Offset Block (TCOB) DCW, which is a command that transfers a CBC Offset Block (COB) to a control unit. CBC data refers to control block checking data that is used to verify that the correct amount of input or output data is being transferred in an I/O operation. In one embodiment, the CBC data is cyclical redundancy check (CRC) data, the COB is a CRC Offset Block, and the TCOB DCW is a Transfer CRC-Offset Block DCW. Generally, a cyclic redundancy check (CRC) is an error-detecting code configured to detect accidental changes to raw data being sent between a channel 128 and a control unit 118. A CRC-enabled device (e.g., the channel 128) calculates a short, fixed-length binary sequence for each block of data to be sent or stored and appends it to the data, forming a codeword or “CRC word”. For example, when CRC generation is provided, the channel 128 generates a CRC on the data sent and inserts the value calculated at the end of the last data byte. When a CRC word is received or read, the receiving device (e.g., the control unit 118) either compares its check value with one freshly calculated from the data block, or equivalently, performs a CRC on the whole codeword and compares the resulting check value with an expected residue constant. If the check values do not match, then the block contains an error in the transferred data. Although the CBC data is described in the embodiments herein as CRC data, it is not so limited.
  • An exemplary TCOB DCW specifies that a COB is transported to a device. This exemplary TCOB has a command code that contains a transfer CRC-Offset Block command (e.g., a value of 60 hex). The chain-command flag is one. When the CD Count 208 of the TCOB DCW is not zero, the COB immediately follows the TCOB DCW in the TCA 180 and the CD Count 208 specifies the number of CRC Offsets in the COB multiplied by four. When the CD Count 208 is zero, the COB is specified as TCMI in the output data, the location of the COB is specified by the output-data-address field 146 in the TCW, and the count field specifies the number of CRC offsets in the COB multiplied by four.
  • As shown in FIG. 14, a COB 222 specifies the location of intermediate CRC words within the transport data for a write or read data transfer (e.g., in a transport-data IU). In one embodiment, a COB is provided when the first DCW 202 in a TCA 180 contains the TCOB command, i.e., is a TCOB DCW. Intermediate CRC offsets are CRC words located between data in a data transfer IU and located before the end of the IU. The COB 222 contains a list of 1-word values, referred to as CRC Offsets 224, each of which identify the byte offset of each intermediate CRC word in the transport data. For example, the COB is a variable-length control block that includes a list of 4-byte entries, each of which identifies the offset of a CRC specified by a TIDAW to be inserted in the output data.
  • In the embodiment shown in FIG. 14, the COB 222 includes 1 to N+1 words (CRC Offset words 224) of intermediate-CRC offsets. If the COB 222 is provided in a transport-data IU, then the COB may also includes 0 or 1 words of pad bytes and 1 word of CRC. Pad bytes may be provided so that the word containing the CRC will be on a word boundary that is not on a doubleword boundary. The last word of the COB shall contain a CRC that covers intermediate CRC offsets 0 through N and the pad word, if present. If the COB is provided as control data for the TCOB DCW, then there shall be no COB padding or CRC and the control-data count shall be equal to 4 times the number of intermediate-CRC-offset fields in the COB.
  • For write operations, the TCOB DCW specifies that a COB is transported to a device 116. The TCOB DCW command code includes the TCOB command which is a value of, e.g., 60 hex. The location of the COB is determined by the control-data count and may be provided in either the first write transport-data IU of an I/O operation or as control data following the TCOB DCW of an I/O operation. For example, when the CD count of the TCOB DCW is not zero, the COB 222 immediately follows the TCOB DCW in the TCA 180 and the CD count specifies the number of CRC offsets in the COB multiplied by 4. When the CD count is zero, the COB 222 is specified as TCMI that is transferred with the output data, and the location of the COB is specified by the output-data-address field 144 in the TCW 140.
  • Each intermediate-CRC offset 224 in the COB 222 indicates the relative offset, in bytes, from the first byte of data in a transport-data IU. If the COB 222 is provided in a transport-data IU, the first byte of data for the write transfer is either the first byte following the COB CRC if a TCAX 220 is not being provided or the first byte following the TCAX CRC if a TCAX is being provided. If the COB is provided in the TCA 180 as DCW control data, the first byte of data for the write transfer is either the first byte in the transport-data IU if a TCAX 220 is not being provided or the first byte following the TCAX CRC if a TCAX 220 is being provided. When provided in a transport-data IU, the COB is provided in the first write transport-data IU of an I/O operation.
  • Yet another type of transport-command DCW is an interrogate DCW that is used to determine the state of a TCW I/O operation at a device 116. The interrogate command does not initiate an operation at the device 116, does not affect the state of the device 116 and does not reset allegiances associated with the device 116 and an associated logical path. An exemplary interrogate DCW includes an interrogate command code (e.g., contains a value of 40 hex). With the exceptions of the command code, SLI flag, count and CD-count fields, all other fields in the DCW should contain zeros, otherwise a device-detected program-check condition. If the CD count of the interrogate DCW is greater than zero, interrogate data is specified.
  • An interrogate operation is performed on a logical path and device 116 that has a TCW I/O operation in progress in order to obtain information regarding the state of the operation at the device 116. In one embodiment, the TCCB 170 for an interrogate operation includes a single DCW with an interrogate device command code (e.g., X′40). The TCAH 178 for an interrogate operation may contain the R bit set to one to specify a read data transfer for the operation. An interrogate operation is recognized at the control unit 118 when the control unit 118 accepts a transport-command IU that specifies the interrogate command. When an interrogate operation has been recognized at the control unit 118 and the control unit 118 is able to successfully perform the interrogate command, the control unit 118 may provide status in a transport-response IU that includes interrogate extended status describing the state of the logical path and device address specified by the interrogate transport-command IU.
  • Referring to FIG. 15, an embodiment of a method of performing a transport mode I/O operation 300 is shown. The method includes one or more stages 301-305. In one embodiment, the method includes the execution of all of the stages 301-305 in the order described. However, certain stages may be omitted, stages may be added, or the order of the stages changed.
  • In stage 301, the host computer (e.g., the OS 110) executes an instruction (e.g., START SUBCHANNEL) that causes an ORB to be transferred to a channel subsystem 114, that specifies a TCW 140. In one embodiment, program-check conditions related to the validity of TCW fields specific to capturing status and transporting a specified TCCB 170 are checked by the channel subsystem 114 to determine whether to transport the TCCB 170 to an I/O device 116. If such a program-check condition exists, the TCCB 170 is not transported and the program-check condition is recognized. For example, the TCCB-address field 148 is checked that it designates an available storage location. If the TCCB-TIDA flag is one, the TCCB-address field 148 is also checked that it designates an address that is on a quadword boundary. In another example, a program check condition is recognized if the sum of the amount of output data to be transferred (e.g., data for each DCW in the TCA and/or TCAX, plus the size of the reserved areas in any TCMI data blocks and any TIDW-specified CBC and padding bytes) does not equal the value in the TCW Output Count field 158. Additional program check conditions are further described below.
  • In stage 302, a TCW I/O operation is initiated with an I/O device (via, for example, a control unit 118) when a channel 128 transfers a transport-command IU 172 that includes a control block, such as a transport-command-control block (TCCB) 170 and associated control information for a TCW 140 to a selected device 116. In one embodiment, information associated with the execution of an I/O operation and the operation of a device (e.g., commands, input data and output data) is transferred between the channel 128 and the control unit 118 as Information Units (IUs). In one embodiment, the IUs are in the form of SB-4 Information Units (IUs).
  • In one embodiment, IUs or other messages are sent between the channel and the control unit via one or more exchanges. An exchange pair consisting of two unidirectional exchanges, one used by a channel 128 to send IUs and one used by a control unit 118 to send IUs, are required for all SB-4 link-control functions and for all SB-4 device-level functions that are executed in command mode. A single bi-directional exchange, referred to as a transport exchange, is used for device-level functions executed in transport mode. IUs that a channel 128 sends during the execution of an SB-4 link-control function or the execution of an SB-4 device-level function in command mode are restricted to one exchange, and IUs which a channel receives during the operation are restricted to a different exchange. The exchange on which the channel 128 sends IUs is referred to as the outbound exchange, and the exchange on which the channel 128 receives IUs is referred to as an inbound exchange. When both an outbound exchange and an inbound exchange simultaneously exist between a channel 128 and a control unit 118 for the execution of the same link-level or device-level function, an exchange pair is said to exist, and the control unit 118 is said to be connected to the channel 128. A channel program which is executed in a single connection uses only one exchange pair. If the connection is removed by the closing of the exchanges during the channel program, a new exchange pair is generated to complete the channel program. A channel 128 can initiate an exchange pair by sending an IU which opens a new exchange (or, an initiation IU) as an unsolicited command or unsolicited control information category. A control unit 118 can initiate an exchange pair by sending an initiation IU as an unsolicited control or unsolicited data information category.
  • UIs, which a channel and control unit send during the execution of an I/O operation that is performed in transport mode are restricted to a single, bi-directional exchange referred to as a transport exchange. A channel 128 opens a transport exchange by sending a transport-command IU as an unsolicited command category (an Initiation IU). A channel 128 may open multiple transport exchanges, each for a different device 116 or for the same device 116 on different logical paths. A new transport exchange may be opened for a specific device on a logical path when a transport exchange already exists for that device and logical path to perform an interrogate operation; otherwise, the channel 128 waits for the existing transport exchange or exchange pair to be closed before initiating a new transport exchange for the device on the logical path.
  • In stage 303, the control unit 118 receives the TCCB 170 and transport-command IU 172, and may accept the TCCB 170 if certain conditions are met. When a transport-command IU 172 is accepted, the TCCB 170 is considered current at the control unit 118 until execution of the TCCB 170 at the control unit 118 is considered completed. If the transport-command IU 172 is not accepted because of an error condition, a transport-response IU is returned to the channel 128 with an initial status flag set to one to indicate that the error occurred prior to initiating execution of the TCCB 170 at the device 116. The control unit 118 may provide error information in status and I/O extended status fields in the transport-response IU (described below) to identify the transport-command IU error. In one embodiment, the exemplary conditions described below should be satisfied in order for the transport-command IU 172 to be accepted at the control unit 118:
  • 1) The transport-command IU satisfies the following integrity checks:
  • a) For control units that do not support bidirectional operations, the L1 field in the TCH plus 8 shall specify an amount of data that is equal to the amount of data received by the control unit for the transport-command IU, otherwise, a transport-command IU integrity error due to a data count error shall be recognized;
  • b) For control units that support bidirectional operations, the L1 field in the TCH plus either 8 or 9 shall specify an amount of data that is equal to the amount of data received by the control unit for the transport-command IU, otherwise, a transport-command IU integrity error due to a data count error shall be recognized; and
  • c) The LRC field in the TCCB shall be valid, otherwise a transport-command IU integrity error due to invalid LRC error shall be recognized.
  • 2) The specified logical path shall be established, otherwise a logical-path-not-established error shall be recognized;
  • 3) For those commands that require the device to be installed and ready, the device address shall specify a device that is installed and ready, otherwise an address-exception condition shall be recognized;
  • 4) The R and W bits shall not both be set to one in the TCH if bidirectional data transfer is not supported by the control unit or the transport-command IU does not contain the BRDL field; otherwise a TCH content error shall be recognized;
  • 5) The TCCB in the transport-command IU shall satisfy all of the following conditions, otherwise, a TCCB content error shall be recognized:
  • a) The L2 field shall specify a length that is exactly 8 bytes greater than the L1 field and contain a value that is at least 20 bytes and not more than 252 bytes;
  • b) Byte 1 of word 0 of the TCAH shall be zero;
  • c) The format control field in the TCAH shall be equal to hex ‘7F’;
  • d) The service-action code in the TCAH shall contain a valid value (see 8.13.4.4);
  • e) If the R and W bits are both set to zero, the data-length (DL) field shall be zero; and
  • 6) If another TCW I/O operation is in progress for the logical path and device address specified in the transport-command IU, the service-action code shall specify hex ‘1FFF’ and the command code in the first DCW of the TCA shall specify the interrogate command code, otherwise a non-interrogate-second-operation error shall be recognized.
  • In one embodiment, the channel 128 considers a connection to exist when the transport-command IU 172 is sent, and the control unit 118 considers a connection to exist when the transport-command IU 172 is accepted. The channel 128 is thus not aware of whether the control unit 118 has accepted the TCCB 170 or of the progress of the I/O operation at the device 116 until the I/O operation is terminated by the control unit 118 with a transport-response IU. In one embodiment, the channel 128 can set a time window for which to receive a response from the control unit, so that if the channel does not receive a transport-response IU within the window, the channel recognizes a transport command timeout.
  • In stage 304, when the TCCB 170 has been accepted, the control unit 118 processes the TCA 180 and executes each DCW 202. The DCW 202 being executed is recognized as the current DCW. A DCW 202 becomes current when it is the first DCW of a transport mode program (i.e., the first DCW in a TCCB) and has been selected by the I/O device 116 for execution or when, during command chaining, a subsequent DCW 202 takes over control of the I/O operation. The first DCW to be executed may be considered to be located at offset zero of the TCA 180 in the TCCB 170. Each additional DCW in the channel program is located in the TCA 180 (or in a TCAX 220) and is used when the DCW is needed by the I/O device 116.
  • Command chaining is controlled by the DCW chain command (CC) flag in the DCW. This flag specifies the action to be taken upon the exhaustion of the current DCW. Chaining takes place between successive DCWs within the TCA. When a TCAX is specified, chaining also takes place between the last DCW in the TCA and the first DCW in the TCAX, and between successive DCWs within the TCAX. When the current DCW specifies command chaining and no unusual conditions have been detected during the operation, the completion of the current DCW causes the next DCW to become the current DCW and be executed by the device. If a TCAX is specified and the offset of the next DCW is past the end of the TCA, chaining continues with the first DCW of the TCAX whose TCAX offset is determined by subtracting the TCA length from the calculated offset. Thus, command chaining proceeds in ascending order of TCA offsets, and then TCAX offsets when a TCAX is specified. If a condition such as attention, unit check, unit exception, or incorrect length has occurred (unless a SLI field 214 in the DCW is activated), the sequence of operations is concluded, and the status associated with the current operation causes an interruption condition to be generated. The new DCW in this case is not executed.
  • Data that is requested to be transferred via the I/O operation are sent between the channel 128 and control unit 118 via one or more transport-data IUs during processing of the DCWs 202 in a TCCB 170. A read operation performs only a read data transfer, a write operation performs only a write data transfer and a bi-directional operation may perform both a read and write data transfer.
  • Referring to FIG. 16, for a write or bidirectional operation, the channel 128 sends one or more transport-data IUs 310 to the control unit 118 to transfer write data 312 for the operation. For a read or bidirectional operation, the control unit 118 sends at least one transport-data IU 314 to the channel 128 to transfer read data 316 specified for the operation. Pad bytes 318 may be included in the last word of a data area for which CRC is to be calculated and are used to pad the data area to the next word boundary when the data area to be covered is not an integral number of data words. This applies to data areas to be covered by COB, intermediate and final CRC. The value used for a pad byte is model dependent.
  • A final CRC field 320 is included in a transport- data IU 310, 314 when the transport-data IU is the last transport-data IU sent by the channel 128 or control unit 118 for a TCW I/O operation. In one embodiment, the final-CRC field 320 includes a word-aligned 32-bit redundancy-check code. For read or write operations, the DL field in the TCCB 170 specifies the amount of data to be transferred during an operation, which may includes all required pad and CRC bytes. For bidirectional operations, the DL field in the TCCB 170 specifies the amount of data to be transferred for the write data transfer portion of the operation and the BRDL field specifies the amount of data to be transferred for the read data transfer portion of the operation. These amounts may include all required pad and CRC bytes.
  • During a write data transfer, data is transferred in one or more transport-data IUs 310 to the control unit 118 on the transport exchange associated with the TCW I/O operation. In one embodiment, except for the first write transport-data IU 310 of an operation, the channel 128 requires a transfer-ready IU from the control unit 118 prior to sending each transport-data IU 310. The control unit 118 may request additional data by sending additional transfer-ready IUs until it has requested all the data specified by the DL field 186 of the TCCB 170 for the write operation. For a write operation, the next IU sent by the control unit 118 following completion of the data transfer specified by the DL field in the TCCB is a transport-response IU. For a bidirectional operation, the next IU sent by the control unit 118 following completion of the data transfer specified by the DL field in the TCCB may be a transport data IU or a transport-response IU.
  • During a read data transfer, data is transferred in one or more transport-data IUs 314 to the channel 128 on the transport exchange associated with the TCW I/O operation. The amount of data sent in each transport-data IU is determined by the control unit 118 and may be set to any value as long that the total amount of data transferred in all transport-data IUs 314 for the operation does not exceed the value in the DL field 186 or, for bidirectional operations, the value in the BRDL field 188. For read operations, if the quantity of data sent by the control unit is less than the DL field in the TCCB, the DL residual count in the transport-response IU shall be the difference between the quantity of data sent by the CU and the DL field in the TCCB. The channel recognizes a device-level protocol error if the residual count provided by the control unit in the transport-response IU does not match the difference between the DL and the number of bytes actually received by the channel. For bidirectional operations, if the quantity of data sent by the control unit is less than the BRDL field in the TCCB, the BRDL-residual count in the transport-response IU shall be the difference between the quantity of data sent by the CU and the BRDL field in the TCCB. The channel recognizes a device-level protocol error if the residual count provided by the control unit in the transport-response IU does not match the difference between the BRDL and the number of bytes actually received by the channel.
  • As shown in FIG. 16, one or more intermediate CRC words 320 may be present in a transport-data IU 310 sent by the channel 128. The intermediate CRC 320 words provide CRC checking of data areas prior to transmission of the entire data area specified by the TCA 180. A COB CRC word 322 may be present in a transport-data IU 310 when a COB 222 is being transferred in the transport-data IU.
  • Referring again to FIG. 15, in stage 305, the TCW I/O operation is ended by either the channel 128 or the control unit 118. The channel 128 may initiate the ending of a TCW I/O operation as the result of an abnormal condition or a program-initiated termination. The control unit 128 may initiate the ending of the operation as the result of the completion of the execution of the operation or as the result of an abnormal condition detected during the execution of the command. The control unit 128 may initiate the end of a TCW I/O operation by sending a transport-response IU or, in the case of certain errors, by aborting the exchange. In one embodiment, the control unit 118 may initiate the ending of a TCW I/O operation under any of the following circumstances: all of the DCWs 202 in the TCA 180 (and a TCAX if specified) having been executed; an incorrect-length condition having been detected for a DCW when the DCW-incorrect length facility is supported and the SLI flag 214 is set to zero; a unit check condition has been detected; an abnormal condition such as a transport error; or another error was recognized that required the exchange to be aborted.
  • Referring to FIG. 17, in one embodiment, when an I/O operation or sequence of I/O operations initiated by the execution of START SUBCHANNEL is ended, the channel subsystem and the device generate status conditions. The generation of these conditions can be brought to the attention of the program by means of an I/O interruption or by means of the execution of a TEST PENDING INTERRUPTION instruction. The status conditions, as well as an address and a count indicating the extent of the operation sequence, are presented to the program in the form of a subchannel-status word (SCSW) 400. The SCSW 400 is stored in an interruption-response block (IRB) 402 during the execution of a TEST SUBCHANNEL instruction. When a transport-mode IRB is stored, additional information describing the status of the operation is also stored in the transport-status block.
  • Normally an I/O operation is being performed until the device signals primary interruption status. Primary interruption status can be signaled during initiation of an I/O operation, or later. An I/O operation can be terminated by the channel subsystem performing a clear or halt function when it detects an equipment malfunction, a program check, a chaining check, a protection check, or an incorrect-length condition, or by performing a clear, halt, or channel-path-reset function as a result of the execution of CLEAR SUBCHANNEL, HALT SUBCHANNEL, or RESET CHANNEL PATH instructions, respectively. I/O interruptions provide a means for the CPU to change its state in response to conditions that occur at I/O devices or subchannels. These conditions can be caused by the program, by the channel subsystem, or by an external event at the device.
  • The conditions causing requests for I/O interruptions to be initiated are called I/O-interruption conditions. When an interruption condition is recognized by the channel subsystem, it is indicated at the appropriate subchannel. The subchannel is then said to be status pending. The subchannel becoming status pending causes the channel subsystem to generate an I/O interruption request. An I/O-interruption request remains pending until it is accepted by a CPU in the configuration, is withdrawn by the channel subsystem, or is cleared by means of the execution of a TEST PENDING INTERRUPTION, TEST SUBCHANNEL, or CLEAR SUBCHANNEL instruction, or by means of subsystem reset. When a CPU accepts an interruption request and stores the associated interruption code, the interruption request is cleared. When the pending interruption is cleared by the execution of TEST PENDING INTERRUPTION, the subchannel remains status pending until the associated interruption condition is cleared when TEST SUBCHANNEL or CLEAR SUBCHANNEL is executed or when the subchannel is reset.
  • An I/O-interruption condition is normally cleared by means of the execution of a TEST SUBCHANNEL instruction. If TEST SUBCHANNEL is executed, designating a subchannel that has an I/O-interruption request pending, both the interruption request and the interruption condition at the subchannel are cleared. The interruption request and the interruption condition can also be cleared by CLEAR SUBCHANNEL. A device-end status condition generated by the I/O device and presented following the conclusion of the last I/O operation of a start function is reset at the subchannel by the channel subsystem without generating an I/O-interruption condition or I/O-interruption request if the subchannel is currently start pending and if the status contains device end either alone or accompanied by control unit end. If any other status bits accompany the device-end status bit, then the channel subsystem generates an I/O-interruption request with deferred condition code 1 indicated. When an I/O operation is terminated because of an unusual condition detected by the channel subsystem during the command-initiation sequence, status describing the interruption condition is placed at the subchannel, causing it to become status pending. If the unusual condition is detected by the device, the device-status field of the associated SCSW identifies the condition. When command chaining takes place, the generation of status by the device does not cause an interruption, and the status is not made available to the program.
  • When the channel subsystem detects any of the following interruption conditions, it initiates a request for an I/O interruption without necessarily communicating with, or having received the status byte from, the device:
  • 1) A programming error associated with the contents of the ORB passed to the subchannel by the previous execution of START SUBCHANNEL;
  • 2) A suspend flag set to one in the first CCW fetched that initiates a CCW channel program execution for either START SUBCHANNEL or RESUME SUBCHANNEL, and suppress suspended interruption not specified in the command-mode ORB; or
  • 3) A programming error associated with the first CCW, TCW, TIDAW, TCCB fetch, data fetch, IDAW, or MIDAW.
  • These interruption conditions from the subchannel, except for the suspended condition, can be accompanied by other subchannel-status indications, but the device-status indications are all stored as zeros.
  • The channel subsystem issues the clear signal to the device when status containing unit check is presented to a subchannel that is disabled or when the device is not associated with any subchannel. However, if the presented status does not contain unit check, the status is accepted by the channel subsystem and discarded without causing the subchannel to become status pending.
  • The subchannel-status word (SCSW) 400 provides to the program indications describing the status of a subchannel and its associated device. When a transport mode IRB 402 is stored, additional information describing the status of the operation and the associated device may also be stored in the transport-status block associated with the operation. If performance of a halt, resume, or start function has occurred, the SCSW may describe the conditions under which the operation was concluded.
  • In one embodiment, the SCSW is stored when TEST SUBCHANNEL is executed and the designated subchannel is operational. The SCSW is placed in words 0-2 of the IRB that is designated as the TEST SUBCHANNEL operand. When STORE SUBCHANNEL is executed, the SCSW is stored in words 7-9 of a subchannel-information block.
  • The SCSW includes various fields, such as a Deferred Condition Code (CC). The deferred condition code, if not zero, is used to indicate whether conditions have been encountered that preclude the subchannel becoming subchanneland-device active while the subchannel is either start pending or suspended. In one embodiment, when deferred condition code 1 is set, the secondary-status bit is one, and the primary-status bit is zero, the status present may be related to a command-mode channel program specified by the START SUBCHANNEL instruction (or implied by the RESUME SUBCHANNEL instruction) that preceded the most recently executed START SUBCHANNEL and that most recently executed START SUBCHANNEL specified a transport-mode channel program. For such a case, status modifier may also be one in the device-status field.
  • A Subchannel-Status Field is included in the SCSW 400 and is used to indicate aubchannel-status conditions by the channel subsystem. For example, the subchannel-status field is contained in bit positions 8-15 of word 2 of the SCSW. Subchannel-status conditions are detected and indicated in the SCSW by the channel subsystem. Except for the conditions caused by equipment malfunctioning, they can occur only while the channel subsystem is involved with the performance of a halt or start function. The subchannel-status field is meaningful whenever the subchannel is status pending with any combination of primary, secondary, intermediate, or alert status. When the subchannel is status pending with deferred condition code 3 indicated, the contents of the subchannel-status field are not meaningful.
  • An exemplary subchannel status condition is an Incorrect length condition, which occurs when the number of bytes contained in the storage areas assigned for the I/O operation is not equal to the number of bytes requested or offered by the I/O device. When the FCX-incorrect-length-indication facility is not installed and an incorrect-length condition is detected, the processing of the transport-mode channel program is terminated with program-check status. When the FCX-incorrect-length-indication facility is installed, the device supports incorrect-length indication, incorrect-length-indication is not being suppressed, and an incorrect-length condition is detected, incorrect length is indicated for one of the following reasons:
  • 1) Long Block on Input: During a read or sense operation, the device attempted to transfer one or more bytes to main storage after the assigned main storage areas were filled, or the device indicated that more data could have been transferred if the count had been larger. The extra bytes have not been placed in main storage. The count in the TSB header (TSH) is zero.
  • 2) Long Block on Output: During a write operation, the device requested one or more bytes from the channel subsystem after the assigned main-storage areas were exhausted, or the device indicated that more data could have been transferred if the count had been larger. The count in the TSH is zero.
  • 3) Short Block on Input: The number of bytes transferred during a read or sense operation is insufficient to fill the main-storage areas assigned to the operation. The count in the TSH is not zero.
  • 4) Short Block on Output: The device terminated a write before all of the information contained in the assigned main-storage areas was transferred to the device. The count in the TSH is not zero.
  • The incorrect-length indication is suppressed when the current DCW has the SLI flag set to one. The incorrect-length indication is not meaningful when the count field of the TSH is not meaningful. Presence of the incorrect-length condition suppresses command chaining unless the SLI flag in the DCW is one.
  • The subchannel-extended-status field is included in the SCSW 400 (e.g., in bit positions 24-31 of word 2 of the SCSW). This field may contain information used to further qualify the reason for any the following conditions, when indicated in the subchannel-status: interface-control check, channel-control check, channel-data check, program check, and protection check. If none of these bits are active in the subchannel-status byte, the fields of the subchannel-extended-status contain no meaningful information. When more than one condition is indicated, the interface-control check takes priority over the other conditions.
  • The subchannel-extended-status field may also include an Interrogate Failed (F) (e.g., at bit 24) operation bit. When set to one, the F bit indicates that an interrogate operation failed because of a program check, channel-control check, or interface-control check.
  • The subchannel-extended-status field may also include a Subchannel-Extended-Status Qualifier (SESQ) (e.g., bits 25-31). When the subchannel-status field indicates program check, interface-control check, channel-subsystem retry failed, protection check, data check, or channel-control check, this field may contain additional information. Exemplary SESQ values and their associated meanings are shown in FIGS. 18A-18B.
  • FIGS. 19-20 illustrate an exemplary transport response IU 330 that may be sent by a control unit 118. The Transport Response IU 330 provides status for a TCW I/O operation, which may include a normal ending status or, when an abnormal condition has been detected, termination status that indicates the cause for abnormal termination of the operation. The transport response IU 330 may also include an extended status field that provides further status for the operation. A transport-response IU may or may not close a transport exchange. In one embodiment, whether or not the exchange has been closed by a transport-response IU is indicated in the FC-FS-3 header. If the transport exchange has not been closed by the transport-response IU, the channel may send a transport-confirm IU that closes the exchange after receiving the transport-response IU.
  • In one embodiment, the transport-response IU 330 includes a SB-4 header 332 followed by a status field 334, a status LRC 344, and an optional extended-status field 346 containing from, e.g., 32 to 64 bytes. When extended status is provided, a 4-byte extended-status LRC field 340 may be provided as the last word of the transport-response IU 330. Pad bytes are added to the extended status to round to the next word boundary if the number of extended-status bytes is not on a word boundary. The SB-4 header 332 has a format similar to that of the transport command IU and is set equal to the SB-4 header in the transport command IU for this exchange.
  • Referring to FIG. 20, an embodiment of the status area 334 is, e.g., 20 bytes and contains information about the TCW I/O operation. A “status flags 1field 336 includes one or more exception codes that are set by the control unit 118 to report an abnormal condition detected during a TCW I/O operation. Exemplary codes include:
  • 0—Device-level exception due to an address-exception condition;
    2—Link-level reject due to a logical-path-not-established condition;
    3—Resetting event notification—a resetting event has occurred on the logical path and the device associated with the transport-command IU. When this code is set in the transport-response IU, the control unit requests status confirmation for the status. If status confirmation is received, the resetting event condition is reset at the device for the logical path; otherwise, the resetting-event condition remains pending;
    4—Device-detected program check/IFCC—the control unit has detected a condition that may result in a program check or IFCC to be reported. Errors that fall into this category include errors that indicate the transport-command IU arrived in a corrupted state (e.g., TCCB integrity error), invalid CRC detected for write data, and receipt of a second I/O operation for a logical path and device address that is not an interrogate operation.
    5—Device-detected program check—the control unit has detected an error in the content of the TCH
  • In one embodiment, the status flags 1 field 336 includes an Incorrect Length (IL) flag 338. When the DCW-incorrect-length facility is supported by the channel and control unit, bit 0 is the IL flag and, when set to one, shall indicate that the TCW I/O operation was terminated due to an incorrect-length condition for the DCW indicated by the DCW offset. An incorrect length is detected by the control unit 118 if the DCW data count does not match the amount of data required by the device for a write DCW or if the DCW data count does not match the amount of data available at the device for a read DCW.
  • In one embodiment, if the DCW 202 includes an SLI flag 214, the IL flag 338 is set to one only when the SLI flag 214 is zero and when the device status includes channel-end status without unit-check status. When the IL flag 338 is set to one in a transport-response IU, the DCW offset identifies the DCW containing the incorrect-length condition and the DCW residual count indicates the amount of data transfer, if any, that was transferred for the incorrect-length DCW. Data transfer, if any, for DCWs that preceded the incorrect-length DCW in the TCA shall have completed and all CRC checking on transferred data shall have been performed as described below.
  • When the DCW containing the incorrect-length condition is a read DCW, the last transport-data IU sent to the channel INCLUDES CRC for all read data transferred to the channel during the TCW I/O operation. If write DCWs preceded the incorrect-length read DCW in the TCA, the data for those write DCWs shall have been received by the control unit and CRC checking shall have been performed on the data. Data for write DCWs in the TCA that follow the incorrect-length read DCW shall be transferred to the control unit as necessary to obtain the CRC for the write data and to perform the CRC checking.
  • The incorrect-length condition is not recognized by an interrogate command, a transfer-CRC-offset command or a TTE command regardless of whether the incorrect length facility is supported by the channel and the control unit.
  • The transport response IU 330 may also include a Data Length Residual Count (DLRC) field 340. For write and bidirectional operations, the DL-residual count is a 32-bit, unsigned binary integer that specifies the difference between the DL field in the transport-command IU and the number of bytes actually received from the channel. For read operations, the DL-residual count is a 32-bit, unsigned binary integer that specifies the difference between the DL field in the transport-command IU and the number of bytes actually sent to the channel.
  • For bidirectional operations, a BRDL residual count field 342 may also be included in the transport-response IU 330. For bidirectional operations, the BRDL-residual count is a 32-bit, unsigned binary integer that specifies the difference between the BRDL field in the transport-command IU and the number of bytes actually sent to the channel.
  • A Status Flags 3 field 344 can be used by the control unit 118 to provide additional information about the associated transport-mode operation. This field may include an Extended Status Sent (ESS) bit to indicate that extended status, including possible sense data, has been sent in the transport-response IU. The extended status includes extended status (ES) Flags that include fields such as an ES Type Code field. Type codes include I/O status (the extended-status area contains valid ending status for the transport-mode I/O operation), I/O Exception (the extended-status area contains information regarding termination of the transport-mode I/O operation due to an exception condition), and Interrogate status (the extended-status area contains status for an interrogate operation).
  • When the ES-type code in the ES Flags is an I/O exception, the ES includes reason codes (RC). Exemplary reason codes include:
  • 1—TCCB integrity error: the control unit has determined that the TCCB arrived in a corrupted state (provided when exception code 4 is indicated in the status flags 1 field);
    2—Invalid CRC detected: invalid CRC was detected on received data (provided when exception code 4 is indicated in the status flags 1 field);
    3—Incorrect TCCB length specification (provided when exception code 5 is indicated in the status flags 1 field);
    4—TCAH specification error (provided when exception code 5 is indicated in the status flags 1 field);
    5—DCW specification error: there is an error with the DCW designated by the DCW-offset field in the extended status (provided when exception code 5 is indicated in the status flags 1 field);
    6—Transfer-direction specification error: the command specified by the DCW designated by the DCW-offset field in the extended status specifies a direction of data transfer that disagrees with the transfer direction specified in the TCH or both the R and W bits are set to one in the TCH and bidirectional data transfer is not supported by the control unit (provided when exception code 5 is indicated in the status flags 1 field);
    7—Transport-count specification error (provided when exception code 5 is indicated in the status flags 1 field);
    8—Two I/O operations active: While an I/O operation is active at the device a second non-interrogate TCCB has been transported to the device for execution. The RCQ field has no meaning. This reason code is provided when exception code 4 is indicated in the status flags 1 field; and
    9—One or more entries in the CRC-offset block indicate that an intermediate CRC is not at a location that is appropriate for the device and/or command being executed provided when exception code 4 is indicated in the status flags 1 field.
  • The Extended Status may also provide a Reason Code Qualifier (RCQ) that provides additional information about the reason(s) for the I/O exception. Different reason code qualifier types may be used for different types of errors, such as TCCB integrity errors, Output Data CRC Errors, Incorrect TCCB Length Specifications, TCAH Specification Errors and DCW Specification Errors. Exemplary RCQs for a TCCB integrity error include:
  • 0—No additional information;
    1—Data Count Error—the amount of data transferred for the transport-command IU is not equivalent to the amount of data specified by the L1 field plus 8 in the TCH for control units that do not support bidirectional operations or is not equivalent to the amount specified by the L1 field plus either 8 or 9 for control units that do support bidirectional operations; and
    2 LRC error—the LRC on the transport-command IU is invalid.
  • Exemplary RCQs for a DCW specification error include:
  • 1—Reserved-field specification error: A reserved field in the DCW that is required to contain zeros contains a non-zero value;
    2—Flags-field command-chaining specification error: The command-chaining bit is one and the offset of the next DCW is such that all or part of the next DCW extends past the end of the TCA, or the command-chaining bit is zero and more than 3 unused bytes remain in the TCA;
    3—Control-data count specification error: The CD count specifies control data past the end of the TCA;
    4—TCOB DCW location error: The first TCOB DCW is not the first DCW in the TCA;
    5—TCOB DCW duplication error: More than one TCOB DCW is specified in the TCA;
    6—TCOB DCW multiple-count specification error: Both the CD count and the DCW data count are either zero or non-zero;
    7—TCOB DCW direction error: A TCOB DCW is specified in the TCA and the W bit in the TCH is zero;
    8—TCOB DCW chaining error: The chain-command bit in the TCOB DCW is zero, i.e., the TCOB DCW is the only DCW in the TCA;
    9—TCOB count-specification error: A TCOB DCW has a nonzero CD count or a data count that is not a multiple of 4;
    10—TTE DCW location error: A TCOB DCW was not specified and a TTE DCW was encountered that was not the first DCW in the TCA or a TCOB DCW was specified and the first TTE DCW encountered was not the second DCW in the TCA;
    11—TTE DCW duplication error: More than one TTE DCW was encountered in the TCA;
    12—TTE DCW CD-count specification error: The control-data count in the TTE DCW specifies a value that is not zero;
    13—TTE DCW data-count specification error: The data count in the TTE DCW specifies a value that is less than 8 or a value that is not a multiple of 4;
    14—TTE DCW direction error: A TTE DCW is specified and the W bit in the TCH is zero;
    15—TTE DCW chaining error: The chain-command bit in the TTE DCW is zero; and
    16—TCAX specification error: A TTE DCW is specified and either of the following is true:
  • The length of the TCA is 58 words or less, or
  • The length of the TCA is 59 words, the last DCW in the TCA specifies control data and the length of the control data extends beyond 59 words, or
  • The length of the TCA is the maximum length of 60 words and the last word in the TCA contains the first word of a DCW.
  • Exemplary RCQs for a Transfer-Direction Specification Error include:
  • 1—Read-direction specification error: The DCW specifies an input operation and the R bit in the TCH is zero;
    2—Write-direction specification error: The DCW specifies an output operation and the W bit in the TCH is zero. Note—A DCW specification is recognized when a TCOB or TTE DCW is specified and the W bit in the TCH is zero;
    3—Read-Write conflict: Both the R and W bits in the TCH are one and the control unit does not support bidirectional operations or the control unit supports bidirectional operations but the transport-command IU did not contain the BRDL field, or both the R and W bits are not one and the transport-command IU contains the BRDL field;
  • Exemplary RCQs for a Transport-Count Specification Error include:
  • 1—Read-count specification error: for read operations, the DL field in the TCCB specifies a value that is not equivalent to the total count of data bytes specified by the DCWs in the TCA plus pad bytes and CRC; for bidirectional operations, the BRDL field in the TCCB specifies a value that is not equivalent to the total count of data bytes specified by the read DCWs in the TCA plus pad bytes and CRC; and
    2—Write-count specification error: The DL field in the TCCB specifies a value that is not equivalent to the total count of data bytes specified by the write DCWs in the TCA plus intermediate pad bytes, intermediate CRC, final pad bytes and final CRC bytes, and if a COB is included in the first transport-data IU of the write data transfer, the count includes the COB, any COB pad bytes and the COB CRC bytes. If a TTE DCW is present in the TCA, the count also includes the TCAX and TCAX CRC bytes.
  • A program check occurs when programming errors are detected by the channel subsystem. For a transport mode operation, programming errors may also be detected by the I/O device 116 and are reported as program checks. A program check condition can be due to any of the following reasons:
  • Invalid TCW Specification: When any of the following conditions is detected, an invalid TCW specification is recognized:
  • 1. A reserved field that is checked for zeros in the TCW does not contain zeros.
    2. A non-zero value is specified in the TCW format field.
    3. The read and write bits in the TCW are both one, bit 10 of the TCW flags field is zero, and either the FCX-bidirectional-data-transfer facility is not installed or the specified device does not support bi-directional data transfers.
    4. The bit 10 of the TCW flags field is zero and the TCCB-length field in a TCW specifies a length that is less than 12 or greater than 244.
    5. Bit 10 of the TCW flags field is one and the write operations (W) bit of the TCW is zero, the read operations (R) bit of the TCW is zero, or both are zero.
    6. Bit 10 of the TCW flags field is one and the designated subchannel is not associated with a control unit that has been configured to transport fibre-channel-services requests.
    When a TTE DCW is used, a device-detected program check is recognized when any of the following conditions exist:
    1. When a TCOB DCW is not specified, the TTE DCW is not the first DCW in the TCA. When a TCOB DCW is specified, the TTE DCW is not the second DCW in the TCA.
    2. The TTE DCW is specified and a write operation is not specified (that is, the W-bit in the TCW is zero).
    3. The chain-command flag in the TTE DCW is zero.
    4. More than one TTE DCW is specified
    5. The control-data-count field in the TTE DCW does not contain zero.
    6. The count field contains less than 8 or a value that is not a multiple of 4.
    7. Any of the following are true for the TCA:
  • The TCA does not contain at least one DCW that is not a transport-command DCW.
  • The TCA contains one or more DCWs that are not transport-command DCWs and the chain-command flag in the last DCW of the TCA is zero.
  • When a TTE DCW is used and additional TCMI and/or output data follows the TCAX, the following should be true; otherwise, a device-detected program check may be recognized:
  • The output-TIDA flag (flags bit 7) in the TCW must be one; or
  • When TIDAWs are used for the transfer of a TCAX and for the transfer of data, the insert-CBC control must be set to one in the last or only TIDAW that is used to transfer the TCAX. When TIDAWs are used for the transfer of only the TCAX, it is not necessary to set the insert-CBC control in the last or only TIDAW.
  • During the processing of a TCA, a TCCB content error may be recognized when any of the following conditions are detected:
  • 1. The first TCOB DCW encountered is not the first DCW in the TCA;
    2. a second TCOB DCW is encountered in the TCA;
    3. a TCOB DCW is encountered in the TCA when the W bit in the TCAH is zero;
    4. a TCOB DCW does not have the chaining flag set;
    5. a TCOB DCW is encountered in which both the CD count and data count are zero;
    6. a TCOB DCW is encountered in which both the CD count and data count are non-zero;
    7. a TCOB DCW is encountered in which the CD count is zero and the data count is not a multiple of 4;
    8. a TCOB DCW is encountered in which the data count is zero and the CD count is not a multiple of 4;
    9. A TCOB DCW is not specified and the TTE DCW is not the first DCW in the TCA or a TCOB is specified and the TTE DCW is not the second DCW in the TCA;
    10. A TTE DCW is encountered in the TCA when the W bit in the TCAH is zero;
    11. A TTE DCW does not have the chaining flag set;
    12. A second TTE DCW is encountered in the TCA;
    13. A TTE DCW is encountered in which the CD count is non-zero;
    14. A TTE DCW is encountered in which the data count is zero or is not a multiple of 4;
    15. A TTE DCW is specified and any of the following is true: the length of the TCA is 58 words or less; the length of the TCA is 59 words, the last DCW in the TCA specifies control data and the length of the control data extends beyond 59 words; or the length of the TCA is the maximum length of 60 words and the last word in the TCA contains the first word of a DCW;
    16. A DCW contains a command that requires control data and the CD count field is zero or contains a value that specifies data past the end of the TCA;
    17. A DCW contains a CD count field that is non-zero and the command does not allow control data to be provided;
    18. During a write operation, the device encountered a command in the TCA that attempted to perform a read data transfer;
    19. During a read operation, the device encountered a command in the TCA that attempted to perform a write data transfer;
    20. The CC bit is zero in a DCW and more than 3 unused bytes remain in the TCA;
    21. The CC bit is one in a DCW and next DCW location is determined to be less than 8 bytes from the end of the TCA indicating and a TCAX has not been provided, or a TCAX has been provided and the next DCW location is determined to be less than 8 bytes from the end of the TCAX;
    22. For a read or bidirectional operation, when a read DCW in the TCA becomes current, the sum of the data counts for all previous read DCWs and the current DCW plus all pad and CRC bytes exceeds the DL field in the TCCB or, for bidirectional operations, exceeds the BRDL field in the TCCB;
    23. For a read or bidirectional operation, when the last DCW in the TCA becomes current, the sum of the data counts for all read DCWs plus all pad and CRC bytes is not equal to the DL field in the TCCB or, for bidirectional operations, is not equal to the BRDL field in the TCCB;
    24. For a write or bidirectional operation, when a DCW in the TCA becomes current, the sum of the data counts for all write DCWs plus all pad and CRC bytes (including all intermediate pad and CRC bytes), and if a COB is included in the transport-data IU, the COB, COB pad and COB CRC bytes, and if a TCAX is present, the TCAX, TCAX pad, and TCAX CRC bytes, exceeds the DL field in the TCCB; or
    25. For a write operation or bidirectional operation, when the last DCW in the TCA becomes current, the sum of the data counts for all write DCWs plus all pad and CRC bytes (including all intermediate pad and CRC bytes), and if a COB is included in the transport-data IU, the COB, COB pad and COB CRC bytes, and if a TCAX is present, the TCAX, TCAX pad, and TCAX CRC bytes, is not equal to the DL field in the TCCB.
  • In one embodiment, prior to performing command mode or transport mode operations, links between the channel subsystem 114 and control units 118 and/or devices 116 are established. Each channel 128 in the I/O system that has a physical connection with one or more control units can be referred to as a “N_Port” that has a unique identifier (a “N_Port_ID”). Likewise, each control unit 118 can also be referred to an a N_Port having an associated N_Port_ID. Both a channel 128 and a control unit 118 may include multiple channel images or control unit images, respectively. Each N_Port includes an address identifier that is assigned during initialization and the performance of a login procedure. Explicit N_Port login may be performed by means of the N_Port login (PLOGI) extended link service during the initialization process. When an N_Port has performed N_Port login with another N_Port, that N_Port is said to be logged in with the other N_Port.
  • In one embodiment, link initialization between the channel subsystem and control units is performed using the process login (PRLI) extended link service (ELS) protocol. General aspects of the PRLI ELS, including the format of the PRLI ELS request and response, are given in FC-LS-2 with specific settings for FC-SB-4 defined in the sections below.
  • During a PRLI procedure, a channel 128 that supports PRLI sends a request to each control unit 118 in its configuration that also supports the process login ELS to determine whether the control unit 118 supports transport-mode operations. In one embodiment, the PRLI request is sent during channel initialization prior to establishing logical paths and may also be sent as the result of a process logout (PRLO). The PRLI ELS is used to exchange process login service parameters between a channel 128 and control unit 118. Parameters may be exchanged between a channel and control unit via a PRLI request and a PRLI response.
  • The PRLI request includes a service parameter page, which may include a Type Code field that identifies the FC-4 protocol (e.g., is set to hex ‘1B’ to indicate the SB-4 protocol). A FC-SB-4 Flags (e.g., Byte 3 of word 3 of the PRLI request page) includes one or more flags described below:
  • 0—Transport Mode Supported. When bit 0 is set to zero, the channel does not support transport-mode operations. When bit 0 is set to one, the channel supports transport-mode operations.
  • 1—Reserved.
  • 2—DCW Incorrect Length (IL) Facility Supported. For example, when an IL flag is active (e.g., when bit 2 is set to one), the DCW IL facility is supported by the channel 128. When bit 2 is set to zero, the DCW IL facility is not supported by the channel 128. The DCW IL facility includes support for the suppress-length-indicator (SLI) flag 214 and the incorrect-length flag 338. When the transport mode-supported bit (bit 0) is equal to zero, bit 2 shall be set to zero.
    5—Bidirectional Data Transfer Supported. When a bi-directional transfer indication is active (e.g., bit 5 is set to one) bidirectional data transfer is supported by the channel 128. When bit 5 is set to zero, bidirectional data transfer is not supported by the channel. This bit is only meaningful when the transport mode-supported bit is equal to one.
    7—First Transfer Ready Disabled Supported. When bit 7 is set to one, first-transfer-ready-disabled operation is supported by the channel. When bit 7 is set to zero, first-transfer-ready disabled operation is not supported by the channel. When the transport-mode-supported bit (bit 0) is equal to zero, bit 7 shall be set to zero.
  • In one embodiment, the PRLI response includes a PRLI Accept Service Parameter Page, which may include a Type Code field that identifies the FC-4 protocol (e.g., is set to hex ‘ 1B’ to indicate the SB-4 protocol), and a FC-SB-4 Flags field (e.g., Byte 3 of word 3) that includes one or more flags defined described below:
  • 0—Transport Mode Supported. When bit 0 is set to zero, the control unit 118 does not support transport-mode operations. When bit 0 is set to one, the control unit 118 supports transport-mode operations.
    2—DCW Incorrect Length (IL) Facility Supported. When bit 2 is set to one, the DCW-incorrect-length (IL) facility is supported by the control unit 118. When bit 2 is set to zero, the DCW IL facility is not supported by the control unit 118. The DCW-incorrect-length facility includes support for the SLI flag 214 and the incorrect-length flag 338. When the transport-mode-supported bit (bit 0) is equal to zero, bit 2 shall be set to zero.
    5—Bidirectional Data Transfer Supported. When a bi-directional data transfer indication is active (e.g., bit 5 is set to one), bidirectional data transfer is supported by the control unit 118. When bit 5 is set to zero, bidirectional data transfer is not supported by the control unit 118. This bit is only meaningful when the transport-mode-supported bit is equal to one.
    7—First Transfer Ready Disabled Supported. When bit 7 is set to one, first-transfer-ready-disabled is supported by the control unit. When bit 7 is set to zero, first-transfer-ready-disabled operation is not supported by the control unit. When the transport-mode-supported bit (bit 0) is equal to zero, bit 7 shall be set to zero.
  • Technical effects and benefits of exemplary embodiments include the ability to transfer transport support data as well as additional commands to the control unit, in addition to I/O commands and device support data located in a TCCB. Technical effects also include the ability to continue processing of DCWs despite detection of an incorrect length condition, which allows a control unit to continue to process I/O commands without the need to terminate an I/O operation. Other technical effects include the ability to transport both input and output data between a channel and a control unit during a single I/O operation.
  • The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, element components, and/or groups thereof.
  • The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
  • As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
  • Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
  • A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
  • Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire line, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
  • Aspects of the present invention are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
  • The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • The flow diagrams depicted herein are just one example. There may be many variations to this diagram or the steps (or operations) described therein without departing from the spirit of the invention. For instance, the steps may be performed in a differing order or steps may be added, deleted or modified. All of these variations are considered a part of the claimed invention.
  • While the preferred embodiment to the invention had been described, it will be understood that those skilled in the art, both now and in the future, may make various improvements and enhancements which fall within the scope of the claims which follow. These claims should be construed to maintain the proper protection for the invention first described.

Claims (27)

1. A non-transitory computer readable medium comprising executable instructions for performing an input/output (I/O) operation at a control unit configured to control an I/O device and configured for communication with a host computer system, the I/O operation initiated by an I/O operation instruction, the computer readable medium readable by a processing circuit for performing a method comprising:
receiving at least one command message specifying an I/O operation at the control unit from a channel subsystem of the host computer system, the at least one command message including one or more device command words (DCWs), each DCW specifying an I/O command, wherein at least one DCW of the one or more DCWs includes a data count and a suppress-length indication (SLI), the SLI configured to instruct the control unit whether to continue to perform the I/O operation based on the control unit detecting an incorrect length condition, the incorrect length condition detected based on the data count not matching an amount of data required to perform the I/O operation command, wherein the data required is one of data available at the control unit for a read operation command and data required by the control unit for a write operation command;
processing at least one of the one or more DCWs; and
returning a transport response message by the control unit to the channel subsystem based on executing or terminating the I/O operation, the transport response message including a status of the I/O operation and an incorrect length (IL) value indicating presence or absence of the incorrect length condition, the IL value being a first IL value based on the SLI being a first SLI value and the data count not matching the amount of data required, the IL value being a second IL value based on the SLI being the first SLI value and the data count matching the amount of data required, the transport response message including at least one residual count field configured to indicate at least one of: i) a difference between the data count and an amount of data received from the channel subsystem and ii) a difference between the data count and an amount of data sent to the channel subsystem.
2. The computer program product of claim 1, wherein the at least one command message includes a TCCB that holds the plurality of DCWs therein, the TCCB specified by a transport command word (TCW) stored in a host system memory.
3. The computer program product of claim 1, wherein the at least one DCW includes a command chaining flag indicating that a subsequent DCW is logically connected to the at least one DCW and is to be performed by the control unit after the control unit executes the at least one DCW.
4. The computer program product of claim 3, wherein the SLI instructs the control unit to continue command chaining and execute the subsequent DCW based on the control unit detecting the incorrect length condition.
5. The computer program product of claim 1, wherein the SLI is a value in an SLI field in the at least one DCW, the value being one instructing the control unit to continue the I/O operation when an incorrect length condition is detected, and the value being zero instructing the control unit to terminate the I/O operation when the incorrect length condition is detected.
6. The computer program product of claim 1, wherein the control unit is configured to detect an incorrect length condition and indicate to the channel subsystem, through the IL value, that the I/O operation was terminated due to an incorrect length condition.
7. The computer program product of claim 5, wherein the SLI field includes a value of one, the at least one DCW is a read DCW, and the computer program product is configured to further perform:
based on a command chaining flag indicating that command chaining is being used for the read DCW and the data count value being greater than an amount of data available at an I/O device, transferring the amount of data by the control unit to the channel subsystem and including one or more pad bytes in the data transfer so that the amount of data transferred for the DCW is equal to the data count value;
based on the command chaining flag indicating that command chaining is not being used for the read DCW and the data count value being greater than the amount of data available at the device, transferring by the control unit only the amount of data or transferring the amount of data with one or more pad bytes so that the amount of data transferred for the DCW is equal to the data count value; and
based on the data count value being less than the amount of data available at the device, transferring an amount of data equal to the data count value to the channel subsystem.
8. The computer program product of claim 5, wherein the SLI field includes a value of one, the at least one DCW is a write DCW, and the computer program product is configured to further perform:
based on a command chaining flag indicating that command chaining is being used for the write DCW and the data count value being greater than an amount of data required by the device, receiving an amount of data from the channel subsystem at the control unit that is equal to the amount of data required by an I/O device;
based on the command chaining flag indicating that command chaining is not being used for the write DCW and the data count value being greater than the amount of data required by the device, receiving at the control unit the amount of data required by the device and receiving additional data until the data count value is exhausted; and
based on the data count value being less than the amount of data required by the device, receiving an amount of data equal to the data count value at the control unit.
9. The computer program product of claim 1, wherein the at least one DCW includes the SLI including an SLI field having a value of one based on the SLI being the second SLI value and a value of zero based on the SLI being the first SLI value, and the control unit is configured to return a transport response message to the channel subsystem based on executing or terminating the I/O operation, the transport response message including the IL value in an incorrect length (IL) field that indicates whether the I/O operation was terminated due to the incorrect length condition, the IL field having a value of one based on the SLI being the first SLI value and the data count not matching the amount of data required, the IL field having a value of zero based on at least one of the SLI being the second SLI value and the data count matching the amount of data required.
10. The computer program product of claim 9, wherein the transport response message includes a DCW Offset field that indicates which of the plurality of DCWs caused the incorrect length condition to be detected.
11. The computer program product of claim 1, wherein the control unit is configured to perform:
receiving a process login (PRLI) request message from the channel subsystem at the control unit, the PRLI request message configured to initialize a link between the channel subsystem and the control unit, the PRLI request message including a header having a value that indicates whether the channel subsystem supports use of the SLI; and
sending a (PRLI) response message by the control unit to the channel subsystem, the PRLI response message including a header having a value that indicates whether the control unit supports use of the SLI.
12. An apparatus for performing an input/output (I/O) operation at a control unit configured to control an I/O device and configured for communication with a host computer system, the I/O operation initiated by an I/O operation instruction, the control unit configured to perform:
receiving at least one command message specifying an I/O operation at the control unit from a channel subsystem of the host computer system, the at least one command message including one or more device command words (DCWs), each DCW specifying an I/O command, wherein at least one DCW of the one or more DCWs includes a data count and a suppress-length indication (SLI), the SLI configured to instruct the control unit whether to continue to perform the I/O operation based on in the control unit detecting an incorrect length condition, the incorrect length condition detected based on the data count not matching an amount of data required to perform the I/O operation command, wherein the data required is one of data available at the control unit for a read operation command and data required by the control unit for a write operation command;
processing at least one of the one or more DCWs; and
returning a transport response message by the control unit to the channel subsystem based on executing or terminating the I/O operation, the transport response message including a status of the I/O operation and an incorrect length (IL) value indicating presence or absence of the incorrect length condition, the IL value being a first IL value based on the SLI being a first SLI value and the data count not matching the amount of data required, the IL value being a second IL value based on the SLI being the first SLI value and the data count matching the amount of data required, the transport response message including at least one residual count field configured to indicate at least one of: i) a difference between the data count and an amount of data received from the channel subsystem and ii) a difference between the data count and an amount of data sent to the channel subsystem.
13. The apparatus of claim 12, wherein the at least one DCW includes a command chaining flag indicating that a subsequent DCW is logically connected to the at least one DCW and is to be performed by the control unit after the control unit executes the at least one DCW.
14. The apparatus of claim 12, wherein the SLI is a value in an SLI field in the at least one DCW, the value being one instructing the control unit to continue the I/O operation when an incorrect length condition is detected, and the value being zero instructing the control unit to terminate the I/O operation when the incorrect length condition is detected.
15. The apparatus of claim 14, wherein the SLI field includes a value of one, the at least one DCW is a read DCW, and the apparatus is configured to perform:
based on a command chaining flag indicating that command chaining is being used for the read DCW and the data count value being greater than an amount of data available at an I/O device, transferring the amount of data by the control unit to the channel subsystem and including one or more pad bytes in the data transfer so that the amount of data transferred for the DCW is equal to the data count value;
based on the command chaining flag indicating that command chaining is not being used for the read DCW and the data count value being greater than the amount of data available at the device, transferring by the control unit only the amount of data or transferring the amount of data with one or more pad bytes so that the amount of data transferred for the DCW is equal to the data count value; and
based on the data count value being less than the amount of data available at the device, transferring an amount of data equal to the data count value to the channel subsystem.
16. The apparatus of claim 14, wherein the SLI field includes a value of one, the at least one DCW is a write DCW, and the apparatus is configured to perform:
based on a command chaining flag indicating that command chaining is being used for the write DCW and the data count value being greater than an amount of data required by the device, receiving an amount of data from the channel subsystem at the control unit that is equal to the amount of data required by an I/O device;
based on the command chaining flag indicating that command chaining is not being used for the write DCW and the data count value being greater than the amount of data required by the device, receiving at the control unit the amount of data required by the device and receiving additional data until the data count value is exhausted; and
based on the data count value being less than the amount of data required by the device, receiving an amount of data equal to the data count value at the control unit.
17. The apparatus of claim 12, wherein the at least one DCW includes the SLI including an SLI field having a value of one based on the SLI being the second SLI value and a value of zero based on the SLI being the first SLI value, and the control unit is configured to return a transport response message to the channel subsystem based on executing or terminating the I/O operation, the transport response message including the IL value in an incorrect length (IL) field that indicates whether the I/O operation was terminated due to the incorrect length condition, the IL field having a value of one based on the SLI being the first SLI value and the data count not matching the amount of data required, the IL field having a value of zero based on at least one of the SLI being the second SLI value and the data count matching the amount of data required
18. The apparatus of claim 17, wherein the transport response message includes a DCW Offset field that indicates which of the plurality of DCWs caused the incorrect length condition to be detected.
19. The apparatus of claim 12, wherein the control unit is configured to perform:
receiving a process login (PRLI) request message from the channel subsystem at the control unit, the PRLI request message configured to initialize a link between the channel subsystem and the control unit, the PRLI request message including a header having a value that indicates whether the channel subsystem supports use of the SLI; and
sending a (PRLI) response message by the control unit to the channel subsystem, the PRLI response message including a header having a value that indicates whether the control unit supports use of the SLI.
20. A method of performing an input/output (I/O) processing operation at a control unit configured to control an I/O device and configured for communication with a host computer system, the I/O operation initiated by an I/O operation instruction, the method comprising:
receiving at least one command message specifying an I/O operation at the control unit from a channel subsystem of the host computer system, the at least one command message including one or more device command words (DCWs), each DCW specifying an I/O command, wherein at least one DCW of the one or more DCWs includes a data count and a suppress-length indication (SLI), the SLI configured to instruct the control unit whether to continue to perform the I/O operation based on the control unit detecting an incorrect length condition, the incorrect length condition detected based on the data count not matching an amount of data required to perform the I/O operation command, wherein the data required is one of data available at the control unit for a read operation command and data required by the control unit for a write operation command;
processing at least one of the one or more DCWs; and
returning a transport response message by the control unit to the channel subsystem based on executing or terminating the I/O operation, the transport response message including a status of the I/O operation and an incorrect length (IL) value indicating presence or absence of the incorrect length condition, the IL value being a first IL value based on the SLI being a first SLI value and the data count not matching the amount of data required, the IL value being a second IL value based on the SLI being the first SLI value and the data count matching the amount of data required, the transport response message including at least one residual count field configured to indicate at least one of: i) a difference between the data count and an amount of data received from the channel subsystem and ii) a difference between the data count and an amount of data sent to the channel subsystem.
21. The method of claim 20, wherein the at least one DCW includes a command chaining flag indicating that a subsequent DCW is logically connected to the at least one DCW and is to be performed by the control unit after the control unit executes the at least one DCW.
22. The method of claim 20, wherein the SLI is a value in an SLI field in the at least one DCW, the value being one instructing the control unit to continue the I/O operation when an incorrect length condition is detected, and the value being zero instructing the control unit to terminate the I/O operation when the incorrect length condition is detected.
23. The method of claim 20, wherein the at least one DCW includes the SLI including an SLI field having a value of one based on the SLI being the second SLI value and a value of zero based on the SLI being the first SLI value, and the method further comprises returning the transport response message including the IL value in an incorrect length (IL) field that indicates whether the I/O operation was terminated due to the incorrect length condition, the IL field having a value of one based on the SLI being the first SLI value and the data count not matching the amount of data required, the IL field having a value of zero based on in at least one of the SLI being the second SLI value and the data count matching the amount of data required.
24. The method of claim 23, wherein the transport response message includes a DCW Offset field that indicates which of the plurality of DCWs caused the incorrect length condition to be detected.
25. The method of claim 20, further comprising:
receiving a process login (PRLI) request message from the channel subsystem at the control unit, the PRLI request message configured to initialize a link between the channel subsystem and the control unit, the PRLI request message including a header having a value that indicates whether the channel subsystem supports use of the SLI; and
sending a (PRLI) response message by the control unit to the channel subsystem, the PRLI response message including a header having a value that indicates whether the control unit supports use of the SLI.
26. The apparatus of claim 12, wherein the control unit is configured to detect an incorrect length condition and indicate to the channel subsystem, through the IL value, that the I/O operation was terminated due to an incorrect length condition.
27. The method of claim 20, further comprising detecting an incorrect length condition and indicating to the channel subsystem, through the IL value, that the I/O operation was terminated due to an incorrect length condition.
US13/173,733 2011-06-30 2011-06-30 Facilitating transport mode input/output operations between a channel subsystem and input/output devices Active US8346978B1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US13/173,733 US8346978B1 (en) 2011-06-30 2011-06-30 Facilitating transport mode input/output operations between a channel subsystem and input/output devices
PCT/EP2012/058159 WO2013000604A1 (en) 2011-06-30 2012-05-03 Facilitating transport mode input/output operations between a channel subsystem and input/output devices
CN201280026319.0A CN103597458B (en) 2011-06-30 2012-05-03 For the method and apparatus of I/O processing
GB1321890.4A GB2505814A (en) 2011-06-30 2012-05-03 Facilitating transport mode input/output operations between a channel subsystem and input/output devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US13/173,733 US8346978B1 (en) 2011-06-30 2011-06-30 Facilitating transport mode input/output operations between a channel subsystem and input/output devices

Publications (2)

Publication Number Publication Date
US8346978B1 US8346978B1 (en) 2013-01-01
US20130007304A1 true US20130007304A1 (en) 2013-01-03

Family

ID=46085910

Family Applications (1)

Application Number Title Priority Date Filing Date
US13/173,733 Active US8346978B1 (en) 2011-06-30 2011-06-30 Facilitating transport mode input/output operations between a channel subsystem and input/output devices

Country Status (4)

Country Link
US (1) US8346978B1 (en)
CN (1) CN103597458B (en)
GB (1) GB2505814A (en)
WO (1) WO2013000604A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2998871A1 (en) * 2014-09-17 2016-03-23 HTC Corporation Portable device and control method therefor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030002492A1 (en) * 2001-06-27 2003-01-02 International Business Machines Corporation Method, apparatus and computer program for informing a requesting device of port configuration changes in a computer network switching device
US20100030919A1 (en) * 2008-07-31 2010-02-04 International Business Machines Corporation Transport control channel program message pairing
US20100030920A1 (en) * 2008-07-31 2010-02-04 International Business Machines Corporation Transport control channel program chain linking

Family Cites Families (217)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US625399A (en) 1899-05-23 And carl werder
GB1264096A (en) 1970-06-27 1972-02-16
US3693161A (en) 1970-07-09 1972-09-19 Burroughs Corp Apparatus for interrogating the availability of a communication path to a peripheral device
US4004277A (en) 1974-05-29 1977-01-18 Gavril Bruce D Switching system for non-symmetrical sharing of computer peripheral equipment
US3943283A (en) 1974-06-17 1976-03-09 International Business Machines Corporation Bidirectional single wire data transmission and wrap control
US4080649A (en) 1976-12-16 1978-03-21 Honeywell Information Systems Inc. Balancing the utilization of I/O system processors
US4207609A (en) 1978-05-08 1980-06-10 International Business Machines Corporation Method and means for path independent device reservation and reconnection in a multi-CPU and shared device access system
US4380046A (en) 1979-05-21 1983-04-12 Nasa Massively parallel processor computer
US4374415A (en) 1980-07-14 1983-02-15 International Business Machines Corp. Host control of suspension and resumption of channel program execution
US4414644A (en) 1981-04-03 1983-11-08 International Business Machines Corporation Method and apparatus for discarding data from a buffer after reading such data
US4455605A (en) 1981-07-23 1984-06-19 International Business Machines Corporation Method for establishing variable path group associations and affiliations between "non-static" MP systems and shared devices
US4497022A (en) 1982-10-19 1985-01-29 International Business Machines Corporation Method and apparatus for measurements of channel operation
US4564903A (en) 1983-10-05 1986-01-14 International Business Machines Corporation Partitioned multiprocessor programming system
US4779188A (en) 1983-12-14 1988-10-18 International Business Machines Corporation Selective guest system purge control
US4870566A (en) 1984-08-27 1989-09-26 International Business Machines Corp. Scannerless message concentrator and communications multiplexer
US4837677A (en) 1985-06-14 1989-06-06 International Business Machines Corporation Multiple port service expansion adapter for a communications controller
US4760518A (en) 1986-02-28 1988-07-26 Scientific Computer Systems Corporation Bi-directional databus system for supporting superposition of vector and scalar operations in a computer
JPS6336461A (en) 1986-07-31 1988-02-17 Pfu Ltd Control system for general-use channel
US4926320A (en) 1987-04-07 1990-05-15 Nec Corporation Information processing system having microprogram-controlled type arithmetic processing unit
US4843541A (en) 1987-07-29 1989-06-27 International Business Machines Corporation Logical resource partitioning of a data processing system
US4866609A (en) 1988-06-22 1989-09-12 International Business Machines Corporation Byte count handling in serial channel extender with buffering for data pre-fetch
JPH0283757A (en) 1988-09-21 1990-03-23 Hitachi Ltd Communication controlling system
US5016160A (en) 1988-12-15 1991-05-14 International Business Machines Corporation Computer system having efficient data transfer operations
US5185736A (en) 1989-05-12 1993-02-09 Alcatel Na Network Systems Corp. Synchronous optical transmission system
DE69028462T2 (en) 1989-08-11 1997-03-27 Ibm Device for connecting a control unit with a parallel bus to a channel with a serial connection
GB9012970D0 (en) 1989-09-22 1990-08-01 Ibm Apparatus and method for asynchronously delivering control elements with pipe interface
EP0424618A3 (en) 1989-10-24 1992-11-19 International Business Machines Corporation Input/output system
DE3938520A1 (en) 1989-11-21 1991-05-29 Teves Gmbh Alfred METHOD AND SYSTEM FOR MEASURING DATA EVALUATION AND EVALUATION
AU650242B2 (en) 1989-11-28 1994-06-16 International Business Machines Corporation Methods and apparatus for dynamically managing input/output (I/O) connectivity
JPH04649A (en) 1990-04-18 1992-01-06 Nec Corp Fault information transfer system for remote channel device
CA2037708C (en) 1990-05-04 1998-01-20 Richard J. Eickemeyer General purpose compound apparatus for instruction-level parallel processors
US5170472A (en) 1991-03-28 1992-12-08 International Business Machines Corp. Dynamically changing a system i/o configuration definition
US5644712A (en) 1991-06-05 1997-07-01 International Business Machines Corporation Indirect addressing of channels via logical channel groups
US5386512A (en) 1991-07-19 1995-01-31 International Business Machines Corporation System for deriving and testing mutual capability set after receiving updated capability from other processors and before requesting service information
US5388219A (en) 1992-03-02 1995-02-07 International Business Machines Corporation Efficient channel and control unit for host computer
CA2086691C (en) 1992-03-30 1997-04-08 David A. Elko Communicating messages between processors and a coupling facility
US5317739A (en) 1992-03-30 1994-05-31 International Business Machines Corp. Method and apparatus for coupling data processing systems
US5600805A (en) 1992-06-15 1997-02-04 International Business Machines Corporation Pass-through for I/O channel subsystem call instructions for accessing shared resources in a computer system having a plurality of operating systems
US5452455A (en) 1992-06-15 1995-09-19 International Business Machines Corporation Asynchronous command support for shared channels for a computer complex having multiple operating systems
US5414851A (en) 1992-06-15 1995-05-09 International Business Machines Corporation Method and means for sharing I/O resources by a plurality of operating systems
US5265240A (en) 1992-07-24 1993-11-23 International Business Machines Corporation Channel measurement method and means
US5301323A (en) 1992-10-30 1994-04-05 International Business Machines Corp. Data processing system including dynamic channel path management
JP2566728B2 (en) 1992-10-30 1996-12-25 インターナショナル・ビジネス・マシーンズ・コーポレイション Logical path scheduling device and execution method
JP2840511B2 (en) 1992-12-10 1998-12-24 富士通株式会社 Error recovery processing apparatus and method for subsystem using magnetic tape device
US5526484A (en) 1992-12-10 1996-06-11 International Business Machines Corporation Method and system for pipelining the processing of channel command words
US5528755A (en) 1992-12-22 1996-06-18 International Business Machines Corporation Invalid data detection, recording and nullification
US5517670A (en) 1992-12-30 1996-05-14 International Business Machines Corporation Adaptive data transfer channel employing extended data block capability
US5461721A (en) 1993-04-14 1995-10-24 International Business Machines Corporation System for transferring data between I/O devices and main or expanded storage under dynamic control of independent indirect address words (IDAWs)
US5465359A (en) 1993-11-01 1995-11-07 International Business Machines Corporation Method and system for managing data and users of data in a data processing system
US5584039A (en) 1993-11-08 1996-12-10 International Business Machines Corporation System for coordinating execution of multiple concurrent channel programs without host processor involvement using suspend and resume commands to control data transfer between I/O devices
JP3528094B2 (en) 1994-02-09 2004-05-17 株式会社日立製作所 Bus utilization method and storage control device
US6769009B1 (en) 1994-05-31 2004-07-27 Richard R. Reisman Method and system for selecting a personalized set of information channels
US5907684A (en) 1994-06-17 1999-05-25 International Business Machines Corporation Independent channel coupled to be shared by multiple physical processing nodes with each node characterized as having its own memory, CPU and operating system image
US5548791A (en) 1994-07-25 1996-08-20 International Business Machines Corporation Input/output control system with plural channel paths to I/O devices
US5860022A (en) 1994-07-26 1999-01-12 Hitachi, Ltd. Computer system and method of issuing input/output commands therefrom
US5564040A (en) 1994-11-08 1996-10-08 International Business Machines Corporation Method and apparatus for providing a server function in a logically partitioned hardware machine
EP0712220A1 (en) 1994-11-08 1996-05-15 International Business Machines Corporation Hop-by-hop flow control in an ATM network
US5613163A (en) 1994-11-18 1997-03-18 International Business Machines Corporation Method and system for predefined suspension and resumption control over I/O programs
US5671441A (en) 1994-11-29 1997-09-23 International Business Machines Corporation Method and apparatus for automatic generation of I/O configuration descriptions
US5600793A (en) 1994-12-20 1997-02-04 International Business Machines Corporation Method and system of bi-directional parallel port data transfer between data processing systems
US5680580A (en) 1995-02-28 1997-10-21 International Business Machines Corporation Remote copy system for setting request interconnect bit in each adapter within storage controller and initiating request connect frame in response to the setting bit
US5742845A (en) 1995-06-22 1998-04-21 Datascape, Inc. System for extending present open network communication protocols to communicate with non-standard I/O devices directly coupled to an open network
US5996026A (en) 1995-09-05 1999-11-30 Hitachi, Ltd. Method and apparatus for connecting i/o channels between sub-channels and devices through virtual machines controlled by a hypervisor using ID and configuration information
JP3225804B2 (en) 1995-09-05 2001-11-05 株式会社日立製作所 I / O channel expansion method
US6125411A (en) 1995-09-13 2000-09-26 Hitachi, Ltd. System storing plural I/O arrangement information wherein each I/O arrangement information corresponding to each operating system is created in response to more than two operating systems
GB2291990A (en) 1995-09-27 1996-02-07 Memory Corp Plc Flash-memory management system
US5831985A (en) 1995-11-09 1998-11-03 Emc Corporation Method and apparatus for controlling concurrent data transmission from multiple sources in a channel communication system
US5793983A (en) 1996-01-22 1998-08-11 International Business Machines Corp. Input/output channel interface which automatically deallocates failed subchannel and re-segments data block for transmitting over a reassigned subchannel
US5812877A (en) 1996-03-15 1998-09-22 Adaptec, Inc. I/O command block chain structure in a memory
US5758190A (en) 1996-04-09 1998-05-26 International Business Machines Corporation Control unit threshold timeout controls for software missing interrupt handlers in operating systems
US5894583A (en) 1996-04-09 1999-04-13 International Business Machines Corporation Variable timeout method for improving missing-interrupt-handler operations in an environment having I/O devices shared by one or more systems
US5768620A (en) 1996-04-09 1998-06-16 International Business Machines Corporation Variable timeout method in a missing-interrupt-handler for I/O requests issued by the same operating system
US5889935A (en) 1996-05-28 1999-03-30 Emc Corporation Disaster control features for remote data mirroring
US6108655A (en) 1996-07-19 2000-08-22 Cisco Technology, Inc. Method and apparatus for transmitting images and other objects over a computer network system
SG74611A1 (en) 1997-02-14 2000-08-22 Canon Kk Data communication apparatus and method
TW375529B (en) 1997-05-14 1999-12-01 Sega Corp Data transmission method and game system using the same
US5918028A (en) 1997-07-08 1999-06-29 Motorola, Inc. Apparatus and method for smart host bus adapter for personal computer cards
US6263380B1 (en) 1997-10-14 2001-07-17 Mitutoyo Corporation Measurement data processing unit
US6460087B1 (en) 1998-02-25 2002-10-01 Kdd Corporation Method of transferring file
US6360282B1 (en) 1998-03-25 2002-03-19 Network Appliance, Inc. Protected control of devices by user applications in multiprogramming environments
US6353612B1 (en) 1998-06-19 2002-03-05 Brocade Communications Systems, Inc. Probing device
US6693880B2 (en) 1998-09-10 2004-02-17 International Business Machines Corporation System of controlling the flow of information between senders and receivers across links being used as channels
US6185631B1 (en) 1998-10-14 2001-02-06 International Business Machines Corporation Program for transferring execution of certain channel functions to a control unit and having means for combining certain commands and data packets in one sequence
US6230218B1 (en) 1998-10-14 2001-05-08 International Business Machines Corporation Apparatus for transferring execution of certain channel functions to a control unit and having means for combining certain commands and data packets in one sequence
US6343335B1 (en) 1998-10-29 2002-01-29 International Business Machines Corporation System for repositioning an I/O device to a predetermined position to retry a program without knowledge of which part of the program caused the retry
US6195330B1 (en) 1998-11-05 2001-02-27 David C. Sawey Method and system for hit-less switching
KR100273641B1 (en) 1998-11-11 2000-12-15 윤종용 Apparatus and method for processing group cell in shared memory
JP3990833B2 (en) 1998-12-11 2007-10-17 キヤノン株式会社 Communication control method and apparatus
US6347334B1 (en) 1999-01-06 2002-02-12 Mcdata Corporation Self-description extended link service for networks
US6772207B1 (en) 1999-01-28 2004-08-03 Brocade Communications Systems, Inc. System and method for managing fibre channel switching devices
US6351779B1 (en) 1999-03-12 2002-02-26 Agilent Technologies, Inc. Extension library to standard visa library for support of complex I/O functions
US6484217B1 (en) 1999-04-20 2002-11-19 International Business Machines Corporation Managing shared devices in a data processing system
US6401223B1 (en) 1999-05-21 2002-06-04 Unisys Corporation Programmable system for invalidating pending requests within a data processing system
TW549004B (en) 1999-06-15 2003-08-21 Matsushita Electric Works Ltd Portable programming device for supervisory remote control system
US6718139B1 (en) 1999-09-13 2004-04-06 Ciena Corporation Optical fiber ring communication system
US6609165B1 (en) 1999-09-27 2003-08-19 International Business Machines Corporation Method and apparatus for using fibre channel extended link service commands in a point-to-point configuration
US6651125B2 (en) 1999-09-28 2003-11-18 International Business Machines Corporation Processing channel subsystem pending I/O work queues based on priorities
US6584511B1 (en) 2000-03-24 2003-06-24 Unisys Corporation Loop initialization procedure exception handling for fibre channel transmissions
US6658603B1 (en) 2000-04-17 2003-12-02 International Business Machines Corporation Method and apparatus for efficiently generating and implementing engine error codes and verifying the correctness of the implementation of the engine error codes
US6594785B1 (en) 2000-04-28 2003-07-15 Unisys Corporation System and method for fault handling and recovery in a multi-processing system having hardware resources shared between multiple partitions
US6862322B1 (en) 2000-05-19 2005-03-01 International Business Machines Corporation Switchable-bandwidth optical receiver
US6609161B1 (en) 2000-06-01 2003-08-19 Adaptec, Inc. Two-dimensional execution queue for host adapters
JP2002016655A (en) 2000-06-28 2002-01-18 Sony Corp Transmission method, transmission system, transmitter and transmission controller
AU8852801A (en) 2000-08-31 2002-03-13 Dolby Lab Licensing Corp Method for apparatus for audio matrix decoding
US6662319B1 (en) 2000-08-31 2003-12-09 Hewlett-Packard Development Company, L.P. Special encoding of known bad data
US6694390B1 (en) 2000-09-11 2004-02-17 Intel Corporation Managing bus transaction dependencies
US6751683B1 (en) 2000-09-29 2004-06-15 International Business Machines Corporation Method, system and program products for projecting the impact of configuration changes on controllers
US6665738B2 (en) 2000-09-29 2003-12-16 Emc Corporation Method for enabling overlapped input/output requests to a logical device from multiple hosts with explicit allegiances
US6950888B1 (en) 2000-09-29 2005-09-27 International Business Machines Corporation Method, system and program products for determining whether I/O constraints exist for controllers of a computing environment
US6697983B1 (en) 2000-10-24 2004-02-24 At&T Wireless Services, Inc. Data link layer tunneling technique for high-speed data in a noisy wireless environment
US6622268B2 (en) 2000-11-29 2003-09-16 Intel Corp Method and apparatus for propagating error status over an ECC protected channel
US7127514B2 (en) 2000-12-28 2006-10-24 Microsoft Corporation Stateless distributed computer architecture with server-oriented state-caching objects maintained on network or client
US7155569B2 (en) 2001-02-28 2006-12-26 Lsi Logic Corporation Method for raid striped I/O request generation using a shared scatter gather list
US6834363B2 (en) 2001-03-22 2004-12-21 International Business Machines Corporation Method for prioritizing bus errors
US20030056000A1 (en) 2001-07-26 2003-03-20 Nishan Systems, Inc. Transfer ready frame reordering
US6754738B2 (en) 2001-09-28 2004-06-22 International Business Machines Corporation Low overhead I/O interrupt
US7315911B2 (en) 2005-01-20 2008-01-01 Dot Hill Systems Corporation Method for efficient inter-processor communication in an active-active RAID system using PCI-express links
US6859866B2 (en) 2001-10-01 2005-02-22 International Business Machines Corporation Synchronizing processing of commands invoked against duplexed coupling facility structures
US6745299B2 (en) 2001-11-19 2004-06-01 Hewlett-Packard Development Company, L.P. Method for evaluation of scalable symmetric multiple processor cache coherency protocols and algorithms
US7512133B2 (en) 2001-12-03 2009-03-31 International Business Machines Corporation Method and apparatus for obtaining multiple port addresses by a fibre channel from a network fabric
US7599360B2 (en) 2001-12-26 2009-10-06 Cisco Technology, Inc. Methods and apparatus for encapsulating a frame for transmission in a storage area network
US7085860B2 (en) 2002-01-11 2006-08-01 International Business Machines Corporation Method and apparatus for a non-disruptive recovery of a single partition in a multipartitioned data processing system
US7007142B2 (en) 2002-02-19 2006-02-28 Intel Corporation Network data storage-related operations
US7099814B2 (en) 2002-03-29 2006-08-29 International Business Machines Corportion I/O velocity projection for bridge attached channel
US6898723B2 (en) 2002-04-01 2005-05-24 Mitac International Corp. Method for verifying clock signal frequency of computer sound interface that involves checking whether count value of counter is within tolerable count range
US7543087B2 (en) 2002-04-22 2009-06-02 Alacritech, Inc. Freeing transmit memory on a network interface device prior to receiving an acknowledgement that transmit data has been received by a remote device
JP4704659B2 (en) 2002-04-26 2011-06-15 株式会社日立製作所 Storage system control method and storage control device
US20030208581A1 (en) 2002-05-02 2003-11-06 Behren Paul D. Von Discovery of fabric devices using information from devices and switches
US7120728B2 (en) 2002-07-31 2006-10-10 Brocade Communications Systems, Inc. Hardware-based translating virtualization switch
US7107385B2 (en) 2002-08-09 2006-09-12 Network Appliance, Inc. Storage virtualization by layering virtual disk objects on a file system
US6826661B2 (en) 2002-08-30 2004-11-30 Veritas Operating Corporation Methods and systems for storage architectures
US20040054776A1 (en) 2002-09-16 2004-03-18 Finisar Corporation Network expert analysis process
US7539777B1 (en) 2002-10-25 2009-05-26 Cisco Technology, Inc. Method and system for network time protocol forwarding
US7080094B2 (en) 2002-10-29 2006-07-18 Lockheed Martin Corporation Hardware accelerated validating parser
US7386704B2 (en) 2002-10-31 2008-06-10 Lockheed Martin Corporation Pipeline accelerator including pipeline circuits in communication via a bus, and related system and method
US7202801B2 (en) 2002-12-11 2007-04-10 Geospatial Technologies, Inc. Method and apparatus for an automated location-based, dynamic notification system (ALDNS)
US7277387B2 (en) 2003-01-30 2007-10-02 Wind River Systems, Inc. Package manager
US7324455B2 (en) 2003-03-14 2008-01-29 International Business Machines Corporation Transfer of error-analysis and statistical data in a fibre channel input/output system
US6915378B2 (en) 2003-04-23 2005-07-05 Hypernova Technologies, Inc. Method and system for improving the performance of a processing system
US7085898B2 (en) 2003-05-12 2006-08-01 International Business Machines Corporation Coherency management for a “switchless” distributed shared memory computer system
US7000036B2 (en) 2003-05-12 2006-02-14 International Business Machines Corporation Extended input/output measurement facilities
US7058735B2 (en) 2003-06-02 2006-06-06 Emulex Design & Manufacturing Corporation Method and apparatus for local and distributed data memory access (“DMA”) control
TWI271626B (en) 2003-06-17 2007-01-21 Delta Electronics Inc Data transmission method for microprocessors of programmable logic controller
US7684401B2 (en) 2003-07-21 2010-03-23 Qlogic, Corporation Method and system for using extended fabric features with fibre channel switch elements
US7124207B1 (en) 2003-08-14 2006-10-17 Adaptec, Inc. I2O command and status batching
US7149823B2 (en) 2003-08-29 2006-12-12 Emulex Corporation System and method for direct memory access from host without processor intervention wherein automatic access to memory during host start up does not occur
WO2005039130A1 (en) 2003-10-17 2005-04-28 Nippon Telegraph And Telephone Corporation Mail distribution system, mail distribution method, and mail distribution program
KR20050043426A (en) 2003-11-06 2005-05-11 삼성전자주식회사 Command transmitting method and apparatus in the pipeline bus system
US20050105456A1 (en) 2003-11-18 2005-05-19 Cookson Christopher J. Double-sided optical disc
US7634582B2 (en) 2003-12-19 2009-12-15 Intel Corporation Method and architecture for optical networking between server and storage area networks
US7564791B2 (en) 2003-12-29 2009-07-21 Intel Corporation Monitoring packet flows
US7382733B2 (en) 2004-02-12 2008-06-03 International Business Machines Corporation Method for handling reordered data packets
US7133988B2 (en) 2004-02-25 2006-11-07 Hitachi, Ltd. Method and apparatus for managing direct I/O to storage systems in virtualization
US20050223291A1 (en) 2004-03-24 2005-10-06 Zimmer Vincent J Methods and apparatus to provide an execution mode transition
JP2005293363A (en) 2004-04-01 2005-10-20 Toshiba Corp Disk array controller and information processing device
US8171170B2 (en) 2004-04-30 2012-05-01 Emc Corporation Storage switch task processing synchronization
US7240273B2 (en) 2004-05-13 2007-07-03 Industrial Technology Research Institute Cyclic redundancy check modification for message length detection and error detection
US7555554B2 (en) 2004-08-06 2009-06-30 Microsoft Corporation System and method for generating selectable extension to media transport protocol
US7711871B1 (en) 2004-08-30 2010-05-04 Crossroads Systems, Inc. Interface device and method for command processing
US7443798B2 (en) 2004-09-03 2008-10-28 Agere Systems Inc. Transmit adaptive equalization for communication system with one or more serial data channels
US7577772B2 (en) 2004-09-08 2009-08-18 Qlogic, Corporation Method and system for optimizing DMA channel selection
GB2419198A (en) 2004-10-14 2006-04-19 Hewlett Packard Development Co Identifying performance affecting causes in a data storage system
US7398335B2 (en) 2004-11-22 2008-07-08 Qlogic, Corporation Method and system for DMA optimization in host bus adapters
JP4575119B2 (en) 2004-11-25 2010-11-04 株式会社日立製作所 Storage system
US7164425B2 (en) 2004-12-21 2007-01-16 Qlogic Corporation Method and system for high speed network application
US7672323B2 (en) 2005-01-14 2010-03-02 Cisco Technology, Inc. Dynamic and intelligent buffer management for SAN extension
US7526633B2 (en) 2005-03-23 2009-04-28 Qualcomm Incorporated Method and system for encoding variable length packets with variable instruction sizes
JP2006277583A (en) 2005-03-30 2006-10-12 Hitachi Ltd Data processing system, data processing method and program
US7970953B2 (en) 2005-06-30 2011-06-28 Intel Corporation Serial ATA port addressing
JP2007058646A (en) 2005-08-25 2007-03-08 Hitachi Ltd Data processing system
TW200733733A (en) 2005-09-06 2007-09-01 Nokia Corp Enhanced signaling of pre-configured interaction message in service guide
US7577773B1 (en) 2005-09-09 2009-08-18 Qlogic, Corporation Method and system for DMA optimization
JP4527640B2 (en) 2005-09-15 2010-08-18 株式会社ソニー・コンピュータエンタテインメント Data reading device
JP2007122108A (en) 2005-10-25 2007-05-17 Hitachi Ltd Control of storage system using disk drive device with self-check function
US7484021B2 (en) 2005-10-27 2009-01-27 Cisco Technology, Inc. Technique for implementing virtual fabric membership assignments for devices in a storage area network
US20070162631A1 (en) 2005-12-28 2007-07-12 International Business Machines Corporation Method for selectable software-hardware internet SCSI
US7594057B1 (en) 2006-01-09 2009-09-22 Qlogic, Corporation Method and system for processing DMA requests
JP2007199975A (en) 2006-01-26 2007-08-09 Hitachi Ltd Data-processing system and data-processing method
US7743197B2 (en) 2006-05-11 2010-06-22 Emulex Design & Manufacturing Corporation System and method for virtualizing PCIe devices
US9032164B2 (en) 2006-02-17 2015-05-12 Emulex Corporation Apparatus for performing storage virtualization
US20080040519A1 (en) 2006-05-02 2008-02-14 Alacritech, Inc. Network interface device with 10 Gb/s full-duplex transfer rate
US8381214B2 (en) 2006-05-05 2013-02-19 Microsoft Corporation Extensible job submission
US7826349B2 (en) 2006-05-30 2010-11-02 Intel Corporation Connection management mechanism
US20080043563A1 (en) 2006-08-15 2008-02-21 International Business Machines Corporation Flexibly controlling the transfer of data between input/output devices and memory
US8032581B2 (en) 2006-08-30 2011-10-04 International Business Machines Corporation Persistent information unit pacing
US7500030B2 (en) 2006-08-30 2009-03-03 International Business Machines Corporation Control of information units in fibre channel communications
US7500023B2 (en) 2006-10-10 2009-03-03 International Business Machines Corporation Facilitating input/output processing by using transport control words to reduce input/output communications
US7502873B2 (en) 2006-10-10 2009-03-10 International Business Machines Corporation Facilitating access to status and measurement data associated with input/output processing
US7797414B2 (en) 2007-01-31 2010-09-14 International Business Machines Corporation Establishing a logical path between servers in a coordinated timing network
US8660108B2 (en) 2007-04-13 2014-02-25 Hart Communication Foundation Synchronizing timeslots in a wireless communication protocol
US7765336B2 (en) 2007-06-11 2010-07-27 Emulex Design & Manufacturing Corporation Autonomous mapping of protected data streams to fibre channel frames
US8020074B2 (en) 2007-08-24 2011-09-13 Datadirect Networks, Inc. Method for auto-correction of errors in a RAID memory system
US9052837B2 (en) 2008-02-14 2015-06-09 International Business Machines Corporation Processing communication data in a ships passing condition
US8312189B2 (en) * 2008-02-14 2012-11-13 International Business Machines Corporation Processing of data to monitor input/output operations
US7899944B2 (en) 2008-02-14 2011-03-01 International Business Machines Corporation Open exchange limiting in an I/O processing system
US8196149B2 (en) 2008-02-14 2012-06-05 International Business Machines Corporation Processing of data to determine compatability in an input/output processing system
US7840718B2 (en) 2008-02-14 2010-11-23 International Business Machines Corporation Processing of data to suspend operations in an input/output processing log-out system
US8108570B2 (en) 2008-02-14 2012-01-31 International Business Machines Corporation Determining the state of an I/O operation
US8117347B2 (en) 2008-02-14 2012-02-14 International Business Machines Corporation Providing indirect data addressing for a control block at a channel subsystem of an I/O processing system
US8095847B2 (en) 2008-02-14 2012-01-10 International Business Machines Corporation Exception condition handling at a channel subsystem in an I/O processing system
US8001298B2 (en) 2008-02-14 2011-08-16 International Business Machines Corporation Providing extended measurement data in an I/O processing system
US7908403B2 (en) * 2008-02-14 2011-03-15 International Business Machines Corporation Reserved device access contention reduction
US7890668B2 (en) 2008-02-14 2011-02-15 International Business Machines Corporation Providing indirect data addressing in an input/output processing system where the indirect data address list is non-contiguous
US8478915B2 (en) 2008-02-14 2013-07-02 International Business Machines Corporation Determining extended capability of a channel path
US7840717B2 (en) 2008-02-14 2010-11-23 International Business Machines Corporation Processing a variable length device command word at a control unit in an I/O processing system
US7917813B2 (en) 2008-02-14 2011-03-29 International Business Machines Corporation Exception condition determination at a control unit in an I/O processing system
US8082481B2 (en) 2008-02-14 2011-12-20 International Business Machines Corporation Multiple CRC insertion in an output data stream
US8214562B2 (en) 2008-02-14 2012-07-03 International Business Machines Corporation Processing of data to perform system changes in an input/output processing system
US8166206B2 (en) 2008-02-14 2012-04-24 International Business Machines Corporation Cancel instruction and command for determining the state of an I/O operation
US8176222B2 (en) 2008-02-14 2012-05-08 International Business Machines Corporation Early termination of an I/O operation in an I/O processing system
US7941570B2 (en) * 2008-02-14 2011-05-10 International Business Machines Corporation Bi-directional data transfer within a single I/O operation
US7937507B2 (en) 2008-02-14 2011-05-03 International Business Machines Corporation Extended measurement word determination at a channel subsystem of an I/O processing system
US7904605B2 (en) 2008-02-14 2011-03-08 International Business Machines Corporation Computer command and response for determining the state of an I/O operation
GB2460841B (en) 2008-06-10 2012-01-11 Virtensys Ltd Methods of providing access to I/O devices
US7983257B2 (en) 2008-07-18 2011-07-19 Emulex Design & Manufacturing Corporation Hardware switch for hypervisors and blade servers
US20100064072A1 (en) 2008-09-09 2010-03-11 Emulex Design & Manufacturing Corporation Dynamically Adjustable Arbitration Scheme
JP5107880B2 (en) 2008-12-10 2012-12-26 株式会社日立製作所 Data transfer processing apparatus and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030002492A1 (en) * 2001-06-27 2003-01-02 International Business Machines Corporation Method, apparatus and computer program for informing a requesting device of port configuration changes in a computer network switching device
US20100030919A1 (en) * 2008-07-31 2010-02-04 International Business Machines Corporation Transport control channel program message pairing
US20100030920A1 (en) * 2008-07-31 2010-02-04 International Business Machines Corporation Transport control channel program chain linking

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2998871A1 (en) * 2014-09-17 2016-03-23 HTC Corporation Portable device and control method therefor
US9785593B2 (en) 2014-09-17 2017-10-10 Htc Corporation Portable device with data transmission between main system and subsystem and control method therefor

Also Published As

Publication number Publication date
US8346978B1 (en) 2013-01-01
WO2013000604A1 (en) 2013-01-03
GB2505814A (en) 2014-03-12
CN103597458A (en) 2014-02-19
GB201321890D0 (en) 2014-01-22
CN103597458B (en) 2016-05-18

Similar Documents

Publication Publication Date Title
US20120311199A1 (en) Fibre channel input/output data routing including discarding of data transfer requests in response to error detection
US20120311198A1 (en) Fibre channel input/output data routing system and method
WO2009101055A1 (en) Exception condition handling at a channel subsystem in an i/o processing system
US9195394B2 (en) Transport mode data transfer between a channel subsystem and input/output devices
US8549185B2 (en) Facilitating transport mode input/output operations between a channel subsystem and input/output devices
US8631175B2 (en) Facilitating transport mode input/output operations between a channel subsystem and input/output devices
US8918542B2 (en) Facilitating transport mode data transfer between a channel subsystem and input/output devices
US8346978B1 (en) Facilitating transport mode input/output operations between a channel subsystem and input/output devices
US8312176B1 (en) Facilitating transport mode input/output operations between a channel subsystem and input/output devices
KR101476073B1 (en) Facilitating transport mode input/output operations between a channel subsystem and input/output devices
KR101476075B1 (en) Facilitating transport mode input/output operations between a channel subsystem and input/output devices

Legal Events

Date Code Title Description
AS Assignment

Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:CANDELARIA, SUSAN K.;CARLSON, SCOTT M.;FLANAGAN, JOHN R.;AND OTHERS;SIGNING DATES FROM 20110629 TO 20110915;REEL/FRAME:026932/0584

AS Assignment

Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:CANDELARIA, SUSAN K.;CARLSON, SCOTT M.;CASPER, DANIEL F.;AND OTHERS;SIGNING DATES FROM 20111011 TO 20120116;REEL/FRAME:028328/0696

STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 8

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 12