commit | b9f8ce059940064a732da49b5d6e618381dad956 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@gmail.com> | Tue May 24 10:23:21 2011 +0200 |
committer | Jens Axboe <jaxboe@fusionio.com> | Tue May 24 10:23:21 2011 +0200 |
tree | 850281e8dd7bf5813d2960c2d42177803072bc02 | |
parent | 4cbadbd16e2fb727f6926597e0a580829e6222f1 [diff] |
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>