]> git.baikalelectronics.ru Git - kernel.git/commit
block/bfq: Enable I/O statistics
authorBart Van Assche <bvanassche@acm.org>
Mon, 13 Jun 2022 16:32:34 +0000 (09:32 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 16 Jun 2022 22:59:28 +0000 (16:59 -0600)
commitf0fbe11f72ed67511ee981901f1e66bd83b268f1
treedbd7258d97189a31131ca85dcdd230ae6f35046a
parent6302a536a052db1a8ff973b8af5bf2f44ffbbbe9
block/bfq: Enable I/O statistics

BFQ uses io_start_time_ns. That member variable is only set if I/O
statistics are enabled. Hence this patch that enables I/O statistics
at the time BFQ is associated with a request queue.

Compile-tested only.

Reported-by: Cixi Geng <cixi.geng1@unisoc.com>
Cc: Cixi Geng <cixi.geng1@unisoc.com>
Cc: Yu Kuai <yukuai3@huawei.com>
Cc: Paolo Valente <paolo.valente@unimore.it>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c