]> 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)
commitfb7b9b0231ba8f77587c23f5257a4fdb6df1219e
tree4ce46bff86f777b6c2c432a87567b1f2a2204ff1
parent2e9fb2c11e0ec3113fcf0e8e052c99ecd82fcd4e
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