| commit | 7838c15b8dd18e78a523513749e5b54bda07b0cb | [log] [tgz] |
|---|---|---|
| author | Alan Stern <stern@rowland.harvard.edu> | Thu Nov 06 08:42:49 2008 +0100 |
| committer | Jens Axboe <jens.axboe@oracle.com> | Thu Nov 06 08:42:49 2008 +0100 |
| tree | 7fa295ce51f263c55756d3693f5f5ed7beb68a87 | |
| parent | 9c133c469d38043d5aadaa03f2fb840d88d1cf4f [diff] |
Block: use round_jiffies_up() 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>