Spdk/python/spdk/rpc
Sebastian Brzezinka 2d590e74b4 bdev/lvol: add param size_in_mib to replace size in bytes
`rpc_bdev_lvol_resize` and `rpc_bdev_lvol_create` can now use size
in MiB instead of `size` in bytes. This change make param `size`
deprecated and using both `size` and `size_in_mib` return error.

Since `bdev_lvol_resize` and `bdev_lvol_create` use size in MiB,
name of param should reflect it, previously used param `size` is
positional therefore there is no need to keep it as deprecated.

This patch fix issue: #2346

Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com>
Change-Id: Ibbe2c056bb63d9f82dee91c87fdd501ce441d5f8
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16901
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2023-03-01 08:55:43 +00:00
..
__init__.py ublk: add ublk target creation and destruction 2023-01-20 07:48:25 +00:00
accel.py rpc: rename name -> key_name in accel_crypto_key_destroy 2023-02-16 00:03:29 +00:00
app.py rpc: fix python style 2022-12-21 09:32:24 +00:00
bdev.py malloc_bdev: Add physical block size optional argument 2023-02-22 12:59:10 +00:00
blobfs.py rpc: fix python style 2022-12-21 09:32:24 +00:00
client.py Add SPDX header to various files 2022-11-29 08:27:51 +00:00
cmd_parser.py Add SPDX header to various files 2022-11-29 08:27:51 +00:00
compressdev.py rpc: fix new line formatting 2023-02-22 08:09:41 +00:00
dpdk_cryptodev.py rpc: fix new line formatting 2023-02-22 08:09:41 +00:00
dsa.py Add SPDX header to various files 2022-11-29 08:27:51 +00:00
env_dpdk.py rpc: fix python style 2022-12-21 09:32:24 +00:00
helpers.py Add SPDX header to various files 2022-11-29 08:27:51 +00:00
iaa.py Add SPDX header to various files 2022-11-29 08:27:51 +00:00
ioat.py Add SPDX header to various files 2022-11-29 08:27:51 +00:00
iobuf.py rpc: fix new line formatting 2023-02-22 08:09:41 +00:00
iscsi.py rpc: fix python style 2022-12-21 09:32:24 +00:00
log.py rpc: fix python style 2022-12-21 09:32:24 +00:00
lvol.py bdev/lvol: add param size_in_mib to replace size in bytes 2023-03-01 08:55:43 +00:00
mlx5.py module/accel: Add mlx5 accel module 2023-01-19 22:00:58 +00:00
nbd.py rpc: fix python style 2022-12-21 09:32:24 +00:00
notify.py rpc: fix python style 2022-12-21 09:32:24 +00:00
nvme.py rpc: fix python style 2022-12-21 09:32:24 +00:00
nvmf.py Add SPDX header to various files 2022-11-29 08:27:51 +00:00
pmem.py rpc: fix python style 2022-12-21 09:32:24 +00:00
sock.py rpc: fix python style 2022-12-21 09:32:24 +00:00
subsystem.py rpc: fix python style 2022-12-21 09:32:24 +00:00
trace.py rpc: fix python style 2022-12-21 09:32:24 +00:00
ublk.py rpc: fix new line formatting 2023-02-22 08:09:41 +00:00
vfio_user.py rpc: fix python style 2022-12-21 09:32:24 +00:00
vhost.py virtio_blk: added virtio_blk_get_transports RPC 2023-01-19 10:30:26 +00:00
vmd.py Add SPDX header to various files 2022-11-29 08:27:51 +00:00