mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Petr Vandrovec" <VANDROVE@vc.cvut.cz>
To: Padraig Brady <padraig@antefacto.com>
Cc: Alex Larsson <alexl@redhat.com>,
	Ulrich Drepper <drepper@cygnus.com>,
	linux-kernel@vger.kernel.org
Subject: Re: Finegrained a/c/mtime was Re: Directory notification pr
Date: Fri, 5 Oct 2001 15:27:39 MET-1	[thread overview]
Message-ID: <567F3237EED@vcnet.vc.cvut.cz> (raw)

On  5 Oct 01 at 14:15, Padraig Brady wrote:
> >Another advantage of using the real time instead of a counter is that 
> >you can easily merge the both values into a single 64bit value and do
> >arithmetic on it in user space. With a generation counter you would need 
> >to work with number pairs, which is much more complex. 
> >
> ??
> if (file->mtime != mtime || file->gen_count != gen_count)
>      file_changed=1;

make needs comparing timestamps between two files. I cannot imagine
how you can get this working (without network filesystem you can
have global gen_count, but with network filesystem each server has
its own gen_count... and using world-wide nanoseconds instead of world-wide
gen_count looks much simpler to me ;-) )
                                                Best regards,
                                                    Petr Vandrovec
                                                    vandrove@vc.cvut.cz
                                                    

             reply	other threads:[~2001-10-05 13:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-05 15:27 Petr Vandrovec [this message]
2001-10-05 13:41 ` Jonathan Lundell

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=567F3237EED@vcnet.vc.cvut.cz \
    --to=vandrove@vc.cvut.cz \
    --cc=alexl@redhat.com \
    --cc=drepper@cygnus.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=padraig@antefacto.com \
    /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®