OSDN Git Service

block: factor out a alloc_io_context helper
authorChristoph Hellwig <hch@lst.de>
Fri, 26 Nov 2021 11:58:13 +0000 (12:58 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Nov 2021 13:41:29 +0000 (06:41 -0700)
commita0f14d8baaca3e2f3e57bdb062eb476175c90e83
tree4d9962e28c96657a90d0bc02f6415fbadd77301d
parent50569c24be61eafb3efa06e2a3ccd447f75ae1b0
block: factor out a alloc_io_context helper

Factor out a helper that just allocate an I/O context.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211126115817.2087431-11-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-ioc.c