+40
−0
+15
−0
+30
−0
+9
−0
+5
−0
Loading
To enable configuration of both write and unmap alignments for a bdev, we have introduced new fields to the bdev structure. preferred_write_alignment preferred_write_granularity optimal_write_size preferred_unmap_alignment preferred_unmap_granularity If a bdev module does not want to report values, just set them to 0. For all the APIs, a return value of 0 means "not specified" Change-Id: Ia03be3a344eb695bc1a47a1a07a85f7b19a7fe44 Signed-off-by:Ori Evron <oevron@nvidia.com> Signed-off-by:
Jim Harris <jim.harris@nvidia.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26507 Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Ben Walker <ben@nvidia.com> Reviewed-by:
Ankit Kumar <ankit.kumar@samsung.com> Community-CI: Mellanox Build Bot Reviewed-by:
Changpeng Liu <changpeliu@tencent.com>