Name

bioset_create_nobvec — Create a bio_set without bio_vec mempool

Synopsis

struct bio_set * bioset_create_nobvec (unsigned int pool_size,
 unsigned int front_pad);
 

Arguments

unsigned int pool_size

Number of bio to cache in the mempool

unsigned int front_pad

Number of bytes to allocate in front of the returned bio

Description

Same functionality as bioset_create except that mempool is not created for bio_vecs. Saving some memory for bio_clone_fast users.