0441ffcc05
There is a race condition here, where kernel could have outstanding I/O to nbd device at the same time we terminate the nbd application. In this case, we cannot free the spdk_nbd_disk since it contains the io structure that will be referenced when the SPDK poller completes one of those I/O. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I1bde240af904957f4d2bfa358dc673105d266986 Reviewed-on: https://review.gerrithub.io/385927 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Ziye Yang <optimistyzy@gmail.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
nbd.c |