mbox series

[for-next,0/3] rtrs bugfix and cleanups

Message ID 1681108984-2-1-git-send-email-lizhijian@fujitsu.com (mailing list archive)
Headers show
Series rtrs bugfix and cleanups | expand

Message

Zhijian Li (Fujitsu) April 10, 2023, 6:43 a.m. UTC
It's trying to fix 2 issues caused by the following script which
connect/disconnect rnbd frequently.

# cat rnbd-self.sh 
#!/bin/bash

/root/rpma/tools/config_softroce.sh eth0
modprobe rnbd_server
modprobe rnbd_client

while true;
do
        echo "sessname=xyz path=ip:<server-ip> device_path=/dev/nvme0n1" > /sys/devices/virtual/rnbd-client/ctl/map_device
        for i in /sys/block/rnbd*/rnbd/unmap_device
        do
                echo "normal" > $i
        done
done

Li Zhijian (3):
  RDMA/rtrs: remove duplicate cq_num assignment
  RDMA/rtrs: Fix rxe_dealloc_pd warning
  RDMA/rtrs: Fix use-after-free in rtrs_clt_rdma_cm_handler

 drivers/infiniband/ulp/rtrs/rtrs-clt.c | 19 ++++++++++++++-----
 drivers/infiniband/ulp/rtrs/rtrs-clt.h |  1 +
 2 files changed, 15 insertions(+), 5 deletions(-)