1. Field of the Invention
The present disclosure relates generally to input/output processing, and in particular, to determining the state of an I/O operation.
2. Description of Background
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 operating system may employ channel command words (CCWs) by passing them to the channel subsystem in order to transfer data between the I/O devices and memory. A CCW specifies the command to be executed. For commands initiating certain I/O operations, the CCW designates the memory area associated with the operation, the action to be taken whenever a transfer to or from the area is completed, and other options.
During I/O processing, a list of CCWs is fetched from memory by a channel. The channel parses each command from the list of CCWs and forwards a number of the commands, each command in its own entity, to a control unit coupled to the channel. The control unit then processes the commands. The channel tracks the state of each command and controls when the next set of commands is to be sent to the control unit for processing. The channel ensures that each command is sent to the control unit in its own entity. Further, the channel obtains certain information associated with processing the response from the control unit for each command.
Depending on a link protocol used, an operating system may have difficulty making an informed decision regarding what action to take with an I/O operation that is taking a longer time than expected or allotted to complete. Accordingly, there is a need to provide the operating system with a way of determining the state of an I/O operation and determining an action to take for an I/O operation that is taking longer than the expected or allotted time to execute.
Embodiments of the invention include a computer program product for determining a state of an input/output (I/O) operation in an I/O processing system. The computer program product comprises a tangible storage medium readable by a processing circuit and storing instructions for executing by the processing circuit for performing a method. The method comprises receiving a command from an I/O operating system at a channel subsystem for initiating the I/O operation, setting a time period for completion of the I/O operation, and sending the command for initiating the I/O operation from the channel subsystem to the control unit. The method further comprises, responsive to the time period nearing elapsing without the I/O operation completing, receiving a cancel instruction from the I/O operating system at the channel subsystem. Responsive to a determination by the I/O operating system to interrogate the control unit, an instruction to interrogate the control unit is received with the cancel instruction from the I/O operating system.
Additional embodiments include an apparatus adapted for communicating with a control unit controlling an input/output (I/O) device for executing an I/O operation in an I/O processing system. The apparatus comprises a channel subsystem for communication with an I/O operating system and the control unit. The channel subsystem performs a method comprises receiving a command from the I/O operating system for initiating the I/O operation, setting a time period for completion of the I/O operation, and sending the command for initiating the I/O operation to the control unit. The method further comprises, responsive to the time period nearing elapsing without the I/O operation completing, receiving a cancel instruction from the I/O operating system at the channel subsystem. Responsive to a determination by the I/O operating system to interrogate the control unit to determine a state of the I/O operation, an instruction to interrogate the control unit is received with the cancel instruction from the I/O operating system.
Further embodiments include a method for determining a state of an input/output (I/O) operation in an I/O processing system. The method comprises receiving a command from an I/O operating system at a channel subsystem for initiating the I/O operation, setting a time period for completion of the I/O operation, and sending the command for initiating the I/O operation from the channel subsystem to the control unit. The method further comprises, responsive to the time period nearing elapsing without the I/O operation completing, receiving a cancel instruction from the I/O operating system at the channel subsystem. Responsive to a determination by the I/O operating system to interrogate the control unit, an instruction to interrogate the control unit is received with the cancel instruction from the I/O operating system.
Other systems, methods, and/or computer program products according to embodiments will be or become apparent to one with skill in the art upon review of the following drawings and detailed description. It is intended that all such additional systems, methods, and/or articles of manufacture be included within this description, be within the scope of the present invention, and be protected by the accompanying claims.
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:
The detailed description explains the preferred embodiments of the invention, together with advantages and features, by way of example with reference to the drawings.
In accordance with an aspect of the present invention, input/output (I/O) processing is facilitated. For instance, I/O processing is facilitated by readily enabling access to the information, such as status and measurement data, associated with I/O processing. Further, I/O processing is facilitated, in one example, by reducing communications between components of an I/O processing system used to perform the I/O processing. For instance, the number of exchanges and sequences between an I/O communications adapter, such as a channel, and a control unit is reduced. This is accomplished by sending a plurality of commands from the I/O communications adapter to the control unit as a single entity for execution by the control unit, and by the control unit sending the data resulting from the commands, if any, as a single entity.
The plurality of commands is included in a block, referred to herein as a transport command control block (TCCB), an address of which is specified in a transport control word (TCW). The TCW is sent from an operating system or other application to the I/O communications adapter, which in turn forwards the TCCB in a command message to the control unit for processing. The control unit processes each of the commands absent a tracking of status relative to those individual commands by the I/O communications adapter. The plurality of commands is also referred to as a channel program, which is parsed and executed on the control unit rather than the I/O communications adapter.
In an exemplary embodiment, the control unit generates a response message including status and extended status information in response to executing the channel program. The control unit may also generate a response message without executing the channel program under a limited number of communication scenarios, e.g., to inform the I/O communications adapter that the channel program will not be executed. The control unit 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 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. The I/O communications adapter parses the response message, extracting the status and extended status information, and performs further calculations using the extracted information, such as determining an extended measurement word.
One example of an I/O processing system incorporating and using one or more aspects of the present invention is described with reference to
Main memory 102 stores data and programs, which can be input from I/O devices 112. For example, the main memory 102 may include one or more operating systems 103 that are executed by one or more of the CPUs 104. The main memory 102 is directly addressable and provides for high-speed processing of data by the CPUs 104 and the channel subsystem 108.
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 storage control element 106 via a connection 114, such as a bidirectional or unidirectional bus.
Storage control element 106 is coupled to the main memory 102 via a connection 116, such as a bus; to CPUs 104 via connection 114; and to channel subsystem 108 via a connection 118. Storage control element 106 controls, for example, queuing and execution of requests made by CPU 104 and channel subsystem 108.
Channel subsystem 108 is coupled to storage control element 106, as described above, and to each of the control units 110 via a connection 120, such as a serial link. Connection 120 may be implemented as an optical link, employing single-mode or multi-mode waveguides. Channel subsystem 108 directs the flow of information between I/O devices 112 and main memory 102. It relieves the CPUs 104 of the task of communicating directly with the I/O devices 112 and permits data processing to proceed concurrently with I/O processing. The channel subsystem 108 uses one or more channel paths 122 as the communication links in managing the flow of information to or from I/O devices 112. As a part of the I/O processing, channel subsystem 108 also performs the path-management functions of testing for channel path availability, selecting an available channel path 122 and initiating execution of the operation with the I/O devices 112.
Each channel path 122 includes a channel 124 (channels 124 are located within the channel subsystem 108, in one example, as shown in
Also located within channel subsystem 108 are subchannels (not shown). One subchannel is provided for and dedicated to each I/O device 112 accessible to a program through the channel subsystem 108. A subchannel (e.g., a data structure, such as a table) represents the logical state of a device to the program. Each subchannel provides information concerning the associated I/O device 112 and its attachment to channel subsystem 108. The subchannel also provides information concerning I/O operations and other functions involving the associated I/O device 112. The subchannel is the means by which the channel subsystem 108 provides information about associated I/O devices 112 to operating systems running on CPUs 104, which obtain this information by executing I/O instructions.
Channel subsystem 108 is coupled to one or more control units 110. Each control unit 110 provides logic to operate and control one or more I/O devices 112 and adapts, through the use of common facilities, the characteristics of each I/O device 112 to the link interface provided by the channel 124. The common facilities provide for the execution of I/O operations, indications concerning the status of the I/O device 112 and control unit 110, control of the timing of data transfers over the channel path 122 and certain levels of I/O device 112 control.
Each control unit 110 is attached via a connection 126 (e.g., a bus) to one or more I/O devices 112. I/O devices 112 receive information or store information in main memory 102 and/or other memory. Examples of I/O devices 112 include card readers and punches, magnetic tape units, direct access storage devices, displays, keyboards, printers, pointing devices, teleprocessing devices, communication controllers and sensor based equipment, to name a few.
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-05, 6th Edition, April 2007; U.S. Pat. No. 5,461,721 entitled “System For Transferring Data Between I/O Devices And Main Or Expanded Storage Under Dynamic Control Of Independent Indirect Address Words (IDAWS),” Cormier et al., issued Oct. 24, 1995; and U.S. Pat. No. 5,526,484 entitled “Method And System For Pipelining The Processing Of Channel Command Words,” Casper et al., issued Jun. 11, 1996, each of which is hereby incorporated herein by reference in its entirety. 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.
In one embodiment, to transfer data between I/O devices 112 and memory 102, channel command words (CCWs) are used. A CCW specifies the command to be executed, and includes other fields to control processing. One example of a CCW is described with reference to
One or more CCWs arranged for sequential execution form a channel program, also referred to herein as a CCW channel program. The CCW channel program is set up by, for instance, an operating system, or other software. The software sets up the CCWs and obtains the addresses of memory assigned to the channel program. An example of a CCW channel program is described with reference to
The processing of a CCW channel program is described with reference to
Referring to
The control unit 302 opens an exchange 308 with the channel 300, in response to the open exchange of the channel 300. This can occur before or after locate command 305 and/or read command 306. Along with the open exchange, a response (CMR) is forwarded to the channel 300. The CMR provides an indication to the channel 300 that the control unit 302 is active and operating.
The control unit 302 sends the requested data 310 to the channel 300. Additionally, the control unit 302 provides the status to the channel 300 and closes the exchange 312. In response thereto, the channel 300 stores the data, examines the status and closes the exchange 314, which indicates to the control unit 302 that the status has been received.
The processing of the above CCW channel program to read 4 k of data requires two exchanges to be opened and closed and seven sequences. The total number of exchanges and sequences between the channel and control unit is reduced through collapsing multiple commands of the channel program into a TCCB. The channel, e.g., channel 124 of
One example of a channel program to read 4 k of data, as in
The processing of a TCW channel program is described with reference to
Referring to
In a further example, to write 4 k of customer data, the channel 500 uses the FCP link protocol phases, as follows:
1. Transfer a TCCB in the FCP_CMND IU.
2. Transfer the IU of data, and sequence initiative to the control unit 502.
(FCP Transfer Ready Disabled)
3. Final status is sent in a FCP status frame that has a bit active in, for instance, byte 10 or 11 of the FCP_RSP IU Payload. The FCP_RES_INFO field or sense field is used to transport FICON ending status along with additional status information, including parameters that support the calculation of extended measurement words and notify the channel 500 of the maximum number of open exchanges supported by the control unit 502.
By executing the TCW channel program of
The number of exchanges and sequences remain the same for a TCW channel program, even if additional commands are added to the program. Compare, for example, the communications of the CCW channel program of
As depicted in
Turning now to
The CU control logic 802 can access and control other elements within the control unit 110, such as CU timers 806 and CU registers 808. The CU timers 806 may include multiple timer functions to track how much time a sequence of I/O operations takes to complete. The CU timers 806 may further include one or more countdown timers to monitor and abort I/O operations and commands that do not complete within a predetermined period. The CU registers 808 can include fixed values that provide configuration and status information, as well as dynamic status information that is updated as commands are executed by the CU control logic 802. The control unit 110 may further include other buffer or memory elements (not depicted) to store multiple messages or status information associated with communications between the channel 124 and the I/O device 112. The CU registers 808 may include a maximum control unit exchange parameter that defines the maximum number of open control unit exchanges that the control unit 110 supports.
The channel 124 in the channel subsystem 108 includes multiple elements to support communication with the control unit 110. For example, the channel 124 may include CHN control logic 810 that interfaces with CHN subsystem timers 812 and CHN subsystem registers 814. In an exemplary embodiment, the CHN control logic 810 controls communication between the channel subsystem 108 and the control unit 110. The CHN control logic 810 may directly interface to the CU control logic 802 via the connection 120 to send commands and receive responses, such as transport command and response IUs. Alternatively, messaging interfaces and/or buffers (not depicted) can be placed between the CHIN control logic 810 and the CU control logic 802. The CHN subsystem timers 812 may include multiple timer functions to track how much time a sequence of I/O operations takes to complete, in addition to the time tracked by the control unit 110. The CHN subsystem timers 812 may further include one or more countdown timers to monitor and abort command sequences that do not complete within a predetermined period. The CHN subsystem registers 814 can include fixed values that provide configuration and status information, as well as dynamic status information, updated as commands are transported and responses are received.
The FICON command response (CMR) frame from the control unit is not part of the Fibre Channel Extension (FCX), transport mode protocol. Removing the CMR from the transport mode protocol helps to improve the performance of FCX. The CMR in FICON informs the channel that the control unit has received and does the channel send executing the command. When the FICON channel receives the CMR, the channel marks the subchannel as “SubChannel and Active Device”.
In all computing environments, interrupts at various I/O devices may occur. If an OS that requested an operation at an I/O device fails to detect an interrupt, this may cause operations in a data processing system to slow down and ultimately cease. A Missing Interrupt Handler (MIH) is a mechanism included, e.g., in the OS 103 that is useful in detecting lost interrupts by timing I/O operations that are in progress and determining whether the time taken by an I/O device to execute an operation has exceeded a predetermined “normal” amount of time allotted or set for execution of the operation. If the MIH time is reached, and the I/O device has not completed execution of the operation, this is an indication that an interrupt may have been missed, a link failure occurred, an adapter failure occurred, a control unit error occurred, or a reserve was held by a sharing system longer than expected.
When the operating system MIH times out for FICON, i.e., the MIH time is reached, it looks to see if the sub-channel was or was not marked “SubChannel and Device Active” to determine what action to take next. For FCX, the subchannel stays “Start pending” during the entire operation. So, with FCX, when the MIH times out, the I/O operating system cannot tell the state of the I/O operation because the sub-channel state stays “Start pending” for the entire operation.
In accordance with an aspect of the present invention, just before a missing interrupt timeout, e.g., one second before the MIH time is reached, the operating system uses an interrogate command to determine the state of the I/O operation at the control unit. The interrogate command may be initiated with a cancel subchannel instruction before the time allotted for completion of the execution of the I/O operation elapses, and the I/O operation has not completed.
There are several benefits of the interrogate command. For example, the interrogate command is executed when a MIH timeout is about to occur, thereby removing the requirement for a CMR on every I/O operation. Removing the requirement for the CMR on every I/O operation improves the FCX performance by reducing fabric traffic and channel and adapter overhead. Also, the interrogate command transfers information to the control unit about the OS for logging by the control unit if a timeout does occur. Another advantage is that the control unit provides detailed state information about the I/O operation back to the OS, whereas the CMR for FICON only indicates that the control unit is currently executing the I/O. Also, if an I/O operation is lost, the information exchanged by the interrogate command is very useful for problem determination.
Implementation of the interrogation described herein involves a cancel subchannel instruction and an Interrogate-TCW Address field in a TCW and is described from the channel subsystem perspective, an interrogate command and response from the channel subsystem perspective, and an interrogate command and response from the control unit perspective. Each of these is described below.
An exemplary embodiment of a transport control word (TCW) 900 is depicted in
In an exemplary TCW 900 depicted in
The TCW 900 also includes a TCCB length field 908, which indirectly represents the length of the TCCB and may be utilized to determine the actual length of the TCCB. A R/W 910 field includes read/write bits utilized to indicate whether data is being read and/or written as a result of executing the TCW 900. In an exemplary embodiment, the read bit in the read/write bits is set to one to indicate that input data is being transferred from an I/O device 112 to system storage (e.g., main memory 102) in the host system 101 as a result of executing the TCW 900. The write bit in the read/write bits is set to one to indicate that output data is being transferred from system storage (e.g., main memory 102) in the host system 101 to an I/O device as a result of executing the TCW 900. Field 912 may be reserved for future use.
Address field 914 may include a direct address or an indirect address per the flags field bit 6. The contents of the address field 914 may be an address of a TIDAL (a list of transport mode indirect data address words) for output data or the actual address of the output data. The contents of the address field 914 may be an address of a TIDAL for input data or the actual address of the input data. In an exemplary embodiment, the output data address and the input data address are included in a single field 914, and a field 916 is reserved for future use. Alternatively, the output data address and the input data address may be split between fields 914 and 916.
The TCW 900 also includes a transport-status-block address field 920. A portion (e.g., the extended status part) of a completion status in a transport response IU for an I/O operation is stored at this address. The TCCB address field 922 in the TCW 900 includes an address where the TCCB is located in system storage. This is the control block where the DCWs to be executed for the TCW 900 reside. Also as described in the flags field bit 7, the contents of the TCCB address field 922 may be an address of a TIDAL for the TCCB or the actual address of the TCCB. A data byte count field 924 in the TCW 900 indicates the amount of output data to be transferred by the TCW for an output operation or the amount of input data to be transferred by the TCW for an input operation. Field 926 may be reserved for future use. Alternatively, the output data count and the input data count information may be split between fields 924 and 926. Several additional fields in the TCW 900 are reserved: reserved field 928, reserved field 930 and reserved field 932.
According to an aspect of the invention, the TCW 900 is expanded, e.g., from 32 bytes to 64 bytes, to allow more space for future functions. One such function is an interrogation function, made possible by an interrogate-TCW address field 934 that contains an interrogation value indicating whether an interrogation should be performed if an I/O fails to complete in an allotted time period. The interrogate-TCW address field 934 may contain the address of another TCW and may used by the channel 124 to interrogate the state of an operation under the initiative of a cancel sub-channel I/O instruction, explained in detail below.
The TCW 900 may be set up by software to be used by the channel to drive I/O operations. The TCW depicted in
According to an aspect of the present invention, a cancel subchannel instruction is executed to determine the state of the control unit if the FCX start subchannel has already been sent to a channel. If the subchannel is “start pending”, and the start subchannel has been sent to the channel, and the value of the interrogate TCW address field in the TCW is not zero, then the cancel instruction queues an interrogate command in the subchannel that may be sent to the control unit by the channel subsystem. This interrogate command may cause information to be retuned from the control unit about the state of the operation being interrogated, in a data transfer phase or in the extended status part of the transport response IU. The protocol of the interrogate operation may be implemented as follows.
If a FCX I/O operation is active, the Interrogate TCW Address in the TCW for the I/O operation is used to point to an interrogate TCW. If the channel encounters a zero value Interrogate TCW Address, the channel will not initiate the Interrogate. Prior to a Missing Interrupt (MIH) time out, the OS updates the Interrogate TCW Address word in the TCW with the address of the Interrogate TCW if the OS wants to interrogate the I/O device. If the OS only wants to send the cancel instruction without conducting an interrogation, then the OS leaves the Interrogate TCW Address in the TCW set to zero. The interrogate initiative is then passed to the channel subsystem with the cancel instruction. The cancel instruction performs the current architected Cancel, but if the subchannel is “start pending” with a FCX start subchannel, and the Start has been passed to the channel, then the channel subsystem is given the initiative to interrogate the control unit.
According to aspects of the invention, if the subchannel is idle, interrupt pending with primary or alert status, or is device active only, the initiative to issue the interrogate command is discarded. If the channel receives the interrogate initiative at a “start pending” subchannel, and the start is still queued in the channel, the channel discards the interrogate initiative. If the channel receives the interrogate initiative, and the channel already has an interrogate operation in progress, the channel discards the new interrogate initiative.
If the channel receives the interrogate initiative to a UA that is start pending and has an exchange open to the control unit, the channel subsystem executes the interrogation. According to an aspect of the invention, in executing the interrogation, the channel subsystem does the following. The channel subsystem fetches the Interrogate TCW address in the current TCW to get the pointer value to fetch the Interrogate TCW. If the pointer is all zeros, the channel discards the interrogation. In this case, the OS wants to do a cancel instruction but not an interrogation. If the pointer is valid, the channel subsystem continues. The channel subsystem opens a new exchange and sends the Interrogate DCW inside a TCCB, addressed by the interrogate TCW, to the control unit in a transport command IU. This operation is timed by the channel for completion. If the interrogate operation does not complete in the amount of time set by the channel, the channel aborts both the interrogate operation and the operation that is being interrogated. The subchannel is then returned back to the OS with interface control check status.
The control unit receives and executes the interrogate command, transferring the interrogate information about the UA back to the channel subsystem in the transport response IU or as a data IU based on the command in the transport command IU. The original operation that is active on the UA that is being interrogated is not affected. The I/O subsystem may generate an intermediate status interrupt with an interrogate complete bit set to a one that reports the completion of the interrogation to the OS.
According to an aspect of the present invention, the interrogate command is a unique command that may be the same for all control unit types that support FCX. The transport command IU for an interrogation contains only one DCW. This interrogate DCW command may have up to 232 bytes of control data associated with it, which may be information that is passed to the control unit indicating why the interrogation is being executed.
The interrogate command transports information included in the interrogate DCW 1010 and the interrogate control data 1020 that are part of an interrogate command 1000 as shown in
If the control data count 1014 of the interrogate DCW is greater than zero, then interrogate control data is specified in the DCW. The interrogate control data 1020 sent to the control unit is for device-dependent logging purposes and is used to aid in debugging I/O timeouts.
According to an aspect of the invention, the interrogate control data 1020 has the format described below. Referring to
Byte 2 of word 0 of the interrogate control data (RCQ field 1023) contains an unsigned integer value that indicates additional information about the reason the interrogate operation was initiated, referred to as the Reason-Code Qualifier (RCQ). When the RC field 1022 contains the value one, the meaning of RCQ values may be as follows:
When the RC field 1022 does not contain the value one, the RCQ may have no meaning.
Byte 3 of word 0 {LPM field 1024} contains the Logical-Path Mask (LMP) that was used when the operation being interrogated was initiating by a start subchannel command.
Referring to word 1 of the interrogate control data, byte 0 of word 1 {PAM field 1025} contains a value of a Path-Available Mask (PAM) at the time the interrogate operation is initiated. Byte 1 of word 1 (PIM field 1026) contains a value of a Path-Installed Mask (PIM) at the time the interrogate operation is initiated. Bytes 2-3 of word 1 (Timeout field 1027) are indicative of a timeout value indicating a time allotted for completion of the I/O operation. When the RC field 1022 contains the value of one and the RCQ field 1023 contains the value of one or two, bytes 2-3 of word 1 contain the timeout interval used by the program in unsigned integer seconds.
Referring to word 2 of the interrogate control data 1020, byte 0 (Flags field 1028) contains flags that have information about the interrogation. The meaning of each flag bit may be given as follows:
As shown in
The ending status information for the interrogate command may be set by the control unit in a transport response IU payload as shown in
As shown in
Word 8, bytes 2 and 3 {status field 1123} and word 9 (status field 1124) contain information indicating a status of the I/O operation. For the I/O operation, the value in these fields may be zero for an interrogation.
Words 11-23 of the transport extended status payload 1120 may be the interrogate status area. Byte 0 of word 11 (Format field 1126) contains an unsigned integer value that defines the layout of the interrogate status area. If the value of this field is zero, the contents of the interrogate status are meaningless. The following definitions of the interrogate status area apply when the format byte is set to a (01 h).
Byte 1 of word 11 (Flags field 1127) contains information about the interrogate status area. The meaning of each flag bit may be given as follows:
Byte 2 of word 11 (control unit state field 1128) contains an 8-bit unsigned integer that indicates a current state of the control unit for the I/O device. The meaning of each value may be given as follows:
Byte 3 of word 11 (device state field 1129) contains an 8-bit unsigned integer that indicates a current state of the I/O device. The meaning of this byte may be given as follows:
Byte 0 of word 12 (operation state field 1030) contains an 8-bit unsigned integer that indicates whether an IO operation is present at the device and, when present, the state of the operation. The meaning of this byte value may be given as follows.
Field 1031 may be reserved for future use.
Words 13-15 (field 1140) may contain state-dependent information. The contents of this field are device dependent. Whether this field has meaning is designated by the CS, DS, and OS fields 1128, 1129, and 1130, respectively.
Word 16 (field 1150) may contain a device-level identifier or token that identifies the implementation level of the device.
Words 17-23 (field 1160) may contain device dependent information. Whether this field has meaning may be designated by the CS, DS and OS fields 1128, 1129, and 1130, respectively.
According to exemplary embodiments, from the control unit state, device state, and operating state information returned in the transport response IU for an interrogation, the OS 103 can make an informed decision on what action to take with regard to an I/O operation that is taking a longer than an allotted time to complete.
The interrogation begins at step 1250 at which the OS 103 sets up the interrogate control blocks in system memory 102 and sends the cancel subchannel to the channel subsystem 108. The channel subsystem 108 determines if the interrogate is to be sent to the control unit. If the conditions as described above are not met to do an interrogate, the heritage MIH processing terminates the I/O operation and simulates an error back to the initiator of the I/O. If the interrogate conditions are met, the interrogation request is sent from the channel subsystem 108 to the control unit 110 at step 1225. At step 1230, the control unit 110 receives the interrogation request. At step 1235, the control unit 110 sends an interrogation response to the channel subsystem 108, indicating the state of the I/O operation, the control unit 110, and the I/O device 112 executing the interrogate I/O operation. At step 1240, the interrogation response is received at the channel subsystem 108, which generates an interrupt to the OS. The OS receives the interrogate response at step 1245, creates a LOGREC entry to record the state information at the control unit and then proceeds with the heritage MIH processing as described above.
It should be appreciated that not all of the steps shown in
As described above, embodiments can be embodied in the form of computer-implemented processes and apparatuses for practicing those processes. In exemplary embodiments, the invention is embodied in computer program code executed by one or more network elements. Embodiments include a computer program product 1300 as depicted in
While the invention has been described with reference to exemplary embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed as the best mode contemplated for carrying out this invention, but that the invention will include all embodiments falling within the scope of the appended claims. Moreover, the use of the terms first, second, etc. do not denote any order or importance, but rather the terms first, second, etc., are used to distinguish one element from another. Furthermore, the use of the terms a, an, etc., do not denote a limitation of quantity, but rather denote the presence of at least one of the referenced item.
Number | Name | Date | Kind |
---|---|---|---|
3943283 | Caragliano et al. | Mar 1976 | A |
4004277 | Gavril | Jan 1977 | A |
4374415 | Cormier et al. | Feb 1983 | A |
4380046 | Frosch et al. | Apr 1983 | A |
4455605 | Cormier et al. | Jun 1984 | A |
4760518 | Potash et al. | Jul 1988 | A |
4779188 | Gum et al. | Oct 1988 | A |
4837677 | Burrus, Jr. et al. | Jun 1989 | A |
4866609 | Calta et al. | Sep 1989 | A |
4870566 | Cooper et al. | Sep 1989 | A |
5016160 | Lambeth et al. | May 1991 | A |
5031091 | Wakatsuki et al. | Jul 1991 | A |
5040108 | Kanazawa | Aug 1991 | A |
5386512 | Crisman et al. | Jan 1995 | A |
5388219 | Chan et al. | Feb 1995 | A |
5410727 | Jaffe et al. | Apr 1995 | A |
5434980 | Casper et al. | Jul 1995 | A |
5440729 | Kimura et al. | Aug 1995 | A |
5461721 | Cormier et al. | Oct 1995 | A |
5465359 | Allen et al. | Nov 1995 | A |
5500942 | Eickemeyer et al. | Mar 1996 | A |
5526484 | Casper et al. | Jun 1996 | A |
5528755 | Beardsley et al. | Jun 1996 | A |
5539918 | Allen et al. | Jul 1996 | A |
5546533 | Koyama | Aug 1996 | A |
5561809 | Elko et al. | Oct 1996 | A |
5584039 | Johnson et al. | Dec 1996 | A |
5600793 | Nord | Feb 1997 | A |
5613163 | Marron et al. | Mar 1997 | A |
5640600 | Satoh et al. | Jun 1997 | A |
5758190 | Johnson et al. | May 1998 | A |
5768620 | Johnson et al. | Jun 1998 | A |
5831985 | Sandorfi | Nov 1998 | A |
5860022 | Kondou et al. | Jan 1999 | A |
5894583 | Johnson et al. | Apr 1999 | A |
5901327 | Ofek | May 1999 | A |
5918028 | Silverthorn et al. | Jun 1999 | A |
6125399 | Hamilton | Sep 2000 | A |
6230218 | Casper et al. | May 2001 | B1 |
6343335 | Dahman et al. | Jan 2002 | B1 |
6347334 | Fredericks et al. | Feb 2002 | B1 |
6353612 | Zhu et al. | Mar 2002 | B1 |
6484217 | Fuente et al. | Nov 2002 | B1 |
6546435 | Yoshimura et al. | Apr 2003 | B1 |
6584511 | Marsh, III et al. | Jun 2003 | B1 |
6609161 | Young | Aug 2003 | B1 |
6647016 | Isoda et al. | Nov 2003 | B1 |
6651125 | Maergner et al. | Nov 2003 | B2 |
6658603 | Ward | Dec 2003 | B1 |
6693880 | Gregg et al. | Feb 2004 | B2 |
6694390 | Bogin et al. | Feb 2004 | B1 |
6751680 | Langerman et al. | Jun 2004 | B2 |
6772207 | Dorn et al. | Aug 2004 | B1 |
6826661 | Umbehocker et al. | Nov 2004 | B2 |
6839773 | Vishlitzky et al. | Jan 2005 | B2 |
6862322 | Ewen et al. | Mar 2005 | B1 |
6898202 | Gallagher et al. | May 2005 | B2 |
6915378 | Roberti | Jul 2005 | B2 |
7000036 | Carlson et al. | Feb 2006 | B2 |
7003700 | Elko et al. | Feb 2006 | B2 |
7020810 | Holman | Mar 2006 | B2 |
7035540 | Finan et al. | Apr 2006 | B2 |
7058735 | Spencer | Jun 2006 | B2 |
7100096 | Webb, Jr. et al. | Aug 2006 | B2 |
7111130 | Blake et al. | Sep 2006 | B2 |
7120728 | Krakirian et al. | Oct 2006 | B2 |
7124207 | Lee et al. | Oct 2006 | B1 |
7133988 | Fujibayashi | Nov 2006 | B2 |
7149823 | Miller et al. | Dec 2006 | B2 |
7164425 | Kwak et al. | Jan 2007 | B2 |
7202801 | Chou | Apr 2007 | B2 |
7277387 | Sanders et al. | Oct 2007 | B2 |
7315911 | Davies et al. | Jan 2008 | B2 |
7382733 | Banerjee et al. | Jun 2008 | B2 |
7395284 | Sato et al. | Jul 2008 | B2 |
7398335 | Sonksen et al. | Jul 2008 | B2 |
7484021 | Rastogi et al. | Jan 2009 | B2 |
7500030 | Hathorn et al. | Mar 2009 | B2 |
7539777 | Aitken | May 2009 | B1 |
7543087 | Philbrick et al. | Jun 2009 | B2 |
7555554 | Manders et al. | Jun 2009 | B2 |
7558827 | Kawashima et al. | Jul 2009 | B2 |
7564791 | Jayakrishnan et al. | Jul 2009 | B2 |
7577772 | Sonksen et al. | Aug 2009 | B2 |
7577773 | Gandhi et al. | Aug 2009 | B1 |
7594057 | Gandhi et al. | Sep 2009 | B1 |
7599360 | Edsall et al. | Oct 2009 | B2 |
7711871 | Haechten et al. | May 2010 | B1 |
7743197 | Chavan et al. | Jun 2010 | B2 |
7765336 | Butler et al. | Jul 2010 | B2 |
7826349 | Kaur et al. | Nov 2010 | B2 |
7840717 | Flanagan et al. | Nov 2010 | B2 |
7840718 | Ricci et al. | Nov 2010 | B2 |
7840719 | Casper et al. | Nov 2010 | B2 |
7856511 | Ricci et al. | Dec 2010 | B2 |
7941570 | Flanagan et al. | May 2011 | B2 |
20010030943 | Gregg et al. | Oct 2001 | A1 |
20020062407 | Tateyama et al. | May 2002 | A1 |
20020099967 | Kawaguchi | Jul 2002 | A1 |
20020152338 | Elliott et al. | Oct 2002 | A1 |
20020178404 | Austen et al. | Nov 2002 | A1 |
20030056000 | Mullendore et al. | Mar 2003 | A1 |
20030084213 | Brice, Jr. et al. | May 2003 | A1 |
20030158998 | Smith | Aug 2003 | A1 |
20030188053 | Tsai | Oct 2003 | A1 |
20030208581 | Behren et al. | Nov 2003 | A1 |
20040030822 | Rajan et al. | Feb 2004 | A1 |
20040054776 | Klotz et al. | Mar 2004 | A1 |
20040113772 | Hong Chou | Jun 2004 | A1 |
20040136241 | Rapp et al. | Jul 2004 | A1 |
20040151160 | Sanders et al. | Aug 2004 | A1 |
20040193968 | Dugan et al. | Sep 2004 | A1 |
20040210719 | Bushey et al. | Oct 2004 | A1 |
20040260851 | Tu | Dec 2004 | A1 |
20050018673 | Dropps et al. | Jan 2005 | A1 |
20050102456 | Kang | May 2005 | A1 |
20050105456 | Cookson et al. | May 2005 | A1 |
20050108251 | Hunt | May 2005 | A1 |
20050175341 | Ovadia | Aug 2005 | A1 |
20050204069 | Carlson et al. | Sep 2005 | A1 |
20050223291 | Zimmer et al. | Oct 2005 | A1 |
20050257118 | Shien | Nov 2005 | A1 |
20060036769 | Frey et al. | Feb 2006 | A1 |
20060050726 | Ahmed et al. | Mar 2006 | A1 |
20060085595 | Slater | Apr 2006 | A1 |
20060159112 | Sundaram et al. | Jul 2006 | A1 |
20060224795 | Muto et al. | Oct 2006 | A1 |
20070005838 | Chang et al. | Jan 2007 | A1 |
20070016554 | Dapp et al. | Jan 2007 | A1 |
20070061463 | Hiramatsu et al. | Mar 2007 | A1 |
20070072543 | Paila et al. | Mar 2007 | A1 |
20070079051 | Tanaka et al. | Apr 2007 | A1 |
20070091497 | Mizuno et al. | Apr 2007 | A1 |
20070162631 | Balakrishnan et al. | Jul 2007 | A1 |
20070174544 | Yasuda et al. | Jul 2007 | A1 |
20070239944 | Rupanagunta et al. | Oct 2007 | A1 |
20070294697 | Theimer et al. | Dec 2007 | A1 |
20080040519 | Starr et al. | Feb 2008 | A1 |
20080059638 | Hathorn et al. | Mar 2008 | A1 |
20080147889 | Casper et al. | Jun 2008 | A1 |
20080147890 | Casper et al. | Jun 2008 | A1 |
20080183877 | Carlson et al. | Jul 2008 | A1 |
20080235553 | Chintada et al. | Sep 2008 | A1 |
20080256264 | Muto et al. | Oct 2008 | A1 |
20080273518 | Pratt et al. | Nov 2008 | A1 |
20080307122 | Butler et al. | Dec 2008 | A1 |
20090055585 | Fernandes et al. | Feb 2009 | A1 |
20090144586 | Casper et al. | Jun 2009 | A1 |
20090172203 | Casper et al. | Jul 2009 | A1 |
20090210557 | Gainey, Jr. et al. | Aug 2009 | A1 |
20090210559 | Flanagan et al. | Aug 2009 | A1 |
20090210561 | Ricci et al. | Aug 2009 | A1 |
20090210562 | Huang et al. | Aug 2009 | A1 |
20090210563 | Flanagan et al. | Aug 2009 | A1 |
20090210564 | Ricci et al. | Aug 2009 | A1 |
20090210570 | Bendyk et al. | Aug 2009 | A1 |
20090210571 | Casper et al. | Aug 2009 | A1 |
20090210572 | Yudenfriend et al. | Aug 2009 | A1 |
20090210573 | Yudenfriend et al. | Aug 2009 | A1 |
20090210576 | Casper et al. | Aug 2009 | A1 |
20090210579 | Bendyk et al. | Aug 2009 | A1 |
20090210580 | Bendyk et al. | Aug 2009 | A1 |
20090210581 | Flanagan et al. | Aug 2009 | A1 |
20090210582 | Bendyk et al. | Aug 2009 | A1 |
20090210583 | Bendyk et al. | Aug 2009 | A1 |
20090210584 | Carlson et al. | Aug 2009 | A1 |
20090210585 | Ricci et al. | Aug 2009 | A1 |
20090210768 | Carlson et al. | Aug 2009 | A1 |
20090210769 | Casper et al. | Aug 2009 | A1 |
20090210884 | Ricci et al. | Aug 2009 | A1 |
20090307388 | Tchapda | Dec 2009 | A1 |
20100014526 | Chavan et al. | Jan 2010 | A1 |
20100064072 | Tang et al. | Mar 2010 | A1 |
Number | Date | Country |
---|---|---|
3931514 | Mar 1990 | DE |
1264096 | Feb 1972 | GB |
2291990 | Feb 1996 | GB |
63236152 | Oct 1988 | JP |
2010-140127 | Jun 2010 | JP |
WO2006102664 | Sep 2006 | WO |
Number | Date | Country | |
---|---|---|---|
20090210560 A1 | Aug 2009 | US |