numam-spdk/include/spdk
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
..
assert.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
barrier.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
bdev.h bdev: add bdev_io optimizations 2017-09-12 11:16:50 -04:00
bit_array.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
blob_bdev.h blob_bdev: hotremove support 2017-09-28 12:46:18 -04:00
blob.h blob: add readv/writev support 2017-08-22 18:19:00 -04:00
blobfs.h io_channel: Remove per-channel priority 2017-05-26 13:42:19 -04:00
conf.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
copy_engine.h copy: return 0 on success and appropriate errno on failure 2017-09-25 13:56:29 -04:00
crc32.h util: add CRC32 utility functions 2017-08-02 19:47:35 -04:00
endian.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
env.h env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
event.h reactor: add context_switch_monitor RPC 2017-09-01 12:46:18 -04:00
fd.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
gpt_spec.h bdev/gpt: dump partition name 2017-07-12 18:12:52 -04:00
histogram_data.h histogram: move nvme/perf histogram code to a common header 2017-06-14 14:20:03 -04:00
io_channel.h io_channel: allow user to provide a thread name 2017-08-29 13:11:08 -04:00
ioat_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
ioat.h copy: return 0 on success and appropriate errno on failure 2017-09-25 13:56:29 -04:00
iscsi_spec.h iscsi: fix layout of logout request reason field 2017-09-22 16:11:11 -04:00
json.h json: add function to write UTF-16LE strings 2017-07-12 18:12:52 -04:00
jsonrpc.h jsonrpc: modify API to pass request to handler 2017-07-06 13:48:12 -04:00
likely.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
log.h log: add new parm to spdk_trace_dump() 2017-09-06 17:33:03 -04:00
lvol.h lvol: Logical volume implementation 2017-09-14 19:30:54 -04:00
mmio.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
nbd.h nbd: allow exporting more than one NBD at once 2017-08-07 17:56:21 -04:00
net.h net: Move module initialization into event_net 2017-06-20 13:46:37 -04:00
nvme_intel.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
nvme_spec.h bdev/nvme: support large (> 2TB) unmap requests 2017-09-28 14:17:15 -04:00
nvme.h nvme: update the comment for spdk_nvme_probe() public API 2017-09-26 13:06:00 -04:00
nvmf_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
nvmf.h nvmf: add AllowAnyHost option to subsystems 2017-09-05 13:03:09 -04:00
pci_ids.h env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
queue_extras.h Break out queue.h code pulled from FreeBSD into a separate file. 2015-09-25 12:45:04 -07:00
queue.h Add extern "C" wrapper to all public headers 2016-02-12 07:52:35 -07:00
rpc.h jsonrpc: modify API to pass request to handler 2017-07-06 13:48:12 -04:00
scsi_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
scsi.h scsi: increase max lun name length 2017-09-06 16:26:30 -04:00
stdinc.h build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
string.h lib: replace strerror with strerror_r 2017-08-15 16:47:01 -04:00
trace.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
util.h util: add spdk_u32_is_pow2() function 2017-08-11 19:36:30 -04:00
version.h version: add "v" to version string 2017-09-01 12:45:50 -04:00
vhost.h rpc/vhost_scsi: defer remove_scsi_dev RPC response 2017-09-22 14:13:40 -04:00