Home
last modified time | relevance | path

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

/spdk/doc/
H A Dftl.md74 Nvcache data space is divided into chunks. Chunks are written in sequential manner.
75 When number of free chunks is below assigned threshold data from fully written chunks
137 - Chunk - stores the state of chunks - write pointers, their OPEN/FREE/CLOSE state; stored on cache…
152 FTL will therefore rebuild the whole L2P by reading the P2L of all closed bands and chunks. For ope…
153 the cache device, in a separate metadata region (see [the P2L section](#ftl_metadata)). Open chunks
H A Dcompression.md42 A compressed block device compresses and decompresses data in units of chunks, where a chunk is a
80 for the 4 chunks in the compressed block device (64KB / 16KB), plus an extra chunk map for use
85 4 entries for the 4 chunks in the compressed block device and 8B (64b) per entry.
226 ### Operations that span across multiple chunks
/spdk/module/bdev/raid/
H A Draid5f.c100 struct chunk chunks[0]; member
140 c < req->chunks + raid5f_ch_to_r5f_info(req->r5ch)->raid_bdev->num_base_bdevs
146 FOR_EACH_CHUNK_FROM(req, c, req->chunks)
152 for (c = __NEXT_DATA_CHUNK(req, req->chunks); __CHUNK_IN_RANGE(req, c); \
164 return SPDK_CONTAINEROF((chunk - chunk->index), struct stripe_request, chunks); in raid5f_chunk_stripe_req()
591 struct chunk *start = &stripe_req->chunks[raid_io->base_bdev_io_submitted]; in raid5f_stripe_request_submit_chunks()
607 stripe_req->parity_chunk = &stripe_req->chunks[raid5f_stripe_parity_chunk_index(raid_io->raid_bdev, in raid5f_stripe_request_init()
725 stripe_req->reconstruct.chunk = &stripe_req->chunks[chunk_idx]; in raid5f_submit_reconstruct_read()
894 chunk->index = chunk - stripe_req->chunks; in raid5f_stripe_request_alloc()
/spdk/lib/ftl/
H A Dftl_nv_cache.c79 struct ftl_nv_cache_chunk *first_chunk = chunk->nv_cache->chunks; in get_chunk_idx()
90 /* Start compaction when full chunks exceed given % of entire active chunks */ in ftl_nv_cache_init_update_limits()
137 FTL_DEBUGLOG(dev, "Scrub progress: %"PRIu64"/%"PRIu64" chunks\n", in nvc_scrub_clear_cb()
141 /* IO error or no more active chunks found. Scrubbing finished. */ in nvc_scrub_clear_cb()
197 /* No active chunks found */ in ftl_nv_cache_scrub()
247 /* Allocate chunks */ in ftl_nv_cache_init()
248 nv_cache->chunks = calloc(nv_cache->chunk_count, in ftl_nv_cache_init()
249 sizeof(nv_cache->chunks[0])); in ftl_nv_cache_init()
250 if (!nv_cache->chunks) { in ftl_nv_cache_init()
[all...]
H A Dftl_nv_cache.h19 * FTL non volatile cache is divided into groups of blocks called chunks.
22 * written chunk by chunk sequentially. When number of free chunks reaches
23 * some threshold oldest chunks are moved from cache to backend storage to
41 * The modifier depends on the number of free chunks vs the configured threshold. Its value is
42 * zero if the number of free chunks is at the threshold, negative if below and positive if above.
166 /* Chunk md memory pool for freeing chunks */
181 /* Number of chunks */
187 /* Free chunks list */
191 /* Open chunks list */
195 /* Full chunks lis
208 struct ftl_nv_cache_chunk *chunks; global() member
[all...]
/spdk/test/unit/lib/bdev/raid/raid5f.c/
H A Draid5f_ut.c948 stripe_req->parity_chunk = &stripe_req->chunks[raid5f_stripe_data_chunks_num(raid_bdev)]; in __test_raid5f_stripe_request_map_iovecs()
954 chunk = &stripe_req->chunks[0]; in __test_raid5f_stripe_request_map_iovecs()
959 chunk = &stripe_req->chunks[1]; in __test_raid5f_stripe_request_map_iovecs()
967 chunk = &stripe_req->chunks[2]; in __test_raid5f_stripe_request_map_iovecs()
973 chunk = &stripe_req->chunks[3]; in __test_raid5f_stripe_request_map_iovecs()
/spdk/scripts/perf/nvmf/
H A DREADME.md322 enabled the file is "split" into a number of chunks equal to "num_jobs"