commit | 5a9d041ba2f6da468c891ca0fe263758e2c12091 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Sat Nov 13 11:18:32 2021 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Nov 29 06:38:44 2021 -0700 |
tree | b3d5bcc519faf89478dfd375f9f1590f1e759216 | |
parent | 48b5c1fbcd8c5bc6b91a56399a5257b801391dd8 [diff] |
block: move io_context creation into where it's needed The only user of the io_context for IO is BFQ, yet we put the checking and logic of it into the normal IO path. Put the creation into blk_mq_sched_assign_ioc(), and have BFQ use that helper. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>