+272
−5
+189
−0
Loading
If a request has an accel sequence, we append a copy task with RDMA memory domain and don't send capsule until the data_transfer callback is called. In the callback we expect to get a single iov and a memory key which are sent in NVMF capsule to remote taget. When network transmission is finished, we finish data tranfer operation. The reuqest is completed in accel sequence finish_cb. A request which is executing accel sequence has a special flag, we don't abort such requests. Also, we store the data transfer completion callback and call it in case of network failure. Added tests for this feature Signed-off-by:Alexey Marchuk <alexeymar@nvidia.com> Change-Id: I021bd5f268185a5e1b2d77eb098f8daf491aacf9 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24702 Community-CI: Mellanox Build Bot Reviewed-by:
Ben Walker <ben@nvidia.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>