Spdk/module/bdev/nvme
Jim Harris acfb968aa8 bdev/nvme: avoid spdk_bdev_io_get_buf call when possible
The bdev layer nicely handles the case where we call this
function with the buffers already present - it just
immediately calls the get_buf_cb.  But this adds extra
overhead in the case where the buffer is already present.
Since nvme has no alignment restrictions, we can just
check the iovs directly and avoid the extra call to
spdk_bdev_io_get_buf when possible.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I66df0fde574a35e995a3432999d75bdbf9b27212
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4317
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2020-09-23 08:12:23 +00:00
..
bdev_nvme_cuse_rpc.c module/bdev_nvme: remove spdk prefix from static/internal functions. 2020-05-15 07:58:03 +00:00
bdev_nvme_rpc.c module/bdev_rpc: modify detach_ctrlr rpc to accept trid. 2020-08-11 08:29:14 +00:00
bdev_nvme.c bdev/nvme: avoid spdk_bdev_io_get_buf call when possible 2020-09-23 08:12:23 +00:00
bdev_nvme.h module/bdev: add a function to remove trid from ctrlr. 2020-08-07 15:06:01 +00:00
bdev_ocssd_rpc.c bdev/ocssd: fixed leaking range buffer 2019-12-23 08:43:34 +00:00
bdev_ocssd.c pollers: Fix pollers to return correct busy status 2020-07-07 07:29:31 +00:00
bdev_ocssd.h bdev/ocssd: media management events 2019-12-20 10:02:15 +00:00
common.c bdev/nvme: add a function for specifying a multipath trid. 2020-08-07 15:06:01 +00:00
common.h bdev/nvme: add failover option to bdev_nvme_reset 2020-08-07 15:06:01 +00:00
Makefile mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
nvme_rpc.c module/bdev_nvme: remove spdk prefix from static/internal functions. 2020-05-15 07:58:03 +00:00
vbdev_opal_rpc.c nvme/opal: deprecate spdk_opal_supported() 2020-05-20 14:16:44 +00:00
vbdev_opal.c bdev_nvme/opal: remove unnecessary opal configuration 2020-07-01 07:50:59 +00:00
vbdev_opal.h module/bdev_nvme: remove spdk prefix from static/internal functions. 2020-05-15 07:58:03 +00:00