Spdk/test/unit/lib/bdev
Konrad Sztyber 22c0e97884 bdev: accel sequence support for write requests
It is now possible to submit a write request with a sequence of accel
operations that need to be executed before actually writing the data.

Such requests will be directly passed to a bdev module (so that it can
append subsequent operations to an accel sequence) if that bdev supports
accel sequences and the request doesn't need to be split.  If either of
these conditions are not met, bdev layer will execute all the
accumulated accel operations before passing the request to a bdev
module.

The reason for not submitting split IOs with an accel sequence is that
we would need to split that accel sequence too.  Currently, there's no
such functionality in accel, so we treat this case in the same way as if
the underlying bdev module didn't support accel sequences (it's executed
before bdev_io is split).

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I66c53b3a1a87a35ea2687292206c899f80aaed4a
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16974
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
2023-03-13 21:02:27 +00:00
..
bdev_zone.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
bdev.c bdev: accel sequence support for write requests 2023-03-13 21:02:27 +00:00
compress.c bdev/compress: Port to use accel_fw instead of compressdev 2023-01-20 10:26:21 +00:00
crypto.c bdev/crypto: Use accel framework 2023-01-19 22:00:58 +00:00
gpt update Intel copyright notices 2022-11-10 08:28:53 +00:00
mt bdev: accel sequence support for write requests 2023-03-13 21:02:27 +00:00
nvme bdev/nvme: use non-ext IO functions if possible 2023-03-07 11:49:20 +00:00
part.c bdev: accel sequence support for write requests 2023-03-13 21:02:27 +00:00
raid bdev: remove spdk_bdev_ext_io_opts from spdk_bdev_io 2023-02-16 10:09:35 +00:00
scsi_nvme.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
vbdev_lvol.c ut/vbdev_lvol: examine multiple lvols 2023-02-24 21:01:11 +00:00
vbdev_zone_block.c bdev: add claim type 2023-01-05 23:28:32 +00:00
Makefile bdev/pmem: Removing bdev pmem - updated tests 2023-03-09 09:21:23 +00:00