Lines Matching defs:chunk
33 unsigned int chunk;
52 /* For chunk work */
186 DMDEBUG("(%s): READ chunk %llu -> %s zone %u, block %llu, %u blocks",
329 DMDEBUG("(%s): WRITE chunk %llu -> %s zone %u, block %llu, %u blocks",
374 DMDEBUG("(%s): DISCARD chunk %llu -> zone %u, block %llu, %u blocks",
408 * Get the data zone mapping the chunk. There may be no
444 * Release the chunk mapping. This will check that the mapping
456 * Increment a chunk reference counter.
464 * Decrement a chunk work reference count and
471 radix_tree_delete(&cw->target->chunk_rxtree, cw->chunk);
487 /* Process the chunk BIOs */
532 * Get a chunk work and start it to process a new BIO.
533 * If the BIO chunk has no work yet, create one.
537 unsigned int chunk = dmz_bio_chunk(dmz->metadata, bio);
543 /* Get the BIO chunk work. If one is not active yet, create one */
544 cw = radix_tree_lookup(&dmz->chunk_rxtree, chunk);
548 /* Create a new chunk work */
558 cw->chunk = chunk;
561 ret = radix_tree_insert(&dmz->chunk_rxtree, chunk, cw);
639 DMDEBUG("(%s): BIO op %d sector %llu + %u => chunk %llu, block %llu, %u blocks",
676 DMDEBUG("(%s): BIO op %d, can't process chunk %llu, err %i",
910 ti->error = "Create chunk workqueue failed";