[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFFtA87zc0-puJG2uxy7fUN7gkTLXiV3RJtZYsTeMPf_joTrZQ@mail.gmail.com>
Date: Tue, 3 Jan 2012 16:50:57 -0500
From: Sushil Mantri <sushilmantri@...il.com>
To: linux-ext4@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: A stackable filesystem to trace low level filesystem operations
Please read the following:
On Tue, Jan 3, 2012 at 4:45 PM, Greg Freemyer <greg.freemyer@...il.com> wrote:
> On Tue, Jan 3, 2012 at 4:20 PM, Sushil Mantri <sushilmantri@...il.com> wrote:
>> Hi All,
>>
>> Sorry but this isn't a ext4 specific question but a general filesystem question.
>>
>> I am looking for a way to track filesystem level operation like
>> operation(read/write), filename, offset, size of read/write, pid of
>> the requesting process. The goal of my project is to collect such
>> traces and understand access usage of directories and more. I would
>> like to filter other operation like open,close, etc and requests to
>> procfs, etc. There was a stackable file system earlier called Tracefs.
>> It isn't supported anymore though. The original paper can be found
>> here: filesystems.org/docs/tracefs-fast04/tracefs.ps
>>
>> Can you please suggest me what is the best option i have. I am
>> currently looking at SystemTap.
>>
>> Thanks,
>> Sushil
>
> I think you're looking for either inotify or fanotify.
This will only notify me when an event occurs,but is doesn't provide
tracing information. Further i think it will be very slow if i have to
trace the whol filesystem
>
> You might have better luck asking in the vfs mailinglist.
>
> (linux-fsdevel@...r.kernel.org)
>
> Greg
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists