process_blk_request() accepted spdk_vhost_blk_session argument which is specific for vhost_user. In preparation to making this function usable outside of vhost_user, replace this field with struct spdk_io_channel and spdk_vhost_dev. For this purpose vhost_user_process_blk_request() was created to translate from spdk_vhost_blk_task to the generic arguments. to_blk_dev() was moved further up so it can be more commonly used throughout the file. Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Ie61a1ae2a615c4f1a95601e533b9eec51998cd07 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12333 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> |
||
---|---|---|
.. | ||
Makefile | ||
rte_vhost_user.c | ||
spdk_vhost.map | ||
vhost_blk.c | ||
vhost_internal.h | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost.c |