numam-spdk/lib
Daniel Verkamp 98397d9ef7 util/fd: drop fallback from spdk_fd_get_blocklen()
If the block size cannot be determined, just return 0 rather than
assuming 512.  This will allow the caller to tell whether the block size
was actually successfully retrieved.

Change-Id: If8a2b8ce498ba6de18238baedb62c8972cb32a74
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/373671
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-08-11 19:36:30 -04:00
..
bdev bdev/nvme: add missing newline in warning message 2017-08-09 16:52:27 -04:00
blob blobstore: fix issue with reading in superblobid from disk 2017-08-11 12:58:47 -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/vtophys: vtophys functions will now return error codes 2017-08-10 13:32:36 -04:00
event app: move the core usage display after DPDK init 2017-08-08 20:39:07 -04:00
ioat env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00
iscsi iscsi: free strings in construct_target_node RPC 2017-08-09 13:24:40 -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 nbd: allow exporting more than one NBD at once 2017-08-07 17:56:21 -04:00
net jsonrpc: modify API to pass request to handler 2017-07-06 13:48:12 -04:00
nvme env/vtophys: vtophys functions will now return error codes 2017-08-10 13:32:36 -04:00
nvmf nvmf: fix crash on shutdown with invalid config 2017-08-09 16:52: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/fd: drop fallback from spdk_fd_get_blocklen() 2017-08-11 19:36:30 -04:00
vhost vhost: don't abort on mem region registration failure 2017-08-10 13:32:36 -04:00
Makefile nbd: move nbd code to a new library 2017-08-02 13:27:21 -04:00