sorry, forgot to cc to the list :) ---------- Forwarded message ---------- From: Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> Date: Sat, Dec 22, 2012 at 8:58 AM Subject: Re: Query on vfs interface To: Raghavendra G <raghavendra.g@xxxxxxxxxxxxxx> On Fri, Dec 21, 2012 at 1:34 PM, Raghavendra G <raghavendra.g@xxxxxxxxxxxxxx> wrote: > > Hello > > I am trying to log all the calls going to the VFS file system from the > application. > > > > For write calls I notice an anomaly. I introduced a log at the > vfs_write() function , I see it get’s logged twice for every write in the > log output. my best guess is: first write: updating file metadata, likely access time timestamp second write: updating the data itself.... to see whether it's true, re-mount the partition where the data stays with "noatime"..... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies