Methods and systems for canceling requests for the transmission of data
First Claim
1. In a computer with a stack of input/output drivers, a method for canceling a request for a transmission of data, the request for the transmission of data being handled by drivers in the stack, one input/output driver being higher in the stack than another input/output driver, the method comprising:
- associating, by a high-level input/output driver a cancel identifier with the request for the transmission of data;
requesting service of a lower-level input/output driver, where the request for service includes the cancel identifier;
requesting that the lower-level input/output driver cancel the request for service, the request for service identified by the associated cancel identifier; and
canceling the request for service if the lower-level input/output driver determines that the request for service can still be canceled, whereby the high-level input/output driver cancels the request for the transmission of data, wherein the step of associating comprises associating a cancel identifier that has been used with another request for a transmission of data.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods are provided that allow high-level protocol drivers to cancel transmission requests that have been sent to low-level protocol drivers. Transmission requests are assigned cancel identifiers. Because one original request may be divided into several packets for transmission, the same cancel identifier is given to every packet that derives from the original request. High-level protocol drivers can request cancellation of all pending requests whose cancel identifiers match the one indicated. Cancel identifiers generated by different high-level protocol drivers are mutually distinct so one protocol driver cannot inadvertently cancel requests made by another. The protocol driver may divide its requests into logical flows and assign the same cancel identifier to all requests within one flow. Then, the protocol driver may cancel all pending requests within one flow while allowing requests in other flows to proceed to transmission. An application can use these methods to cancel requests sent to high-level protocol drivers.
-
Citations
15 Claims
-
1. In a computer with a stack of input/output drivers, a method for canceling a request for a transmission of data, the request for the transmission of data being handled by drivers in the stack, one input/output driver being higher in the stack than another input/output driver, the method comprising:
-
associating, by a high-level input/output driver a cancel identifier with the request for the transmission of data;
requesting service of a lower-level input/output driver, where the request for service includes the cancel identifier;
requesting that the lower-level input/output driver cancel the request for service, the request for service identified by the associated cancel identifier; and
canceling the request for service if the lower-level input/output driver determines that the request for service can still be canceled, whereby the high-level input/output driver cancels the request for the transmission of data, wherein the step of associating comprises associating a cancel identifier that has been used with another request for a transmission of data. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. In a computer with a stack of input/output drivers, a method for canceling a request for a transmission of data, the request for the transmission of data being handled by drivers in the stack, one input/output driver being higher in the stack than another input/output driver, the method comprising:
-
associating a cancel identifier with the request for the transmission of data wherein the cancel identifier has been used with another request for a transmission of data;
requesting service of the lower-level input/output driver, where the request for service includes the cancel identifier;
requesting that the lower-level input/output driver cancel the request for service, the request for service identified by the associated cancel identifier; and
canceling the request for service if the lower-level input/output driver determines that the request for service can still be canceled, whereby the high-level input/output driver cancels the request for the transmission of data. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer-readable medium containing instructions for performing a method for canceling a request for a transmission of data, the request for the transmission of data being handled by drivers in a stack of input/output drivers, one input/output driver being higher in the stack than another input/output driver, the method comprising:
-
associating a cancel identifier with the request for the transmission of data wherein the cancel identifier has been used with another request for a transmission of data;
requesting service of the lower-level input/output driver, where the request for service includes the cancel identifier;
requesting that the lower-level input/output driver cancel the request for service, the request for service identified by the associated cancel identifier; and
canceling the request for service if the lower-level input/output driver determines that the request for service can still be canceled, whereby the high-level input/output driver cancels the request for the transmission of data.
-
Specification