summaryrefslogtreecommitdiff
path: root/mm/highmem.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2006-03-23 20:00:26 +0100
committerJens Axboe <axboe@suse.de>2006-03-23 20:00:26 +0100
commit2056a782f8e7e65fd4bfd027506b4ce1c5e9ccd4 (patch)
treed4fe59a7ca0c110690937085548936a4535c39db /mm/highmem.c
parent6dac40a7ce2483a47b54af07afebeb84131c7228 (diff)
downloadlinux-3.10-2056a782f8e7e65fd4bfd027506b4ce1c5e9ccd4.tar.gz
linux-3.10-2056a782f8e7e65fd4bfd027506b4ce1c5e9ccd4.tar.bz2
linux-3.10-2056a782f8e7e65fd4bfd027506b4ce1c5e9ccd4.zip
[PATCH] Block queue IO tracing support (blktrace) as of 2006-03-23
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'mm/highmem.c')
-rw-r--r--mm/highmem.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mm/highmem.c b/mm/highmem.c
index ce2e7e8bbfa..d0ea1eec6a9 100644
--- a/mm/highmem.c
+++ b/mm/highmem.c
@@ -26,6 +26,7 @@
#include <linux/init.h>
#include <linux/hash.h>
#include <linux/highmem.h>
+#include <linux/blktrace_api.h>
#include <asm/tlbflush.h>
static mempool_t *page_pool, *isa_page_pool;
@@ -483,6 +484,8 @@ void blk_queue_bounce(request_queue_t *q, struct bio **bio_orig)
pool = isa_page_pool;
}
+ blk_add_trace_bio(q, *bio_orig, BLK_TA_BOUNCE);
+
/*
* slow path
*/