• Bart Van Assche's avatar
    block/mq-deadline: Add I/O priority support · c807ab52
    Bart Van Assche authored
    Maintain one dispatch list and one FIFO list per I/O priority class: RT, BE
    and IDLE. Maintain statistics for each priority level. Split the debugfs
    attributes per priority level as follows:
    
    $ ls /sys/kernel/debug/block/.../sched/
    async_depth  dispatch2        read_next_rq      write2_fifo_list
    batching     read0_fifo_list  starved           write_next_rq
    dispatch0    read1_fifo_list  write0_fifo_list
    dispatch1    read2_fifo_list  write1_fifo_list
    
    Cc: Damien Le Moal <damien.lemoal@wdc.com>
    Cc: Hannes Reinecke <hare@suse.de>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Ming Lei <ming.lei@redhat.com>
    Cc: Johannes Thumshirn <johannes.thumshirn@wdc.com>
    Cc: Himanshu Madhani <himanshu.madhani@oracle.com>
    Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
    Link: https://lore.kernel.org/r/20210618004456.7280-14-bvanassche@acm.orgSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
    c807ab52
mq-deadline.c 26.9 KB