numam-spdk/module/bdev
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
..
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 lvol: report io_unit_size as block_size instead of page size 2020-07-17 07:20:14 +00:00
malloc lib/accel: remove the need for the app to allocate an accel_task 2020-07-24 19:38:46 +00:00
null bdev/null: make md_size inclusive for dif_type 2020-08-31 07:47:48 +00:00
nvme bdev/nvme: avoid spdk_bdev_io_get_buf call when possible 2020-09-23 08:12:23 +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
rpc mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +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/ftl: Remove NVMe dependencies 2020-01-15 12:24:44 +00:00