[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081030073134.GM31673@kernel.dk>
Date: Thu, 30 Oct 2008 08:31:34 +0100
From: Jens Axboe <jens.axboe@...cle.com>
To: Arnaldo Carvalho de Melo <acme@...hat.com>
Cc: Mathieu Desnoyers <compudj@...stal.dyndns.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH][v3] blktrace: conversion to tracepoints
On Wed, Oct 29 2008, Arnaldo Carvalho de Melo wrote:
> Em Wed, Oct 29, 2008 at 02:18:55PM +0100, Jens Axboe escreveu:
> > > Feel free to point any disgusting aspect, perhaps there is at
> > > least one to warn me about fixing 8-)
> >
> > You my as well pass the members separately now that it's a specific call
> > anyway, to avoid doing the calculation when tracing is disabled.
> >
> > Patch looks straight forward. Perhaps it would be cleaner to use an
> > atomic type for the reference?
>
> Done and made the old pdu_int + NULL bio (trace_block_unplug_{io,timer})
> functions to receive just the request_queue.
>
> Found and fixed a bug in the process:
>
> In v2 we had:
>
> + unregister_trace_block_rq_insert(blk_add_trace_rq_insert);
> + unregister_trace_block_rq_insert(blk_add_trace_rq_abort);
>
> Where it should have been:
>
> + unregister_trace_block_rq_insert(blk_add_trace_rq_insert);
> + unregister_trace_block_rq_abort(blk_add_trace_rq_abort);
>
> c'n'p roblem!
>
> Also removed the leftover tracepoint_synchronize_unregister macro, it
> was already merged righfully as an inline function.
>
> Everything should be rock solid now 8)
I'll apply this for 2.6.29. I'm assuming you have tested this as well?
--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists