Spdk/lib/util
Jim Harris 5533c3d208 util: defer put_io_channel
With vbdevs, there are many more cases where the last
(or only) channel for a given I/O device may be destroyed
in the context of the poller for that I/O device.  To
avoid returning to the poller and having it check
for data on a resource that was just released, instead
defer the actual put_io_channel work via
spdk_thread_send_msg().

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ic99776bddbe9a305f221f8c094ea97dce2d6df0b

Reviewed-on: https://review.gerrithub.io/368619
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-07-12 12:42:56 -04:00
..
bit_array.c env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00
fd.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
io_channel.c util: defer put_io_channel 2017-07-12 12:42:56 -04:00
Makefile env: Move pci.c from util to env 2016-10-05 11:53:24 -07:00
string.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00