NeilBrown 011067b056 blk: replace bioset_create_nobvec() with a flags arg to bioset_create()
"flags" arguments are often seen as good API design as they allow
easy extensibility.
bioset_create_nobvec() is implemented internally as a variation in
flags passed to __bioset_create().

To support future extension, make the internal structure part of the
API.
i.e. add a 'flags' argument to bioset_create() and discard
bioset_create_nobvec().

Note that the bio_split allocations in drivers/md/raid* do not need
the bvec mempool - they should have used bioset_create_nobvec().

Suggested-by: Christoph Hellwig <hch@infradead.org>
Reviewed-by: Christoph Hellwig <hch@infradead.org>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2017-06-18 12:40:59 -06:00
..
2017-05-05 15:24:52 -04:00
2017-03-28 16:16:52 +02:00
2017-05-12 15:57:15 -07:00
2017-06-09 09:27:32 -06:00
2017-06-09 09:27:32 -06:00
2017-06-12 08:30:13 -06:00
2017-06-09 09:27:32 -06:00
2017-05-05 13:36:10 -07:00
2017-05-30 12:38:59 -07:00
2017-06-09 09:27:32 -06:00
2017-04-17 12:52:27 -04:00
2017-06-09 09:27:32 -06:00
2017-06-09 09:27:32 -06:00
2016-12-14 23:48:11 -05:00
2017-06-09 09:27:32 -06:00
2017-05-08 17:15:12 -07:00
2017-06-09 16:28:01 -04:00