Re: question re: CM_EVENT_DEVICE_REMOVAL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 3/29/2018 4:01 PM, Chuck Lever wrote:
> Hi-
>
> I've been experimenting with the DEVICE_REMOVAL event on the
> NFS/RDMA server, and noticed that there is a DEVICE_REMOVAL
> event for IDs associated with a remote connection, but there
> does not seem to be a a DEVICE_REMOVAL upcall for listener IDs. 
>
> Is this correct API behavior?
>
> --
> Chuck Lever
>

I think you will see DEVICE_REMOVAL events only if the listen was done
on a cm_id that was bound to a specific address and thus actually is
associated with a device.   Thus listening cm_ids bound to INADDR_ANY
won't get DEVICE_REMOVAL events.  The idea is that if the app listens on
INADDR_ANY, it doesn't need to know if a single device comes or goes...




--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux