Spdk/scripts/rpc
Seth Howell de139e8c8b rpc: truncate num_blocks in create_pmem_pool
Python2 implicitly truncated the division of pool_size/block_size. If
there is any remainder in pyhton3, the value stored in num_blocks is
kept as a float. The cast to integer truncates this division resulting
in the same behavior between python2 and python3

Change-Id: I0a04bba7f3a74d12890498494bf9e58abb698b77
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/409744
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2018-05-03 19:46:28 +00:00
..
__init__.py scripts/rpc.py: fix load_config method check 2018-04-05 17:27:00 -04:00
app.py scripts/rpc.py: pass client as separate parameter 2018-03-30 16:48:47 -04:00
bdev.py vbdev/passthru: add the construct_passthru_bdev RPC method 2018-04-20 14:58:13 -04:00
client.py scripts/rpc.py: Handle socket connection error 2018-04-12 11:24:04 -04:00
iscsi.py scripts/rpc.py: pass client as separate parameter 2018-03-30 16:48:47 -04:00
log.py scripts/rpc.py: pass client as separate parameter 2018-03-30 16:48:47 -04:00
lvol.py lvol: add destroy_lvol_bdev RPC method 2018-04-24 21:33:56 +00:00
nbd.py scripts/rpc.py: pass named args to nbd.py 2018-03-30 16:48:47 -04:00
net.py scripts/rpc.py: pass client as separate parameter 2018-03-30 16:48:47 -04:00
nvmf.py nvmf: add capability to add namespaces dynamically during active connection 2018-03-30 19:24:29 -04:00
pmem.py rpc: truncate num_blocks in create_pmem_pool 2018-05-03 19:46:28 +00:00
subsystem.py scripts/rpc.py: pass named args to subsystem.py 2018-03-30 16:48:47 -04:00
vhost.py rpc/vhost_nvme: add rpc support for vhost-nvme target 2018-04-20 15:24:50 -04:00