summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-rdma.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-03-27 09:30:08 +0100
committerJens Axboe <axboe@kernel.dk>2020-03-27 17:23:43 +0100
commit2f227bb99934a4faa6dfe2cda2594bce8897a323 (patch)
treececb9d1c85abf4a3f4f4f93610e04432202052bc /block/blk-mq-rdma.c
parentblock: move the ->devnode callback to struct block_device_operations (diff)
downloadlinux-2f227bb99934a4faa6dfe2cda2594bce8897a323.tar.xz
linux-2f227bb99934a4faa6dfe2cda2594bce8897a323.zip
block: add a blk_mq_init_queue_data helper
This allows a driver to pass a queuedata member before ->init_hctx is called. null_blk currently open codes this logic, but I'd rather have it in the core to ease future maintainance. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-rdma.c')
0 files changed, 0 insertions, 0 deletions