If there is still some inflight IO which prevents vhost_session_stop_done(), stop_poller can try within 4 seconds, and then call vhost_session_stop_done with -ETIMEDOUT. This can avoid endless blocking in ctrl pthread if there is no response from vhost session or its backend bdev. Then spdk vhost target can still serve all other vhost devices and operations besides the error one. Change-Id: I2fc78b4da926c936a2e42dc0e66ce1c60001330d Signed-off-by: Liu Xiaodong <xiaodong.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10393 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
rte_vhost_compat.c | ||
spdk_vhost.map | ||
vhost_blk.c | ||
vhost_internal.h | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost.c |