linux-stable/net/sunrpc/xprtrdma
Jason Gunthorpe 7dd78647a2 IB/core: Make ib_dealloc_pd return void
The majority of callers never check the return value, and even if they
did, they can't do anything about a failure.

All possible failure cases represent a bug in the caller, so just
WARN_ON inside the function instead.

This fixes a few random errors:
 net/rd/iw.c infinite loops while it fails. (racing with EBUSY?)

This also lays the ground work to get rid of error return from the
drivers. Most drivers do not error, the few that do are broken since
it cannot be handled.

Since uverbs can legitimately make use of EBUSY, open code the
check.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-08-30 18:12:39 -04:00
..
fmr_ops.c xprtrdma: Reduce per-transport MR allocation 2015-06-12 13:10:37 -04:00
frwr_ops.c xprtrdma, svcrdma: Convert to ib_alloc_mr 2015-08-30 18:08:45 -04:00
Makefile rpcrdma: Merge svcrdma and xprtrdma modules into one 2015-06-04 16:56:02 -04:00
module.c rpcrdma: Merge svcrdma and xprtrdma modules into one 2015-06-04 16:56:02 -04:00
physical_ops.c xprtrdma: Remove ->ro_reset 2015-06-12 13:10:37 -04:00
rpc_rdma.c xprtrdma: Acquire MRs in rpcrdma_register_external() 2015-06-12 13:10:37 -04:00
svc_rdma.c rpcrdma: Merge svcrdma and xprtrdma modules into one 2015-06-04 16:56:02 -04:00
svc_rdma_marshal.c svcrdma: Keep rpcrdma_msg fields in network byte-order 2015-06-04 16:55:59 -04:00
svc_rdma_recvfrom.c svcrdma: Use max_sge_rd for destination read depths 2015-08-28 23:02:11 -04:00
svc_rdma_sendto.c svcrdma: Replace GFP_KERNEL in a loop with GFP_NOFAIL 2015-06-04 16:56:00 -04:00
svc_rdma_transport.c svcrdma: limit FRMR page list lengths to device max 2015-08-30 18:08:46 -04:00
transport.c NFS client updates for Linux 4.2 2015-07-02 11:32:23 -07:00
verbs.c IB/core: Make ib_dealloc_pd return void 2015-08-30 18:12:39 -04:00
xprt_rdma.h NFS client updates for Linux 4.2 2015-07-02 11:32:23 -07:00