Spdk/lib/bdev
Daniel Verkamp d565f549b9 bdev/nvme: support large (> 2TB) unmap requests
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>
2017-09-28 14:17:15 -04:00
..
aio bdev: unify all direct bdev_io I/O types 2017-09-22 13:44:25 -04:00
error bdev/error: use bdev_part helper functions 2017-09-12 11:16:50 -04:00
gpt gpt: fixed error-handling for vbdev_gpt_read_gpt 2017-09-25 16:53:52 -04:00
lvol lvol: hotremove support 2017-09-28 12:46:18 -04:00
malloc copy: return 0 on success and appropriate errno on failure 2017-09-25 13:56:29 -04:00
null bdev/null: add Write Zeroes support 2017-09-25 16:31:49 -04:00
nvme bdev/nvme: support large (> 2TB) unmap requests 2017-09-28 14:17:15 -04:00
rbd bdev: unify all direct bdev_io I/O types 2017-09-22 13:44:25 -04:00
rpc bdev: remove bdev_opened_for_write restriction 2017-09-20 14:43:32 -04:00
split bdev: add common partition helper functions 2017-09-12 11:16:50 -04:00
virtio bdev_virtio: send IO to proper target 2017-09-26 15:53:29 -04:00
bdev.c bdev: set bdev_io->iovs for all direct IO types 2017-09-27 16:10:26 -04:00
Makefile lvol: Logical volume implementation 2017-09-14 19:30:54 -04:00
scsi_nvme.c nvme_spec: remove SGL Sub Type Invalid status code 2017-09-22 17:11:53 -04:00
vtune.c bdev: #include VTune file to control warnings 2017-06-08 12:44:25 -04:00