Spdk/module
Shuhei Matsumoto d4558c6132 bdev/nvme: Reduce conversion between spdk_bdev_io and nvme_bdev_io
We can hold bdev_io directly in nvme_bdev_ctrlr as an outstanding reset.

We can put spdk_bdev_io_from_ctx(bio) into a parameter for a few
functions because it is used only once in a function.

Passing not spdk_bdev_io but nvme_bdev_io to bdev_nvme_verify_pi_error()
remove unnecessary substitution.

This is a little more efficient and simplifies the implementation.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: If49ad9fa42abf27decf3afcd8c994f55faa3bc70
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8094
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2021-06-02 11:37:58 +00:00
..
accel accel_engine/ioat: If no ioat devices found, we should return. 2021-05-13 10:18:48 +00:00
bdev bdev/nvme: Reduce conversion between spdk_bdev_io and nvme_bdev_io 2021-06-02 11:37:58 +00:00
blob module/blob/bdev: use __SPDK_BDEV_MODULE_ONLY 2021-05-11 11:57:01 +00:00
blobfs so_ver: increase all major versions 2021-02-05 14:43:47 +00:00
env_dpdk so_ver: increase all major versions 2021-02-05 14:43:47 +00:00
event event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
sock sock/posix: Avoid extra readv calls after draining recv_pipe 2021-05-20 15:14:08 +00:00
Makefile build: install generated pkg-config files 2021-03-17 11:10:45 +00:00