summaryrefslogtreecommitdiffstats
path: root/block/blk-ioc.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2011-05-24 10:23:21 +0200
committerJens Axboe <jaxboe@fusionio.com>2011-05-24 10:23:21 +0200
commitb9f8ce059940064a732da49b5d6e618381dad956 (patch)
tree850281e8dd7bf5813d2960c2d42177803072bc02 /block/blk-ioc.c
parent4cbadbd16e2fb727f6926597e0a580829e6222f1 (diff)
downloadlinux-b9f8ce059940064a732da49b5d6e618381dad956.tar.gz
linux-b9f8ce059940064a732da49b5d6e618381dad956.tar.bz2
linux-b9f8ce059940064a732da49b5d6e618381dad956.zip
cfq-iosched: algebraic simplification in cfq_prio_to_maxrq()
Simplify the calculation in cfq_prio_to_maxrq(), plus replace CFQ_PRIO_LISTS to IOPRIO_BE_NR since they are the same and IOPRIO_BE_NR looks more reasonable in this context IMHO. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'block/blk-ioc.c')
0 files changed, 0 insertions, 0 deletions