From: "Robin H. Johnson" <robbat2@gentoo.org>
To: linux-kernel@vger.kernel.org
Cc: "Robin H. Johnson" <robbat2@gentoo.org>
Subject: Re: [PATCH] tmpfs time granularity fix for [acm]time moving backwards.
Date: Sun, 11 Jun 2006 04:31:41 -0700 [thread overview]
Message-ID: <20060611113141.GD26475@curie-int.vc.shawcable.net> (raw)
In-Reply-To: <Pine.LNX.4.61.0606111210460.13585@yvahk01.tjqt.qr>
[-- Attachment #1: Type: text/plain, Size: 1737 bytes --]
On Sun, Jun 11, 2006 at 12:12:41PM +0200, Jan Engelhardt wrote:
> >Test output from a filesystem supporting sub-second timestamps (jfs,xfs,ramfs):
> >creat: m=1149891452.928796249 c=1149891452.928796249 a=1149891452.928796249
> >futimes: m=1149891452.928796249 c=1149891452.928796249 a=1149891452.928796249
> >
> >Test output from the tmpfs filesystem with the patch below:
> >creat: m=1149892086.382150894 c=1149892086.382150894 a=1149892075.473249075
> >futimes: m=1149892086.383150885 c=1149892086.383150885 a=1149892086.383150885
> >
> Is it normal that creat and futimes match for jfs/xfs?
My testcase just seemed to run nice and fast there, if I do some work in the
middle or sleep, the numbers will be different more, but otherwise I think it
implies that both operations are taking place during the same time instance (I
have HZ=1000 as you may be able to deduce by the 1ms differences in some of the
pairs).
I ran it a few more times on ramfs for good measure.
creat: m=1150025153.933532153 c=1150025153.933532153 a=1150025151.29558289
futimes: m=1150025153.933532153 c=1150025153.933532153 a=1150025153.933532153
...
creat: m=1150025156.860505810 c=1150025156.860505810 a=1150025153.933532153
futimes: m=1150025156.861505801 c=1150025156.861505801 a=1150025156.861505801
...
creat: m=1150025247.906686387 c=1150025247.906686387 a=1150025247.459690410
futimes: m=1150025247.907686378 c=1150025247.907686378 a=1150025247.907686378
> >Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
> Hint: Cc it to the shmem.c maintainer, or it may get missed :)
Will do, thanks.
--
Robin Hugh Johnson
E-Mail : robbat2@gentoo.org
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
[-- Attachment #2: Type: application/pgp-signature, Size: 241 bytes --]
prev parent reply other threads:[~2006-06-11 11:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-09 22:49 Robin H. Johnson
2006-06-11 10:12 ` Jan Engelhardt
2006-06-11 11:31 ` Robin H. Johnson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060611113141.GD26475@curie-int.vc.shawcable.net \
--to=robbat2@gentoo.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®