Home
last modified time | relevance | path

Searched refs:cluster (Results 1 – 7 of 7) sorted by relevance

/spdk/module/bdev/rbd/
H A Dbdev_rbd.c44 rados_t cluster; member
84 rados_t cluster; member
135 bdev_rbd_put_cluster(rados_t **cluster) in bdev_rbd_put_cluster() argument
139 assert(cluster != NULL); in bdev_rbd_put_cluster()
142 if (*cluster == NULL) { in bdev_rbd_put_cluster()
148 if (*cluster != &entry->cluster) { in bdev_rbd_put_cluster()
154 *cluster = NULL; in bdev_rbd_put_cluster()
160 SPDK_ERRLOG("Cannot find the entry for cluster=%p\n", cluster); in bdev_rbd_put_cluster()
209 } else if (rbd->cluster) { in bdev_rbd_free()
213 rados_shutdown(rbd->cluster); in bdev_rbd_free()
[all …]
/spdk/doc/
H A Dblob.md49 * **Cluster**: A cluster is a fixed number of pages defined at Blobstore creation time. The pages t…
50 …us. Clusters are also numbered from the beginning of the disk, where cluster 0 is the first cluster
51 …worth of pages, cluster 1 is the second grouping of pages, etc. A cluster is typically 1MiB in siz…
150 * **Cluster Size**: By default, this value is 1MB. The cluster size is required to be a multiple of…
152 …ed/deallocated or changes in size, disk LBAs will be manipulated in groups of cluster size. If the
154 cluster size to 1GB for example.
265 that cluster 0 begins at the first logical block.
274 Cluster 0 is special and has the following format, where page 0 is the first page of the cluster:
286 the Blobstore. The metadata region is the remainder of cluster 0 and may extend to additional clust…
294 ### Blob cluster layout {#blob_pg_cluster_layout}
[all …]
/spdk/test/blobstore/blobstore_grow/
H A Dblobstore_grow.sh28 $rpc_py bdev_lvol_create_lvstore --cluster-sz 4194304 --clear-method unmap concat0 lvs0 --md-pages-…
/spdk/test/nvmf/target/
H A Dnvmf_lvs_grow.sh28 …lvs=$($rpc_py bdev_lvol_create_lvstore --cluster-sz 4194304 --md-pages-per-cluster-ratio 300 $aio_…
/spdk/test/blobstore/
H A Dbtest.out.match44 cluster size: 1048576
81 cluster size: 1048576
/spdk/test/lvol/esnap/
H A Desnap.c219 cluster_is_allocated(struct spdk_blob *blob, uint32_t cluster) in cluster_is_allocated() argument
221 return bs_io_unit_is_allocated(blob, cluster * blob->bs->pages_per_cluster); in cluster_is_allocated()
308 /* Overwrite the second block of the first cluster then verify the whole first cluster */ in esnap_clone_io()
320 /* Overwrite the two blocks that span the end of the first cluster and the start of the in esnap_clone_io()
321 * second cluster in esnap_clone_io()
324 /* The first part of the first cluster was written previously - it should be the same. */ in esnap_clone_io()
/spdk/test/unit/lib/blob/blob.c/
H A Dblob_ut.c1299 /* Write on cluster 0,2,4 and 5 of blob */ in blob_resize_thin_test()
1591 * Manually adjust the offset of the blob's second cluster. This allows in blob_rw_verify_iov()
1593 * that cross cluster boundaries. Start by asserting that the allocated in blob_rw_verify_iov()
1594 * clusters are where we expect before modifying the second cluster. in blob_rw_verify_iov()
1608 * Choose a page offset just before the cluster boundary. The first 6 pages of payload in blob_rw_verify_iov()
1609 * will get written to the first cluster, the last 4 to the second cluster. in blob_rw_verify_iov()
1629 /* Check that cluster 2 on "disk" was not modified. */ in blob_rw_verify_iov()
1674 * Choose a page offset just before the cluster boundary. The first 6 pages of payload in blob_rw_verify_iov_nomem()
1675 * will get written to the first cluster, th in blob_rw_verify_iov_nomem()
7836 uint64_t cluster; blob_decouple_snapshot() local
[all...]