Messages in this thread Patch in this message | | | From | Tejun Heo <> | Subject | [PATCH 03/11] block: block_bio_complete tracepoint was missing | Date | Thu, 5 Jan 2012 15:42:46 -0800 |
| |
block_bio_complete tracepoint was defined but not invoked anywhere. Fix it.
Signed-off-by: Tejun Heo <tj@kernel.org> --- fs/bio.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/fs/bio.c b/fs/bio.c index b1fe82c..96548da 100644 --- a/fs/bio.c +++ b/fs/bio.c @@ -1447,6 +1447,9 @@ void bio_endio(struct bio *bio, int error) else if (!test_bit(BIO_UPTODATE, &bio->bi_flags)) error = -EIO; + if (bio->bi_bdev) + trace_block_bio_complete(bdev_get_queue(bio->bi_bdev), + bio, error); if (bio->bi_end_io) bio->bi_end_io(bio, error); } -- 1.7.3.1
| |