]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Block: use round_jiffies_up()
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 6 Nov 2008 07:42:49 +0000 (08:42 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 6 Nov 2008 07:42:49 +0000 (08:42 +0100)
This patch (as1159b) changes the timeout routines in the block core to
use round_jiffies_up().  There's no point in rounding the timer
deadline down, since if it expires too early we will have to restart
it.

The patch also removes some unnecessary tests when a request is
removed from the queue's timer list.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found