Spdk/lib/bdev
Daniel Verkamp 75896c2510 bdev/rpc: make get_bdevs/config "name" params optional
The whole params object is already optional, but making the parameter
optional as well allows the specification of an empty object for params
to work.

Some JSON-RPC clients make it more difficult to omit the params object
entirely; see issue #303.

Change-Id: If0ac4ebfba33fd2c85f729d2f1109e4d0e47aa3b
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/411740
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-05-22 23:03:30 +00:00
..
aio rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
error rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
gpt bdev/gpt: allocate buffer with correct alignment 2018-04-24 16:19:04 +00:00
iscsi bdev/iscsi: save initiator iqn name 2018-05-17 17:11:59 +00:00
lvol rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
malloc rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
null rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
nvme bdev/nvme: check passthru cmd size against MDTS 2018-05-09 17:20:11 +00:00
passthru bdev/passthru: remove trailing space in config dump 2018-05-21 19:44:30 +00:00
pmem rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
rbd rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
rpc bdev/rpc: make get_bdevs/config "name" params optional 2018-05-22 23:03:30 +00:00
split bdev/split: free req in destruct_split_vbdev RPC call 2018-05-17 17:38:02 +00:00
virtio bdev/virtio: fix memleak in construct_virtio_user_blk_bdev 2018-05-22 17:00:00 +00:00
bdev.c bdev: Make the QoS channel use a regular channel 2018-05-22 21:54:46 +00:00
Makefile bdev/pmem: change all NVML strings to PMDK 2018-04-07 00:07:57 -04:00
part.c bdev: Wait for io device to unregister in bdev_part 2018-04-17 11:47:09 -04:00
scsi_nvme.c nvme_spec: remove SGL Sub Type Invalid status code 2017-09-22 17:11:53 -04:00
vtune.c bdev: disable new GCC 7 warning in VTune code 2018-03-19 15:58:15 -04:00