Spdk/module
Evgeniy Kochetov b7bfa50468 blob: Use bdev copy command in CoW flow if supported
Copy-on-write happens when cluster is written for the first time for
thin provisioned volume. Currently it is implemented as two separate
requests to underlying bdev: read of the whole cluster to bounce
buffer and then write of this buffer to the new location on the same
underlying bdev.

This patch improves copy-on-write flow by utilizing copy command of
underlying bdev if it is supported. In this case we have just one
request to bdev and don't need the bounce buffer.

Signed-off-by: Evgeniy Kochetov <evgeniik@nvidia.com>
Change-Id: I92552e0f18f7a41820d589e7bb1e86160c69183f
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14351
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
2022-12-08 12:54:54 +00:00
..
accel update Intel copyright notices 2022-11-10 08:28:53 +00:00
bdev module/raid: show raid_bdev details in bdev_raid_get_bdevs rpc 2022-12-07 08:43:52 +00:00
blob blob: Use bdev copy command in CoW flow if supported 2022-12-08 12:54:54 +00:00
blobfs build: compile API functions with missing deps 2022-11-18 08:40:05 +00:00
env_dpdk update Intel copyright notices 2022-11-10 08:28:53 +00:00
event update Intel copyright notices 2022-11-10 08:28:53 +00:00
scheduler update Intel copyright notices 2022-11-10 08:28:53 +00:00
sock sock/uring: Fix the defect of using is_zcopy field in task. 2022-12-06 08:56:48 +00:00
vfu_device include/bdev_module.h: add SPDK_ prefix to macros 2022-11-22 10:03:57 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00