Spdk/module/bdev
Konrad Sztyber ba4b326cda bdev/nvme: per-namespace config_json callback
Added per-namespace config_json callbacks, so that each namespace can
dump its own configuration.  This is a nop for regular NVMe namespaces,
but it will be used by Open Channel ones to save their bdev configuration.

The callbacks are executed after controller configuration has been
saved.  This ensures that when a config is loaded, any namespace related
RPC calls (e.g. creating bdevs) are run after associated controller has
already been attached.

Change-Id: Ia18e15b46f10b058c1b6a9b74edb386e1b4874de
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/477436
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com>
Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>
2019-12-17 09:28:35 +00:00
..
aio bdev/aio: delete unnecessary code 2019-10-16 15:55:46 +00:00
compress module/compress: handle enqueue errors 2019-11-06 14:49:37 +00:00
crypto module/crypto: enhance recent session optimization 2019-12-06 14:49:40 +00:00
delay mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
error RPC: rename RPC bdev_error series 2019-08-26 18:59:18 +00:00
gpt mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
iscsi module/bdev: fix a inconsistent order of parameters 2019-11-21 08:04:53 +00:00
lvol lvol: Use error log instead of info log on error 2019-09-09 08:40:58 +00:00
malloc scripts/rpc: Rename rpc delete_malloc_bdev to bdev_malloc_delete 2019-09-09 05:02:47 +00:00
null scripts/rpc: Rename rpc related to null bdev 2019-08-28 15:19:58 +00:00
nvme bdev/nvme: per-namespace config_json callback 2019-12-17 09:28:35 +00:00
ocf lib/bdev/ocf: remove unused code related to polling utils 2019-10-22 17:22:41 +00:00
passthru module/passthru: fix a few typos in comments 2019-09-20 02:02:42 +00:00
pmem rpc: Rename delete_pmem_pool to bdev_pmem_delete_pool 2019-09-05 07:04:17 +00:00
raid module/raid: raid level specific start/stop callbacks 2019-11-14 16:25:55 +00:00
rbd RPC: rename rpc delete_rbd_bdev to bdev_rbd_delete 2019-09-13 22:39:15 +00:00
rpc bdev/rpc: Add current ticks to bdev_get_iostat RPC 2019-11-21 08:05:23 +00:00
split RPC: rename destruct_split_vbdev to bdev_split_delete 2019-09-19 19:24:47 +00:00
uring bdev/uring: add JSON config dump 2019-11-20 10:01:07 +00:00
virtio RPC: rename construct_virtio_dev to bdev_virtio_attach_controller 2019-09-19 19:24:47 +00:00
zone_block bdev/zone: Register/unregister zoned bdev 2019-11-15 20:27:14 +00:00
Makefile bdev/zone: Create and delete zoned block device vdev 2019-11-15 20:27:14 +00:00