+3
−5
Loading
Bdev convention has always been that successfully submitted operations always return 0, and will never complete in the context of the submission. But spdk_bdev_copy_blocks() broke this convention in the case where src offset == dst offset. So fix that here - renaming and reusing an spdk_thread_send_msg() function recently added for a similar case in the unmap path. Signed-off-by:Jim Harris <jim.harris@samsung.com> Change-Id: I3e6543ee28726cc715500e414ed3e39c5c84a644 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22051 Community-CI: Mellanox Build Bot Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com>