Spdk/lib/vhost
Tomasz Zawadzki c706c20c50 lib/vhost: move pending_async_op_num from generic vhost
pending_async_op_num is specific to vhost_user.
To prepare for virtio_blk transport abstraction,
checking for the pending operations is moved to vhost_user
specific code from vhost_blk.

Ideally the vhost_user_dev_unregister() should be the only
function that checks this field, but due to
order of calls in vhost_scsi it needs to remain there separetly.
This should not pose any issue, as vhost_scsi is still dependent
directly on vhost_user.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I53dde73766dcf8596715560f6909a4679f8da930
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11811
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2022-03-23 09:02:09 +00:00
..
Makefile so_ver: increase all major versions 2022-01-31 15:29:56 +00:00
rte_vhost_user.c lib/vhost: move pending_async_op_num from generic vhost 2022-03-23 09:02:09 +00: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 lib/vhost: move rest of vsession managment to rte_vhost_user 2022-03-02 08:29:52 +00:00
vhost_internal.h lib/vhost: move vhost_user init thread tracking 2022-03-02 08:29:52 +00:00
vhost_rpc.c vhost-blk: recover ring base when reconnect 2021-01-15 08:30:18 +00:00
vhost_scsi.c lib/vhost: move pending_async_op_num from generic vhost 2022-03-23 09:02:09 +00:00
vhost.c lib/vhost: move pending_async_op_num from generic vhost 2022-03-23 09:02:09 +00:00