1{ 2 "subsystems": [ 3 { 4 "subsystem": "bdev", 5 "config": [ 6 { 7 "method": "bdev_set_options", 8 "params": { 9 "bdev_io_pool_size": 65535, 10 "bdev_io_cache_size": 256, 11 "bdev_auto_examine": true 12 } 13 }, 14 { 15 "method": "bdev_nvme_set_options", 16 "params": { 17 "action_on_timeout": "none", 18 "timeout_us": 0, 19 "timeout_admin_us": 0, 20 "keep_alive_timeout_ms": 10000, 21 "retry_count": 4, 22 "arbitration_burst": 0, 23 "low_priority_weight": 0, 24 "medium_priority_weight": 0, 25 "high_priority_weight": 0, 26 "nvme_adminq_poll_period_us": 10000, 27 "nvme_ioq_poll_period_us": 0, 28 "io_queue_requests": 0, 29 "delay_cmd_submit": true 30 } 31 }, 32 { 33 "method": "bdev_nvme_set_hotplug", 34 "params": { 35 "period_us": 100000, 36 "enable": false 37 } 38 }, 39 { 40 "method": "bdev_malloc_create", 41 "params": { 42 "name": "Malloc0", 43 "num_blocks": 131072, 44 "block_size": 512, 45 "uuid": "6d6a0bf0-b712-40a7-8730-8f45797cc355" 46 } 47 }, 48 { 49 "method": "bdev_wait_for_examine" 50 } 51 ] 52 }, 53 { 54 "subsystem": "nvmf", 55 "config": [ 56 { 57 "method": "nvmf_set_config", 58 "params": { 59 "poll_groups_mask": "0x1", 60 "admin_cmd_passthru": { 61 "identify_ctrlr": false 62 } 63 } 64 }, 65 { 66 "method": "nvmf_create_transport", 67 "params": { 68 "trtype": "TCP", 69 "max_queue_depth": 128, 70 "max_io_qpairs_per_ctrlr": 127, 71 "in_capsule_data_size": 4096, 72 "max_io_size": 131072, 73 "io_unit_size": 8192, 74 "max_aq_depth": 128, 75 "num_shared_buffers": 511, 76 "buf_cache_size": 32, 77 "dif_insert_or_strip": false, 78 "c2h_success": false, 79 "sock_priority": 0, 80 "abort_timeout_sec": 1 81 } 82 }, 83 { 84 "method": "nvmf_create_subsystem", 85 "params": { 86 "nqn": "nqn.2016-06.io.spdk:cnode1", 87 "allow_any_host": true, 88 "serial_number": "SPDK00000000000001", 89 "model_number": "SPDK bdev Controller", 90 "max_namespaces": 32, 91 "min_cntlid": 1, 92 "max_cntlid": 65519, 93 "ana_reporting": false 94 } 95 }, 96 { 97 "method": "nvmf_subsystem_add_listener", 98 "params": { 99 "nqn": "nqn.2016-06.io.spdk:cnode1", 100 "listen_address": { 101 "trtype": "TCP", 102 "adrfam": "IPv4", 103 "traddr": "127.0.0.1", 104 "trsvcid": "4420" 105 } 106 } 107 }, 108 { 109 "method": "nvmf_subsystem_add_ns", 110 "params": { 111 "nqn": "nqn.2016-06.io.spdk:cnode1", 112 "namespace": { 113 "nsid": 1, 114 "bdev_name": "Malloc0", 115 "nguid": "6D6A0BF0B71240A787308F45797CC355", 116 "uuid": "6d6a0bf0-b712-40a7-8730-8f45797cc355" 117 } 118 } 119 } 120 ] 121 } 122 ] 123} 124