Please read the following: On Tue, Jan 3, 2012 at 4:45 PM, Greg Freemyer <greg.freemyer@xxxxxxxxx> wrote: > On Tue, Jan 3, 2012 at 4:20 PM, Sushil Mantri <sushilmantri@xxxxxxxxx> 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@xxxxxxxxxxxxxxx) > > Greg -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html