VFS layer filesytem tracking

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

 



Hello all,

I want to track the read/write operations for a particular inode at the vfs layer. 
I added the following structure as a field to struct inode. 
struct meta_info 
{
 unsigned int read_count;
 unsigned int write_count;
};

This caused a problem in mounting the root device , what could be the cause ?
Am i allowed modify the struct inode by adding a new field ? 

Also, i would like to know if there are any existing mechanisms that can help me track the workload . 
at various levels
Thanks, 
sanoj

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux