]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfa3e50d34e9cca1f5cf742c66a44a42f0708d4c7
tree738e2bd756e50f394cac0694d31070da18b3c3f6
parent8e038caa0054d07fe8c02b01d378fd1e17a79590
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