Spdk/module/bdev
Shuhei Matsumoto 7b9b1eefc0 bdev/nvme: Pass nvme_io_channel instead of spdk_io_channel as a parameter to I/O APIs
_bdev_nvme_submit_request() already has a pointer to nvme_io_channel.
Passing nvme_io_channel simply to I/O APIs will be reasonable
simplification.

Two admin APIs, bdev_nvme_abort() and bdev_nvme_admin_passthru()
get the associated thread to the spdk_io_channel and set it to
nvme_bdev_io. These APIs get spdk_io_channal from nvme_io_channel using
the container_of macro. These APIs are not performance sensitive.
Using the contaier_of macro will be better than extracting the operation
from these APIs because we can keep the changes local to these APIs.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I67985075d70551e4fe3bb84dfee15f1e4e882451
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4384
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-09-30 07:25:54 +00:00
..
aio bdev/aio: assign new io-ctx to each io-ch 2020-09-15 07:14:18 +00:00
compress bdev/compress: rename RPC to match standard naming 2020-09-14 09:19:19 +00:00
crypto bdev/crypto: Stop access bdev_io->internal from bdev module and fix an issue 2020-05-21 09:19:23 +00:00
delay bdev/delay: Return poller status based on completions number 2020-07-08 07:54:38 +00:00
error lib and module: remove remaining _spdk prefixes. 2020-06-01 13:07:30 +00:00
ftl mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
gpt bdev/gpt: Change ERRLOG to DEBUGLOG to show interleaved metadata is not supported 2020-09-04 15:12:48 +00:00
iscsi pollers: Fix pollers to return correct busy status 2020-07-07 07:29:31 +00:00
lvol build: cleanup LOCAL_SYS_LIBS for uuid 2020-09-29 09:36:25 +00:00
malloc build: cleanup LOCAL_SYS_LIBS for uuid 2020-09-29 09:36:25 +00:00
null bdev/null: make md_size inclusive for dif_type 2020-08-31 07:47:48 +00:00
nvme bdev/nvme: Pass nvme_io_channel instead of spdk_io_channel as a parameter to I/O APIs 2020-09-30 07:25:54 +00:00
ocf bdev/ocf: add cache line size 2020-08-12 10:39:56 +00:00
passthru bdev/passthru: Support I/O type ABORT 2020-06-09 07:37:29 +00:00
pmem mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
raid module/bdev_raid: remove an ERROR log which occurs every times 2020-08-25 08:02:37 +00:00
rbd bdev/rbd: Still use rbd_aio_read/write if iovcnt=1 2020-09-11 07:29:20 +00:00
split mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
uring bdev/uring: Do not use IORING_SETUP_IOPOLL. 2020-08-04 18:27:56 +00:00
virtio virtio: fix scsi double free issue 2020-07-30 08:43:23 +00:00
zone_block mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
Makefile bdev: move bdev_rpc library contents 2020-09-25 11:43:42 +00:00