Spdk/lib/vhost
Liu Xiaodong 6d5594147b vhost: set timeout for session's stop_poller
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>
2022-06-30 13:32:30 -04:00
..
Makefile so_ver: increase all major versions 2021-02-05 14:43:47 +00:00
rte_vhost_compat.c lib/vhost: Fix compilation with dpdk 21.11 2022-06-30 13:32:27 -04:00
spdk_vhost.map lib/vhost: Remove and inline spdk_vhost_blk_get_dev 2020-06-08 09:28:27 +00:00
vhost_blk.c vhost: set timeout for session's stop_poller 2022-06-30 13:32:30 -04:00
vhost_internal.h vhost: set timeout for session's stop_poller 2022-06-30 13:32:30 -04:00
vhost_rpc.c vhost-blk: recover ring base when reconnect 2021-01-15 08:30:18 +00:00
vhost_scsi.c vhost: set timeout for session's stop_poller 2022-06-30 13:32:30 -04:00
vhost.c vhost: set timeout for session's stop_poller 2022-06-30 13:32:30 -04:00