Re: Modifying blktrace to obtain i/o contents?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, 2011-12-12 at 15:18 -0500, Vasily Tarasov wrote:
> Steven, I think Sushil just wants to collect block traces that contain
> data hashes. If this is the case, then blktrace is the right place to
> do it. In fact, I've seen a couple of papers that did exactly that. If
> not mistaken, these were papers from FYU.
> 
> Sushil, if you will be implementing it - let me know. I'm also
> interested in block traces for dedup systems and have some experience
> in Linux block layer.
> 
> Thank you,
> Vasily
> 
Yes, I guess that might be the case. The subject said "i/o contents" so
I'd assumed that he wanted the complete data rather than just a hash.
Apologies if I've misunderstood that.

Even so, since there are generic tracepoints now, a small device mapper
target could produce that information in exactly the same way as
blktrace and remain modular. It would also be able to modify the i/o
too, which I assumed was the eventual aim,

Steve.

> On Mon, Dec 12, 2011 at 12:05 PM, Steven Whitehouse <swhiteho@xxxxxxxxxx> wrote:
> > Hi,
> >
> > On Mon, 2011-12-12 at 12:00 -0500, Sushil Mantri wrote:
> >> Hi,
> >>
> >> I am working on de-duplication, for which i need the i/o event traces
> >> along with its contents. I have been looking into blktrace kernel code
> >> for some time, and have thought of a hacky solution to start with. In
> >> all the probe functions where i have "bio" struct i could obtain the
> >> "contents" from it, and write that in the relay channel as well. The
> >> blkparser would have to be modified as well to take this change into
> >> account.
> >>
> >> Do you guys think i might be missing something or is there an
> >> alternative way to handle this?
> >>
> >> Thanks,
> >> Sushil
> >
> > I don't think that is probably a good way to do deduplication. Have you
> > considered just writing a device mapper target for this? Thats probably
> > the best way to do it,
> >
> > Steve.
> >
> >
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-btrace" in
> > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >


--
To unsubscribe from this list: send the line "unsubscribe linux-btrace" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux