Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10181
b: refs/heads/master
c: b298264
h: refs/heads/master
i:
  10179: a21b340
v: v3
  • Loading branch information
Chen, Kenneth W authored and Jens Axboe committed Oct 28, 2005
1 parent 2f4b56a commit 3da4edb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 20e5c81fcff89535dced2ed71cf24c6c648ff40e
refs/heads/master: b2982649ce38293b14684b26bcda20cfc54164e6
3 changes: 3 additions & 0 deletions trunk/drivers/block/ll_rw_blk.c
Original file line number Diff line number Diff line change
Expand Up @@ -2433,6 +2433,9 @@ void disk_round_stats(struct gendisk *disk)
{
unsigned long now = jiffies;

if (now == disk->stamp)
return;

if (disk->in_flight) {
__disk_stat_add(disk, time_in_queue,
disk->in_flight * (now - disk->stamp));
Expand Down

0 comments on commit 3da4edb

Please sign in to comment.