RE: [PATCH rdma-next 5/6] RDMA/{cma, core}: Avoid callback on rdma_addr_cancel()

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

 



> Currently rdma_addr_cancel() is an async operation, which notifies
> that cancel is done by executing the callback function given during
> rdma_resolve_ip(). If resolve_ip request is already completed than
> callback is not executed.
> 
> Instead, now rdma_resolve_addr() and rdma_addr_cancel() simplified in
> following ways.
> 1. rdma_addr_cancel() now a synchronous method. If request was
> pending, after it is cancelled, no callback is notified.

There's no way for a caller to know if a callback will be invoked or not after rdma_addr_cancel() returns.  A callback could already be in progress (but not yet hit the caller's code) when they call cancel.

- Sean




[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