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> |
||
---|---|---|
.. | ||
bit_array.c | ||
fd.c | ||
io_channel.c | ||
Makefile | ||
string.c |