a8d3ac0cf4
The unregister callback is only invoked after all I/O channels related to the I/O device have been freed. The last I/O channel to be freed might be on a thread different than the thread where spdk_io_device_unregister was called. If this is the case, send an event to the latter thread so that the callback gets called on the same thread as spdk_io_device_unregister. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I3c910198fbd83eae95e5c57d618284e64db46ff7 Reviewed-on: https://review.gerrithub.io/404414 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> |
||
---|---|---|
.. | ||
bit_array.c | ||
cpuset.c | ||
crc16.c | ||
crc32_ieee.c | ||
crc32.c | ||
crc32c.c | ||
fd.c | ||
io_channel.c | ||
Makefile | ||
strerror_tls.c | ||
string.c | ||
uuid.c |