9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Richard Miller <miller@hamnavoe.demon.co.uk>
To: 9fans@cse.psu.edu
Subject: [9fans] kfscmd atime considered harmful
Date: Fri, 10 Oct 2003 13:15:16 +0100	[thread overview]
Message-ID: <bed74d3893ec670fe590c6e5e8fd1d5e@hamnavoe.com> (raw)
In-Reply-To: <E1A7mYD-000PZq-8X@t40.swtch.com>

Using disk/kfscmd atime, which reduces disk activity by preventing the
updating of access times when files and directories are accessed for
reading, has an unfortunate side effect of making the effects of wstat
somewhat ephemeral:

term% ls -l d
--rw-r----- M 8 miller miller 0 Oct 10 10:31 d/one
--rw-r----- M 8 miller miller 0 Oct 10 10:31 d/two
term% disk/kfscmd atime
atimes will not be updated
term% chmod 666 d/one
term% mv d/two d/three
term% ls -l d
--rw-rw-rw- M 8 miller miller 0 Oct 10 10:31 d/one
--rw-r----- M 8 miller miller 0 Oct 10 10:31 d/three
term% du >/dev/null
term% ls -l d
--rw-r----- M 8 miller miller 0 Oct 10 10:31 d/one
--rw-r----- M 8 miller miller 0 Oct 10 10:31 d/two

I'll send a suggested fix to 9trouble@plan9.bell-labs.com

-- Richard



  parent reply	other threads:[~2003-10-10 12:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-10  1:46 [9fans] bleeding edge cd install ron minnich
2003-10-10  1:49 ` David Presotto
2003-10-10  1:34   ` Russ Cox
2003-10-10  2:22     ` ron minnich
2003-10-10  1:58       ` Russ Cox
2003-10-10  2:41         ` David Presotto
2003-10-10  3:12         ` ron minnich
2003-10-10 12:15         ` Richard Miller [this message]
2003-10-10  2:30       ` David Presotto
2003-10-10  2:33       ` ron minnich
2003-10-10  2:28     ` mirtchov
2003-10-10  2:03   ` ron minnich
2003-10-10  2:13     ` David Presotto

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=bed74d3893ec670fe590c6e5e8fd1d5e@hamnavoe.com \
    --to=miller@hamnavoe.demon.co.uk \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).