d565f549b9
spdk_bdev_unmap_blocks() accepts a 64-bit number of blocks, which can exceed the NVMe Dataset Management range's 32-bit number of blocks, which can represent up to 2 TB with 512-byte blocks. We can support up to 0.5 PB unmap requests by using the maximum number of descriptors in a single Dataset Management command, which should be sufficient for now. Change-Id: I0a4ee77a9be148355991e1a081007ffa020a3ee5 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/379202 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>