]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rpcrdma: Implement generic device removal
authorChuck Lever <chuck.lever@oracle.com>
Tue, 4 Jun 2024 19:45:24 +0000 (15:45 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 8 Jul 2024 17:47:24 +0000 (13:47 -0400)
commit7e86845a0346efc95fddaa97ce5cd6a8bda8c71c
tree0467a224e178d9b99ae04327a5ded9843f0743e4
parentacd9f2dd23c632568156217aac7a05f5a0313152
rpcrdma: Implement generic device removal

Commit e87a911fed07 ("nvme-rdma: use ib_client API to detect device
removal") explains the benefits of handling device removal outside
of the CM event handler.

Sketch in an IB device removal notification mechanism that can be
used by both the client and server side RPC-over-RDMA transport
implementations.

Suggested-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/linux/sunrpc/rdma_rn.h [new file with mode: 0644]
include/trace/events/rpcrdma.h
net/sunrpc/xprtrdma/Makefile
net/sunrpc/xprtrdma/ib_client.c [new file with mode: 0644]
net/sunrpc/xprtrdma/module.c