Re: [PATCH RFC] RDMA/rtrs: Don't call kobject_del for srv_path->kobj

From: lizhijian@xxxxxxxxxxx
Date: Thu Feb 02 2023 - 02:29:32 EST




On 02/02/2023 12:09, Guoqing Jiang wrote:
>>
>
> Suppose it also happened during run your script, I guess it might be some
> racy conditions.
That's true


>
> $ while true;
> do
>         echo "sessname=foo path=ip:<ip address> device_path=/dev/nvme0n1" > /sys/devices/virtual/rnbd-client/ctl/map_device
>         echo "normal" > /sys/block/rnbd0/rnbd/unmap_device
> done
>
>
> Or does it disappear after revert 6af4609c18b3? If so, we can revert it
> first.

Well, everything goes well after i reverted 6af4609c18b3.

Thanks
Zhijian
>
> Thanks,
> Guoqing