Passthrough bdev module sets the passed bdev_io to the cb_arg of the bdev_io submitted to the underlying bdev. Hence call spdk_bdev_abort() with bdev_io->u.abort.bio_to_abort for the I/O type ABORT. Passthrough bdev module returns the supported I/O type of the underlying bdev. Hence vbdev_passthru_io_type_supported() is not necessary to change. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ifb7627a92409649ab08ae233ba517fbc1bc55a9f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2799 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
vbdev_passthru_rpc.c | ||
vbdev_passthru.c | ||
vbdev_passthru.h |