numam-spdk/lib
Daniel Verkamp 50cbc74a82 bdev/nvme: simplify I/O command block size math
Remove the redundant sector size check; the generic bdev code already
checks for this.

Also use the bdev blocklen field for both offset and size calculations.
The bdev blocklen is the same as the namespace sector size.

Change-Id: Ia8061eb4cfc229d4b6fbe2caabf2dd81656bc697
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/372862
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-08-07 17:48:22 -04:00
..
bdev bdev/nvme: simplify I/O command block size math 2017-08-07 17:48:22 -04:00
blob bdev: Change unmap to use offset/len instead of descriptors 2017-08-04 20:03:37 -04:00
blobfs blobfs: Remove unnecessary if statement. 2017-08-07 17:39:27 -04:00
conf log: Use SPDK_ERRLOG in lieu of fprintf(stderr 2017-05-09 11:28:28 -07:00
copy copy: Move asynchronous module init to event_copy 2017-06-20 13:46:37 -04:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk env_dpdk: allow spdk_mem_map_free() map to be NULL 2017-06-30 13:53:30 -04:00
event event: Move signal handler setup to separate function 2017-08-02 18:04:55 -04:00
ioat env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00
iscsi util: add CRC32 utility functions 2017-08-02 19:47:35 -04:00
json json: add function to write UTF-16LE strings 2017-07-12 18:12:52 -04:00
jsonrpc jsonrpc: simplify by removing use of poll() 2017-07-18 17:00:54 -04:00
log jsonrpc: modify API to pass request to handler 2017-07-06 13:48:12 -04:00
nbd bdev: Change unmap to use offset/len instead of descriptors 2017-08-04 20:03:37 -04:00
net jsonrpc: modify API to pass request to handler 2017-07-06 13:48:12 -04:00
nvme nvme_ns_cmd: add overflow check in write_zeroes function 2017-08-02 17:37:33 -04:00
nvmf nvmf: Use spdk_nvme_transport_id 2017-08-07 17:07:58 -04:00
rocksdb rocksdb, compilation: disable some flags according to CONFIG. 2017-08-02 14:00:33 -04:00
rpc rpc: add get_rpc_methods RPC call 2017-08-01 13:43:14 -04:00
scsi bdev: Change unmap to use offset/len instead of descriptors 2017-08-04 20:03:37 -04:00
trace include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
ut_mock tests: macro-ize the creation and use of wrappers and stubs 2017-07-05 12:00:34 -04:00
util util/crc32c: add SSE 4.2 CRC32 instruction support 2017-08-02 19:47:35 -04:00
vhost vhost: increase max number of vhost devices 2017-08-01 16:06:34 -04:00
Makefile nbd: move nbd code to a new library 2017-08-02 13:27:21 -04:00