commit | d8f429e1669b9709f5b669aac9d734dbe0640891 | [log] [tgz] |
---|---|---|
author | Junichi Nomura <j-nomura@ce.jp.nec.com> | Fri Oct 03 17:27:12 2014 -0400 |
committer | Jens Axboe <axboe@fb.com> | Fri Oct 03 15:28:18 2014 -0600 |
tree | c14ac256f51a230b472ada1525d2e7275f266436 | |
parent | 11dfce509eaa35e8fc81cb50d0910c0e235fd7e2 [diff] |
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>