aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/aoe/aoeblk.c
diff options
context:
space:
mode:
authorecashin@coraid.com <ecashin@coraid.com>2005-04-19 01:00:22 -0400
committerGreg KH <greg@press.kroah.org>2005-04-19 01:00:22 -0400
commit0c6f0e7920f39b28bdbe5f134f3e592542332d87 (patch)
tree0d31149e2c52557555d35696e13d3d9baabc1eaa /drivers/block/aoe/aoeblk.c
parente3b7df65e089f143b9228472b80fb96c495fb634 (diff)
[PATCH] aoe 11/12: add support for disk statistics
add support for disk statistics Signed-off-by: Ed L. Cashin <ecashin@coraid.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/block/aoe/aoeblk.c')
-rw-r--r--drivers/block/aoe/aoeblk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/aoe/aoeblk.c b/drivers/block/aoe/aoeblk.c
index 63561b280bc5..a2735d975846 100644
--- a/drivers/block/aoe/aoeblk.c
+++ b/drivers/block/aoe/aoeblk.c
@@ -125,6 +125,7 @@ aoeblk_make_request(request_queue_t *q, struct bio *bio)
125 } 125 }
126 memset(buf, 0, sizeof(*buf)); 126 memset(buf, 0, sizeof(*buf));
127 INIT_LIST_HEAD(&buf->bufs); 127 INIT_LIST_HEAD(&buf->bufs);
128 buf->start_time = jiffies;
128 buf->bio = bio; 129 buf->bio = bio;
129 buf->resid = bio->bi_size; 130 buf->resid = bio->bi_size;
130 buf->sector = bio->bi_sector; 131 buf->sector = bio->bi_sector;