numam-spdk/lib/util
Jim Harris a8d3ac0cf4 io_channel: invoke unregister_cb on same thread unregister was called
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>
2018-03-19 21:50:19 -04:00
..
bit_array.c
cpuset.c lib/util: return const pointer from spdk_cpuset_fmt 2018-02-20 13:05:36 -05:00
crc16.c
crc32_ieee.c
crc32.c
crc32c.c
fd.c
io_channel.c io_channel: invoke unregister_cb on same thread unregister was called 2018-03-19 21:50:19 -04:00
Makefile util: add uuid.h to wrap libuuid 2018-03-08 10:49:51 -05:00
strerror_tls.c util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
string.c util: add spdk_mem_all_zero() function 2018-02-23 10:05:32 -05:00
uuid.c util: add uuid.h to wrap libuuid 2018-03-08 10:49:51 -05:00