Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84901
b: refs/heads/master
c: a890d62
h: refs/heads/master
i:
  84899: 86e620d
v: v3
  • Loading branch information
Jerome Marchand authored and Jens Axboe committed Feb 8, 2008
1 parent 33fc2bd commit 26f930a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6f2576af5ba5913538fda7dfb7c6a17771025477
refs/heads/master: a890d62b9e8743341f62548104d1ac29fa8a5a88
8 changes: 4 additions & 4 deletions trunk/drivers/block/aoe/aoecmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,10 +648,10 @@ aoecmd_ata_rsp(struct sk_buff *skb)
struct gendisk *disk = d->gd;
const int rw = bio_data_dir(buf->bio);

disk_stat_inc(disk, ios[rw]);
disk_stat_add(disk, ticks[rw], duration);
disk_stat_add(disk, sectors[rw], n_sect);
disk_stat_add(disk, io_ticks, duration);
all_stat_inc(disk, ios[rw], buf->sector);
all_stat_add(disk, ticks[rw], duration, buf->sector);
all_stat_add(disk, sectors[rw], n_sect, buf->sector);
all_stat_add(disk, io_ticks, duration, buf->sector);
n = (buf->flags & BUFFL_FAIL) ? -EIO : 0;
bio_endio(buf->bio, n);
mempool_free(buf, d->bufpool);
Expand Down

0 comments on commit 26f930a

Please sign in to comment.