| #
a91d250f |
| 20-Nov-2024 |
Shuhei Matsumoto <smatsumoto@nvidia.com> |
bdev: Insert metadata using bounce/accel buffer if I/O is not aware of metadata
Add DIF insert/strip into the generic bdev layer.
Use bounce buffer if I/O allcates it regardless that I/O is not awa
bdev: Insert metadata using bounce/accel buffer if I/O is not aware of metadata
Add DIF insert/strip into the generic bdev layer.
Use bounce buffer if I/O allcates it regardless that I/O is not aware of metadata. Allocate and use bounce buffer if I/O is not aware of metadata, and it does not use memory domain or bdev module does not support accel sequence. Allocate and use accel buffer if I/O uses memory domain, bdev module supports accel sequence, and I/O is not aware of metadata.
When accel buffer is used, join the existing code path to pull data.
Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I057d64ab4a1f48c838e1cddd08f3e12cc595817b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25087 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@nvidia.com> Community-CI: Mellanox Build Bot Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
show more ...
|
| #
ff173863 |
| 20-Nov-2024 |
Shuhei Matsumoto <smatsumoto@nvidia.com> |
ut/bdev: Remove duplication with many stups among unit test files
Move all duplicated stubs in bdev.c, mt/bdev.c, and part.c unit test files into the new file common_stubs.h in test/common/lib/bdev.
ut/bdev: Remove duplication with many stups among unit test files
Move all duplicated stubs in bdev.c, mt/bdev.c, and part.c unit test files into the new file common_stubs.h in test/common/lib/bdev.
Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: Ic3d75821bf828e196fa576a18feae90d8bd2ffeb Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25455 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Jim Harris <jim.harris@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Community-CI: Mellanox Build Bot
show more ...
|