]> git.baikalelectronics.ru Git - kernel.git/commit
cfq-iosched: Add additional blktrace log messages in CFQ for easier debugging
authorDivyesh Shah <dpshah@google.com>
Thu, 25 Mar 2010 14:45:03 +0000 (15:45 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 25 Mar 2010 14:45:03 +0000 (15:45 +0100)
commit0135bf102b5d4db87fe3ef8e151f61ae59819274
treefb069889c4832ff90adc63bfe422e607c9b0ebc8
parent472d5a5faead8dc06777166941a451424e44450f
cfq-iosched: Add additional blktrace log messages in CFQ for easier debugging

These have helped us debug some issues we've noticed in earlier IO
controller versions and should be useful now as well. The extra logging
covers:
- idling behavior. Since there are so many conditions based on which we decide
to idle or not, this patch adds a log message for some conditions that we've
found useful.
- workload slices and current prio and workload type

Changelog from v1:
o moved log message from cfq_set_active_queue() to __cfq_set_active_queue()
o changed queue_count to st->count

Signed-off-by: Divyesh Shah<dpshah@google.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/cfq-iosched.c