Spdk/lib/vhost
Tomasz Zawadzki eef6af95d1 vhost_blk: separate out generic virtio_blk request processing
This patch adds process_virtio_blk_request() that will be called
by virtio_blk transports to process incoming requests.

Meanwhile vhost_user_blk_request_finish() will be replaced with
a callback to the virtio_blk transport to notify of the result.

blk_request_finish() should only be called as direct result of
process_virtio_blk_request(), usually from it.
Some error paths now call vhost_user_blk_request_finish() directly,
if vhost_user_process_blk_request() was not called yet.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I0cce22f15b922fe45f30fb659c384b6e836def4c
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9537
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: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2022-04-27 08:51:55 +00:00
..
Makefile so_ver: increase all major versions 2022-01-31 15:29:56 +00:00
rte_vhost_user.c lib/vhost: move vhost_user related fields from spdk_vhost_dev 2022-04-15 07:49:32 +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 vhost_blk: separate out generic virtio_blk request processing 2022-04-27 08:51:55 +00:00
vhost_internal.h lib/vhost_blk: split up vhost_blk task 2022-04-27 08:51:55 +00:00
vhost_rpc.c vhost: parse JSON vhost_blk devices specific params 2022-04-11 07:44:09 +00:00
vhost_scsi.c lib/vhost: move vhost_user related fields from spdk_vhost_dev 2022-04-15 07:49:32 +00:00
vhost.c lib/vhost: separate out vhost_user specific json config 2022-04-15 07:49:32 +00:00