]> git.baikalelectronics.ru Git - kernel.git/commit
kyber: make trace_block_rq call consistent with documentation
authorVincent Fu <vincent.fu@samsung.com>
Wed, 4 Aug 2021 19:49:23 +0000 (19:49 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 6 Aug 2021 22:40:47 +0000 (16:40 -0600)
commit8e1489761252e6c3f2312705982a9399ba1e7941
tree4ce46bff86f777b6c2c432a87567b1f2a2204ff1
parent8213be2072018638869a322b60b2a4a0fe123dc5
kyber: make trace_block_rq call consistent with documentation

The kyber ioscheduler calls trace_block_rq_insert() *after* the request
is added to the queue but the documentation for trace_block_rq_insert()
says that the call should be made *before* the request is added to the
queue.  Move the tracepoint for the kyber ioscheduler so that it is
consistent with the documentation.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
Link: https://lore.kernel.org/r/20210804194913.10497-1-vincent.fu@samsung.com
Reviewed by: Adam Manzanares <a.manzanares@samsung.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/kyber-iosched.c