Patent ID: 8244939

Claim:
A method for maximizing I/O requests to a target port, comprising: obtaining, by a controller comprising the target port, an initiator allowed queue depth; receiving, by the target port, a new I/O request and a current sequence identifier from a first initiator logged into the target port, wherein the initiator allowed queue depth is the maximum number of outstanding I/O requests the target port can accept for the first initiator; and determining, by the controller, if the initiator allowed queue depth is equal to a first queue depth, wherein the first queue depth corresponds to the first initiator; if the initiator allowed queue depth is equal to the first queue depth then returning, by the controller, a queue full indication and a maximum sequence identifier to the first initiator, wherein the maximum sequence identifier is equal to the current sequence identifier from the first initiator; if the initiator allowed queue depth is not equal to the first queue depth then: placing, by the controller, the new I/O request on a queue; incrementing, by the controller, the first queue depth; and adjusting, by the controller, the maximum sequence identifier, wherein adjusting the maximum sequence identifier comprises: adding the current sequence identifier to the initiator allowed queue depth; and subtracting the first queue depth from the sum of the current sequence identifier and the initiator allowed queue depth.