Patent ID: 8996741
Filing Date: 2015-03-31
Classification: G06F

Abstract:
1. A computer program product comprising a non-transitory computer readable medium having a computer readable program stored therein, wherein the computer readable program, when executed on a data processing system, causes the data processing system to: receive from an Input/Output (IO) adapter associated with the data processing system, an error event notification; store, in response to the error event notification, a snapshot of a RDMA resource associated with the error event notification; tear down the RDMA resource in response to the error event notification; and free memory associated with the RDMA resource in response to tearing down the RDMA resource, wherein the snapshot stores contents of the RDMA resource, wherein: the snapshot is stored in kernelspace in a flight recorder data structure of an IO adapter device driver corresponding to the IO adapter, storing the snapshot comprises, performing a lookup operation in a mapping data structure of cross memory map information corresponding to the resource identifier, invoking a cross memory map (xmap) service of a kernel to perform a cross memory read of the userspace RDMA resource, and performing a write of the contents of the userspace RDMA resource into an entry in the flight recorder data structure, and the error event notification comprises a resource identifier of a resource associated with an error event detected by the IO adapter.