Re: [PATCH RESEND 9/9] block, trace: implement ioblame - IO tracerwith origin tracking

From: Namhyung Kim
Date: Wed Jan 11 2012 - 21:19:42 EST


2012-01-12 10:44 AM, Tejun Heo wrote:
On Wed, Jan 11, 2012 at 5:41 PM, Namhyung Kim<namhyung.kim@xxxxxxx> wrote:
OK, but that can be controlled from userspace, I guess? Do we have to care
about that?

Otherwise, it's gonna be a pretty silly interface. If you want to
watch the TP, you have to restart the whole thing which also implies
intent number would change. And there still is the problem of losing
new intent events due to overflow. It just isn't the right interface
for the task.


I understood it's unreliable. BTW I think that sane userland tool must start both of ioblame_io and ioblame_create_intent, say, TPs at once - prior to triggering ioblame/enable, obviously. The ioblame/intents can be used as a backup just in case.

Thanks,
Namhyung Kim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/