numam-spdk/lib/util
Dariusz Stojaczyk 931e3d51d9 util: call for_each_channel completion in original thread
As specified in the doc of spdk_for_each_channel:
```
Once 'fn' has been called on each channel, 'cpl' will be called
on the thread that spdk_for_each_channel was initially called from.
```

Fixes: ff87d29cc3 ("io_channel: Add mechanism to call a function on
each channel")

Change-Id: Ic60b061ec402672f510d99697943e96ff9a73417
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/369719
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2017-07-17 15:20:10 -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: call for_each_channel completion in original thread 2017-07-17 15:20:10 -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