diff options
author | Junichi Nomura <j-nomura@ce.jp.nec.com> | 2014-10-03 23:27:12 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-10-03 23:28:18 +0200 |
commit | d8f429e1669b9709f5b669aac9d734dbe0640891 (patch) | |
tree | c14ac256f51a230b472ada1525d2e7275f266436 /drivers/md/dm.c | |
parent | block: use bio_clone_fast() in blk_rq_prep_clone() (diff) | |
download | linux-d8f429e1669b9709f5b669aac9d734dbe0640891.tar.xz linux-d8f429e1669b9709f5b669aac9d734dbe0640891.zip |
block: add bioset_create_nobvec()
Users of bio_clone_fast() do not want bios with their own bvecs.
Allocating a bvec mempool as part of the bioset intended for such users
is a waste of memory.
bioset_create_nobvec() creates a bioset that doesn't have the bvec
mempool.
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/md/dm.c')
0 files changed, 0 insertions, 0 deletions