]> 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)
commit2ba046f9efbf8e463004605e56e57309efbed031
tree738e2bd756e50f394cac0694d31070da18b3c3f6
parent8360802da499bce33b190d349e693bbccf57e0df
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