Fwd: Query on vfs interface
Mulyadi Santosa
mulyadi.santosa at gmail.com
Fri Dec 21 21:03:41 EST 2012
sorry, forgot to cc to the list :)
---------- Forwarded message ----------
From: Mulyadi Santosa <mulyadi.santosa at gmail.com>
Date: Sat, Dec 22, 2012 at 8:58 AM
Subject: Re: Query on vfs interface
To: Raghavendra G <raghavendra.g at stericsson.com>
On Fri, Dec 21, 2012 at 1:34 PM, Raghavendra G
<raghavendra.g at stericsson.com> 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
More information about the Kernelnewbies
mailing list