]> git.baikalelectronics.ru Git - kernel.git/commit
block: add bioset_create_nobvec()
authorJunichi Nomura <j-nomura@ce.jp.nec.com>
Fri, 3 Oct 2014 21:27:12 +0000 (17:27 -0400)
committerJens Axboe <axboe@fb.com>
Fri, 3 Oct 2014 21:28:18 +0000 (15:28 -0600)
commitc900395069278fbbeba43ad3773c1084b01b6ec6
treec14ac256f51a230b472ada1525d2e7275f266436
parent881a1ed7991758ff6735d84ed6c12146269c77f2
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>
block/bio.c
include/linux/bio.h