09e3f4e3db
qpair_disconnect has previously presented an entirely synchronous API. However, it relies on other asynchronous operations to complete its task. By giving it an asynchronous API, we can avoid possible race conditions. Patch 1 of several. Change-Id: If9e26ee70ae5d6c0273750226b4408a8e4587e19 Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/417345 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>