System and method for user space operations for direct I/O between an application instance and an I/O adapter
First Claim
1. A method, in a data processing system, for managing user space operations, comprising:
- receiving, in the data processing system, a user space operation from a user management interface;
determining if the user space operation is a resource management operation or a processing queue operation;
performing one or more resource management operations to either create, modify, query or destroy a resource allocation if the user space operation is a resource management operation; and
performing one or more processing queue operations to either insert a work queue entry in a work queue to send an out of user space input/output (I/O) operation directly to an I/O adapter without intervention by an operating system or system image, or to retrieve, directly from the I/O adapter without intervention by an operating system or system image, a completion queue entry from a completion queue for a completed out of user space input/output operation, if the user space operation is a processing queue operation.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides a system, method, and computer program product that enables application instances to pass block mode storage requests directly to a physical I/O adapter without run-time involvement from the local operating system or hypervisor. In one aspect of the present invention, a mechanism is provided for determining whether a user space operation is a resource management operation of a work processing operation. If the user space operation is a resource management operation, appropriate functions are performed to either query, create, modify or destroy resource allocations in the I/O adapter. If the user space operation is a work processing operation, appropriate functions are performed to either create work queue entries and inform the I/O adapter of the work queue entries or to retrieve completion queue entries for work queue entries whose processing has been completed by the I/O adapter.
113 Citations
20 Claims
-
1. A method, in a data processing system, for managing user space operations, comprising:
-
receiving, in the data processing system, a user space operation from a user management interface;
determining if the user space operation is a resource management operation or a processing queue operation;
performing one or more resource management operations to either create, modify, query or destroy a resource allocation if the user space operation is a resource management operation; and
performing one or more processing queue operations to either insert a work queue entry in a work queue to send an out of user space input/output (I/O) operation directly to an I/O adapter without intervention by an operating system or system image, or to retrieve, directly from the I/O adapter without intervention by an operating system or system image, a completion queue entry from a completion queue for a completed out of user space input/output operation, if the user space operation is a processing queue operation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer program product comprising a computer useable medium having a computer readable program, wherein the computer readable program, when executed on computing device, causes the computing device to:
-
receive a user space operation from a user management interface;
determine if the user space operation is a resource management operation or a processing queue operation;
perform one or more resource management operations to either create, modify, query or destroy a resource allocation if the user space operation is a resource management operation; and
perform one or more processing queue operations to either insert a work queue entry in a work queue to send an out of user space input/output (I/O) operation directly to an I/O adapter without intervention by an operating system or system image, or to retrieve, directly from the I/O adapter without intervention by an operating system or system image, a completion queue entry from a completion queue for a completed out of user space input/output operation, if the user space operation is a processing queue operation. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A data processing system, comprising:
-
a host system; and
an input/output (I/O) adapter coupled to the host system, wherein the host system;
receives a user space operation from a user management interface;
determines if the user space operation is a resource management operation or a processing queue operation;
performs one or more resource management operations to either create, modify, query or destroy a resource allocation if the user space operation is a resource management operation; and
performs one or more processing queue operations to either insert a work queue entry in a work queue to send an out of user space I/O operation directly to the I/O adapter without intervention by an operating system or system image, or to retrieve, directly from the I/O adapter without intervention by an operating system or system image, a completion queue entry from a completion queue for a completed out of user space input/output operation, if the user space operation is a processing queue operation.
-
Specification