Home
last modified time | relevance | path

Searched refs:bdevs (Results 1 – 25 of 33) sorted by relevance

12

/spdk/test/rpc/
H A Drpc.sh12 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 Dperf.sh31 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 Dlvol_test.sh120 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 Dblobstore_grow.sh27 $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 Dgdb_macros.md6 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 Dbdevperf.md6 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 Dbdev_pg.md19 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 Dbdev_module.md42 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 Dvhost.md98 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 Dftl.md176 Similar to other bdevs, the FTL bdevs can be created either based on JSON config files or via RPC.
H A Dnvmf_tgt_pg.md39 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 Dcrypto_bdev.py105 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 Dvolume.py84 bdevs = client.call('bdev_get_bdevs')
86 if volume_id not in [b['uuid'] for b in bdevs]:
/spdk/test/nvme/perf/
H A Dcommon.sh17 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 Dtest.bs2 -l bdevs
H A Dbtest.out.match8 SCRIPT NOW PROCESSING: -l bdevs
10 List bdevs:
/spdk/test/spdkcli/match_files/
H A Dspdkcli_raid.test.match1 o- bdevs ..................................................................................................................... [...]
H A Dspdkcli_virtio_pci.test.match1 o- bdevs ..................................................................................................................... [...]
H A Dspdkcli_vhost.test.match2 o- bdevs ................................................................................................................... [...]
/spdk/module/bdev/virtio/
H A Dbdev_virtio.h21 struct spdk_bdev **bdevs, size_t bdev_cnt);
H A Dbdev_virtio_rpc.c156 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 Discsi_target.sh112 bdevs=($($rpc_py bdev_get_bdevs | jq -r '.[].name'))
/spdk/test/spdkcli/
H A Dvhost.sh91 $rootdir/scripts/spdkcli.py bdevs/split_disk/Nvme0n1p0 show_details | jq -r -S '.' > $testdir/match…
/spdk/scripts/
H A Dgdb_macros.py157 bdevs = BdevMgrBdevs()
161 super(spdk_print_bdevs, self).__init__(self.name, bdevs)
/spdk/module/bdev/nvme/
H A Dbdev_nvme.h153 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.

12