Patent ID: 9021148
Filing Date: 2015-04-28
Classification: G06F

Abstract:
1. A method, in a data processing system comprising a processor and a memory, for providing an early warning of an error state of a remote direct memory access (RDMA) resource to a userspace application, the method comprising: detecting, by kernelspace logic resident in a kernelspace of the data processing system, an error event having occurred; performing, by the kernelspace logic, a write operation to write an error state value to a userspace shared memory state data structure indicating the RDMA resource to be in an error state; detecting, by userspace logic of the data processing system, the RDMA resource being in an error state by reading the error state value from the userspace shared memory state data structure in response to a userspace application attempting to perform a RDMA operation using the RDMA resource; and initiating, by the userspace logic, an operation to tear down the RDMA resource in response to detecting the RDMA resource being in the error state.