aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2008-11-06 08:42:49 +0100
committerJens Axboe <jens.axboe@oracle.com>2008-11-06 08:42:49 +0100
commit7838c15b8dd18e78a523513749e5b54bda07b0cb (patch)
tree7fa295ce51f263c55756d3693f5f5ed7beb68a87 /include
parent9c133c469d38043d5aadaa03f2fb840d88d1cf4f (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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions