]> git.baikalelectronics.ru Git - kernel.git/commit
cfq-iosched: fix bad return value cfq_should_preempt()
authorJens Axboe <jens.axboe@oracle.com>
Tue, 3 Nov 2009 19:21:35 +0000 (20:21 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 3 Nov 2009 19:21:35 +0000 (20:21 +0100)
commite6ec4fe24572ee265723d895ec4159e5559c8266
treecf61a73b2e50d695579cffe4226d41da5c889f8f
parent8c4db3355b0fcc9ad77431f15b955efa0645b5d0
cfq-iosched: fix bad return value cfq_should_preempt()

Commit a6151c3a5c8e1ff5a28450bc8d6a99a2a0add0a7 inadvertently reversed
a preempt condition check, potentially causing a performance regression.
Make the meta check correct again.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/cfq-iosched.c