diff options
author | Jerome Marchand <jmarchan@redhat.com> | 2009-04-22 14:01:49 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-04-24 08:54:21 +0200 |
commit | 42dad7647aec49b3ad20dd0cb832b232a6ae514f (patch) | |
tree | b70d4cb7706f2647e65426e24f078ddf14d6e139 /drivers/video/macmodes.c | |
parent | 097102c2d04974bdfcfa16a5f3062d499842139c (diff) | |
download | op-kernel-dev-42dad7647aec49b3ad20dd0cb832b232a6ae514f.zip op-kernel-dev-42dad7647aec49b3ad20dd0cb832b232a6ae514f.tar.gz |
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: Jerome Marchand <jmarchan@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/video/macmodes.c')
0 files changed, 0 insertions, 0 deletions