Re: [PATCH 1/2] block: introduce BIO_IN_FLIGHT flag

From: Tejun Heo
Date: Tue Jan 10 2012 - 11:26:31 EST


Hello,

On Tue, Jan 10, 2012 at 02:06:56PM +0900, Namhyung Kim wrote:
> Oh I misunderstood what you said. I was thinking about filtering in
> pure userspace, but you meant in-kernel probe side.

Yeah yeah.

> Right, we can change the probe to filter BIO_BOUNCED case out. But
> IMHO BIO_CLONED is different, since it usually routed to another
> device as a separate IO request. I'll cook a patch for the former
> soon.

It'll probably get dup'd completions from rq and bio completions for
request based drivers, right? Maybe there are better ways but
blktrace may as well just ignore bio completions if request
completions are happening.

Thanks.

--
tejun
--
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/