Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 42dad764 authored by Jerome Marchand's avatar Jerome Marchand Committed by Jens Axboe
Browse files

block: simplify I/O stat accounting


This simplifies I/O stat accounting switching code and separates it
completely from I/O scheduler switch code.

Requests are accounted according to the state of their request queue
at the time of the request allocation. There is no need anymore to
flush the request queue when switching I/O accounting state.

Signed-off-by: default avatarJerome Marchand <jmarchan@redhat.com>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 097102c2
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment