commit | 44e8c2bff80bb384a608406009948f90a78bf8a3 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Jun 16 18:15:25 2017 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Jun 18 10:08:55 2017 -0600 |
tree | 416c4aea5fb5c635bdc94170b8fb14ab284f21a4 | |
parent | 9f2107382636cf9a71951eb71ec04f2fb3641b37 [diff] |
blk-mq: refactor blk_mq_sched_assign_ioc blk_mq_sched_assign_ioc now only handles the assigned of the ioc if the schedule needs it (bfq only at the moment). The caller to the per-request initializer is moved out so that it can be merged with a similar call for the kyber I/O scheduler. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>