block: Add bioset_init()/bioset_exit()
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 9 May 2018 01:33:51 +0000 (21:33 -0400)
committerJens Axboe <axboe@kernel.dk>
Mon, 14 May 2018 19:16:04 +0000 (13:16 -0600)
commit917a38c71af82185c39e31589587591fa764fb85
tree738e2bd756e50f394cac0694d31070da18b3c3f6
parent8aa6ba2f6e3deaff70e517e3cfbf38d1105f9d4f
block: Add bioset_init()/bioset_exit()

Similarly to mempool_init()/mempool_exit(), take a pointer indirection
out of allocation/freeing by allowing biosets to be embedded in other
structs.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c
include/linux/bio.h