• Divyesh Shah's avatar
    cfq-iosched: Add additional blktrace log messages in CFQ for easier debugging · b1ffe737
    Divyesh Shah authored
    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: default avatarJens Axboe <jens.axboe@oracle.com>
    b1ffe737
cfq-iosched.c 98.1 KB