| /spdk/test/rpc/ |
| H A D | rpc.sh | 12 bdevs=$($rpc bdev_get_bdevs) 13 [ "$(jq length <<< "$bdevs")" == "0" ] 16 bdevs=$($rpc bdev_get_bdevs) 17 [ "$(jq length <<< "$bdevs")" == "1" ] 20 bdevs=$($rpc bdev_get_bdevs) 21 [ "$(jq length <<< "$bdevs")" == "2" ] 25 bdevs=$($rpc bdev_get_bdevs) 26 [ "$(jq length <<< "$bdevs")" == "0" ] 31 bdevs=$($rpc bdev_get_bdevs) 32 [ "$(jq length <<< "$bdevs")" == "1" ] [all …]
|
| /spdk/test/nvmf/host/ |
| H A D | perf.sh | 31 bdevs="$bdevs $($rpc_py bdev_malloc_create $MALLOC_BDEV_SIZE $MALLOC_BLOCK_SIZE)" 34 bdevs="$bdevs Nvme0n1" 45 for bdev in $bdevs; do
|
| /spdk/test/vhost/lvol/ |
| H A D | lvol_test.sh | 120 bdevs=$(jq -r "map(select(.aliases[] | contains(\"$vm\")) | \ 122 bdevs=($bdevs) 133 $rpc_py vhost_scsi_controller_add_target naa.0.$i $j ${bdevs[$j]} 139 $rpc_py vhost_create_blk_controller naa.$j.$i ${bdevs[$j]} "${mask_arg[@]}"
|
| /spdk/test/blobstore/blobstore_grow/ |
| H A D | blobstore_grow.sh | 27 $rpc_py bdev_raid_create --name concat0 --raid-level concat --base-bdevs malloc0 --strip-size-kb 4 32 $rpc_py bdev_raid_create --name concat0 --raid-level concat --base-bdevs "malloc0 malloc1" --strip-… 38 $rpc_py bdev_raid_create --name concat0 --raid-level concat --base-bdevs "malloc0 malloc1 malloc2" …
|
| /spdk/doc/ |
| H A D | gdb_macros.md | 6 in lists, e.g. information about bdevs or threads. 8 If, for example I have several bdevs, and I wish to get information on bdev by 12 (gdb) p g_bdev_mgr->bdevs->tqh_first->name 14 (gdb) p g_bdev_mgr->bdevs->tqh_first->internal->link->tqe_next->name 17 g_bdev_mgr->bdevs->tqh_first->internal->link->tqe_next->internal->link->tqe_next->name 20 g_bdev_mgr->bdevs->tqh_first->internal->link->tqe_next->internal->link->tqe_next 27 This can be somewhat troublesome if there are 100 bdevs, and the one we need is 35 Printing bdevs: 250 - spdk_print_bdevs: information about bdevs
|
| H A D | bdevperf.md | 6 of block devices (bdevs) exposed by the SPDK bdev layer. It is an 7 alternative to the SPDK bdev fio plugin for benchmarking SPDK bdevs. 50 `filename` value and uses both `Malloc0` and `Malloc1` bdevs as targets,
|
| H A D | bdev_pg.md | 19 of block device. This guide will cover how to interact with bdevs using that 43 Bdevs can be layered, such that some bdevs service I/O by routing requests to 44 other bdevs. This can be used to implement caching, RAID, logical volume 45 management, and more. Bdevs that route I/O to other bdevs are often referred 46 to as virtual bdevs, or *vbdevs* for short. 65 set of bdevs may be iterated using spdk_bdev_first() and spdk_bdev_next() and 80 logical volume management and forward their I/O to lower level bdevs, so they 81 mark these lower level bdevs as claimed to prevent outside users from issuing
|
| H A D | bdev_module.md | 42 New bdevs are created within the module by calling spdk_bdev_register(). The 153 that implements RAID. Virtual bdevs are created in the same way as regular 154 bdevs, but take the one additional step of claiming the bdev. 156 The module can open the underlying bdevs it wishes to route I/O to using 195 `examine_config` callbacks, all virtual bdevs' `examine_disk` callbacks are
|
| H A D | vhost.md | 98 SPDK bdevs are block devices which will be exposed to the guest OS. 99 For vhost-scsi, bdevs are exposed as SCSI LUNs on SCSI devices attached to the 101 For vhost-blk, bdevs are exposed directly as block devices in the guest OS and are
|
| H A D | ftl.md | 176 Similar to other bdevs, the FTL bdevs can be created either based on JSON config files or via RPC.
|
| H A D | nvmf_tgt_pg.md | 39 specification. Namespaces are **bdevs**. See @ref bdev for an explanation of 82 Namespaces are bdevs. See @ref bdev for more information about the SPDK bdev
|
| /spdk/python/spdk/sma/volume/ |
| H A D | crypto_bdev.py | 105 bdevs = client.call('bdev_get_bdevs') 106 for bdev in [b for b in bdevs if b['product_name'] == 'crypto']: 108 base_bdev = next(filter(lambda b: b['name'] == base_name, bdevs), None)
|
| H A D | volume.py | 84 bdevs = client.call('bdev_get_bdevs') 86 if volume_id not in [b['uuid'] for b in bdevs]:
|
| /spdk/test/nvme/perf/ |
| H A D | common.sh | 17 local rpc_server=/var/tmp/spdk-discover-bdevs.sock 25 # bdevs. 35 # Get all of the bdevs 147 local bdevs 148 bdevs=$(discover_bdevs $rootdir $testdir/bdev.conf) 151 bdev_bdf=$(jq -r ".[] | select(.name==\"$name\").driver_specific.nvme[].pci_address" <<< "$bdevs") 172 local bdevs
|
| /spdk/test/blobstore/ |
| H A D | test.bs | 2 -l bdevs
|
| H A D | btest.out.match | 8 SCRIPT NOW PROCESSING: -l bdevs 10 List bdevs:
|
| /spdk/test/spdkcli/match_files/ |
| H A D | spdkcli_raid.test.match | 1 o- bdevs ..................................................................................................................... [...]
|
| H A D | spdkcli_virtio_pci.test.match | 1 o- bdevs ..................................................................................................................... [...]
|
| H A D | spdkcli_vhost.test.match | 2 o- bdevs ................................................................................................................... [...]
|
| /spdk/module/bdev/virtio/ |
| H A D | bdev_virtio.h | 21 struct spdk_bdev **bdevs, size_t bdev_cnt);
|
| H A D | bdev_virtio_rpc.c | 156 rpc_create_virtio_dev_cb(void *ctx, int result, struct spdk_bdev **bdevs, size_t cnt) in rpc_create_virtio_dev_cb() argument 173 spdk_json_write_string(w, spdk_bdev_get_name(bdevs[i])); in rpc_create_virtio_dev_cb()
|
| /spdk/test/iscsi_tgt/perf/ |
| H A D | iscsi_target.sh | 112 bdevs=($($rpc_py bdev_get_bdevs | jq -r '.[].name'))
|
| /spdk/test/spdkcli/ |
| H A D | vhost.sh | 91 $rootdir/scripts/spdkcli.py bdevs/split_disk/Nvme0n1p0 show_details | jq -r -S '.' > $testdir/match…
|
| /spdk/scripts/ |
| H A D | gdb_macros.py | 157 bdevs = BdevMgrBdevs() 161 super(spdk_print_bdevs, self).__init__(self.name, bdevs)
|
| /spdk/module/bdev/nvme/ |
| H A D | bdev_nvme.h | 153 TAILQ_HEAD(, nvme_bdev) bdevs; 315 * Delete NVMe controller with all bdevs on top of it, or delete the specified path 369 * NOTE: This function does not support NVMe bdevs in failover mode.
|