+6
−0
+25
−3
Loading
To safely access the global pci device list on an spdk thread, we'll need not to modify this list on any other thread. When device gets hotremoved on a dpdk thread, it will now set a new per-device `removed` flag. Then any subsequently called public pci function will remove it from the list. Change-Id: I0f16237617e0bea75b322ab402407780616424c3 Signed-off-by:Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/458931 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>