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