aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2010-11-16 06:52:38 -0500
committerJens Axboe <jaxboe@fusionio.com>2010-11-16 06:53:39 -0500
commitd07335e51df0c6dec202d315fc4f1f7e100eec4e (patch)
treedb6ac1db8d87738b9e44497e082d490c14413f5d /block
parent5fbf85639287b6ea287f4f5e5e7e36608f0f60bd (diff)
block: Rename "block_remap" tracepoint to "block_bio_remap" to clarify the event.
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com> Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'block')
-rw-r--r--block/blk-core.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 4ce953f1b390..151070541e21 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -33,7 +33,7 @@
33 33
34#include "blk.h" 34#include "blk.h"
35 35
36EXPORT_TRACEPOINT_SYMBOL_GPL(block_remap); 36EXPORT_TRACEPOINT_SYMBOL_GPL(block_bio_remap);
37EXPORT_TRACEPOINT_SYMBOL_GPL(block_rq_remap); 37EXPORT_TRACEPOINT_SYMBOL_GPL(block_rq_remap);
38EXPORT_TRACEPOINT_SYMBOL_GPL(block_bio_complete); 38EXPORT_TRACEPOINT_SYMBOL_GPL(block_bio_complete);
39 39
@@ -1329,9 +1329,9 @@ static inline void blk_partition_remap(struct bio *bio)
1329 bio->bi_sector += p->start_sect; 1329 bio->bi_sector += p->start_sect;
1330 bio->bi_bdev = bdev->bd_contains; 1330 bio->bi_bdev = bdev->bd_contains;
1331 1331
1332 trace_block_remap(bdev_get_queue(bio->bi_bdev), bio, 1332 trace_block_bio_remap(bdev_get_queue(bio->bi_bdev), bio,
1333 bdev->bd_dev, 1333 bdev->bd_dev,
1334 bio->bi_sector - p->start_sect); 1334 bio->bi_sector - p->start_sect);
1335 } 1335 }
1336} 1336}
1337 1337
@@ -1500,7 +1500,7 @@ static inline void __generic_make_request(struct bio *bio)
1500 goto end_io; 1500 goto end_io;
1501 1501
1502 if (old_sector != -1) 1502 if (old_sector != -1)
1503 trace_block_remap(q, bio, old_dev, old_sector); 1503 trace_block_bio_remap(q, bio, old_dev, old_sector);
1504 1504
1505 old_sector = bio->bi_sector; 1505 old_sector = bio->bi_sector;
1506 old_dev = bio->bi_bdev->bd_dev; 1506 old_dev = bio->bi_bdev->bd_dev;