RE: [PATCH] Avoid possible hang on device removal

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

 



> 
> When we get an RDMA_CM_EVENT_DEVICE_REMOVAL the cm_thread will
> exit and because flush errors are ignored the cb->sem may not get signaled.
> So just signal on device removal event.
> 
> Signed-off-by: Mustafa Ismail <mustafa.ismail@xxxxxxxxx>

Looks good.

Reviewed-by: Steve Wise <swise@xxxxxxxxxxxxxxxxxxxxx>

Also, this fixes a previous commit, so you could add this tag:

Fixes 612eae1f6fe3 ("rping: ignore flushed completions")

However that commit id is from the previous librdmacm repo...not sure how useful
it is?

Steve.



--
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