×

Cancel instruction and command for determining the state of an I/O operation

  • US 8,166,206 B2
  • Filed: 02/14/2008
  • Issued: 04/24/2012
  • Est. Priority Date: 02/14/2008
  • Status: Active Grant
First Claim
Patent Images

1. A non-transitory computer program product for determining a state of an input/output (I/O) operation in an I/O processing system, the I/O operation having an associated time limit, comprising:

  • a tangible storage medium readable by a processing circuit and storing instructions for executing by the processing circuit for performing a method comprising;

    receiving a request from an operating system at a channel subsystem for initiating the I/O operation;

    retrieving an I/O operation command from a location in memory specified by a command field in a transport control word (TCW), the TCW comprising the command field and an interrogate field;

    sending the I/O operation command for initiating the I/O operation from the channel subsystem to the control unit;

    responsive to a determination by the operating system that the time limit is nearing elapsing without the I/O operation completing, determining whether to send an interrogate command to the control unit, to request a response from the control unit indicating the state of the I/O operation being executed by an I/O device controlled by the control unit; and

    responsive to determining whether to send the interrogate command, retrieving an interrogate command address by the channel subsystem from an interrogate field in the TCW, and responsive to the interrogate command address having a non-zero value, retrieving the interrogate command from a location in memory specified by the interrogate command address.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×