summaryrefslogtreecommitdiff
path: root/fs/bio.c
diff options
context:
space:
mode:
authorCorrado Zoccolo <czoccolo@gmail.com>2010-02-28 19:45:05 +0100
committerJens Axboe <jens.axboe@oracle.com>2010-02-28 19:45:05 +0100
commit53c583d2269851de9df1c2e992cb2f7f124a5f55 (patch)
tree993a4f67663b4457771b7069513ad6e0471223b3 /fs/bio.c
parent87c3a922a7ee8cfb9ab837f4ae38c993e9b30711 (diff)
downloadlinux-53c583d2269851de9df1c2e992cb2f7f124a5f55.tar.gz
cfq-iosched: requests "in flight" vs "in driver" clarification
Counters for requests "in flight" and "in driver" are used asymmetrically in cfq_may_dispatch, and have slightly different meaning. We split the rq_in_flight counter (was sync_flight) to count both sync and async requests, in order to use this one, which is more accurate in some corner cases. The rq_in_driver counter is coalesced, since individual sync/async counts are not used any more. Signed-off-by: Corrado Zoccolo <czoccolo@gmail.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/bio.c')
0 files changed, 0 insertions, 0 deletions