+41
−167
Loading
It simplifies the code sending registration notifications for new maps. We do this by implementing the are_contiguous() callback for the registration map and having it separate adjacent regions, which allows us to use spdk_mem_map_translate() to get the size of registered regions. Change-Id: I1e8b28a2b7419d3de445f80d35f3831bc19e4452 Signed-off-by:Konrad Sztyber <ksztyber@nvidia.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26366 Community-CI: Mellanox Build Bot Reviewed-by:
Ben Walker <ben@nvidia.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Tested-by:
SPDK Automated Test System <spdkbot@gmail.com>