linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: walt <wa1ter@myrealbox.com>
To: unlisted-recipients:; (no To-header on input)
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: kernel.bkbits.net off the air
Date: Tue, 11 Nov 2003 06:14:13 -0800	[thread overview]
Message-ID: <3FB0EEB5.5010804@myrealbox.com> (raw)
In-Reply-To: <fa.onl48uv.1tmeb21@ifi.uio.no>

Davide Libenzi wrote:
> On Tue, 11 Nov 2003, Nick Piggin wrote:
> 
> 
 >> What happens if the the tree is updated while the client is fetching 
 >> it [using a single LOCKfile method]?

 > Surprise, it breaks :-) Yes, the double file approach is needed
 > (excluding changes to rsync).


Sorry to be so dumb, but it seems to me that the two methods are exactly
equivalent in every way:

A test for file1 != file2 is exactly eqivalent to testing LOCK != NULL.
It's a simple binary TRUE/FALSE test.

What am I missing?  (BTW I'm not arguing against the two-file method.
I just don't understand why it's different.)

Now, if multiple people are updating the tree at the same time then a
simple TRUE/FALSE test provides insufficient information:  you would
then need enough 'bits' of information to count the number of people
updating at the same time.

But this problem is certainly not unique to this group.  Anyone using
a source repository has the same problem to deal with.  Or am I not
with the program here at all?

       reply	other threads:[~2003-11-11 14:11 UTC|newest]

Thread overview: 120+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.eto0cvm.1v20528@ifi.uio.no>
     [not found] ` <fa.onl48uv.1tmeb21@ifi.uio.no>
2003-11-11 14:14   ` walt [this message]
2003-11-11 14:38     ` kernel.bkbits.net off the air Andrew Walrond
2003-11-11 15:05       ` Andrea Arcangeli
2003-11-11 19:43       ` H. Peter Anvin
2003-11-11 20:21         ` Andrew Walrond
2003-11-11 20:38           ` Davide Libenzi
2003-11-11 23:52           ` Larry McVoy
2003-11-12  0:19             ` Andrea Arcangeli
2003-11-13 10:10             ` Andrew Walrond
2003-11-13 16:27               ` Larry McVoy
2003-11-13 16:43                 ` Mark Mielke
2003-11-13 17:14                 ` Davide Libenzi
2003-11-13 17:20                   ` Larry McVoy
2003-11-14  3:01                     ` Davide Libenzi
2003-11-13 18:21                   ` Tupshin Harper
2003-11-14  7:14                     ` Jan-Benedict Glaw
2003-11-14  9:48                       ` Tupshin Harper
2003-11-14  9:56                     ` Geert Uytterhoeven
2003-11-14 21:51                       ` Jan-Benedict Glaw
2003-11-14 22:55                       ` Roman Zippel
2003-11-13 19:17                 ` Andrew Walrond
2003-11-13 19:28                   ` Larry McVoy
2003-11-13 20:57                     ` Andrew Walrond
2003-11-13 21:17                       ` Sam Ravnborg
2003-11-14 14:54                         ` Larry McVoy
2003-11-14 15:00                       ` Larry McVoy
2003-11-14 16:24                         ` Andrew Walrond
2003-11-14 16:46                           ` Larry McVoy
2003-11-14 17:34                             ` Andrew Walrond
2003-11-14 17:43                               ` Larry McVoy
2003-11-14 18:17                                 ` Andrew Walrond
2003-11-16  5:12                                 ` Sven Dowideit
2003-11-18 15:30                                   ` Larry McVoy
2003-11-18 18:30                                     ` Ben Collins
2003-11-18 18:42                                       ` Larry McVoy
2003-11-18 22:53                                         ` Sven Dowideit
2003-11-19  0:24                                         ` Andrew Walrond
2003-11-19  0:38                                           ` Daniel Jacobowitz
2003-11-19 10:26                                             ` Andrew Walrond
2003-11-19  0:49                                           ` Larry McVoy
2003-11-19 10:45                                             ` Andrew Walrond
2003-11-18 18:42                                       ` Timothy Miller
2003-11-14 16:35                         ` Davide Libenzi
2003-11-14 16:48                           ` Larry McVoy
2003-11-14 17:03                             ` Davide Libenzi
2003-11-14 17:04                               ` Larry McVoy
2003-11-14 17:08                                 ` Davide Libenzi
2003-11-14 17:10                                   ` Larry McVoy
2003-11-16  4:57                                     ` H. Peter Anvin
2003-11-13 21:54                     ` Eli Carter
2003-11-13 23:32                 ` Daniel Egger
2003-11-14  9:56                   ` Nick Piggin
2003-11-14 11:38                     ` Daniel Egger
2003-11-15  3:02                       ` Nick Piggin
2003-11-15  3:22                         ` Linus Torvalds
2003-11-15  3:41                           ` Davide Libenzi
2003-11-15  3:49                             ` Linus Torvalds
2003-11-15  4:04                               ` Davide Libenzi
2003-11-15 21:09                         ` Daniel Egger
2003-11-18  9:59                 ` Pavel Machek
2003-11-18 15:01                   ` Larry McVoy
2003-11-13  0:45           ` Ryan Anderson
     [not found] <QHxm.193.21@gated-at.bofh.it>
     [not found] ` <ROZW.3X0.17@gated-at.bofh.it>
     [not found]   ` <RPt5.4TS.9@gated-at.bofh.it>
     [not found]     ` <RQ5t.69U.7@gated-at.bofh.it>
     [not found]       ` <RQf8.6tb.9@gated-at.bofh.it>
     [not found]         ` <Snut.2iY.7@gated-at.bofh.it>
     [not found]           ` <Tg7E.7ST.11@gated-at.bofh.it>
     [not found]             ` <TiVJ.4ko.11@gated-at.bofh.it>
     [not found]               ` <Tj5w.4yi.25@gated-at.bofh.it>
2003-11-18 19:38                 ` Pascal Schmidt
2003-11-19 14:49                   ` Larry McVoy
     [not found] <fa.gj5f2rq.1u42v9u@ifi.uio.no>
     [not found] ` <fa.d7qik9h.1q644ip@ifi.uio.no>
2003-11-17  0:49   ` walt
2003-11-15  1:06 Carl-Daniel Hailfinger
2003-11-15  1:09 ` H. Peter Anvin
2003-11-15 10:53   ` Frank Cusack
  -- strict thread matches above, loose matches on Subject: below --
2003-11-13 12:59 Samium Gromoff
2003-11-13 14:44 ` Jan Harkes
     [not found] <fa.na6uip6.p2erhm@ifi.uio.no>
     [not found] ` <fa.dbkbts9.1k7ohhd@ifi.uio.no>
2003-11-11  4:00   ` walt
2003-11-11  7:22     ` Davide Libenzi
2003-11-11  7:37       ` Nick Piggin
2003-11-11  7:47         ` Davide Libenzi
2003-11-11 15:04         ` Andrea Arcangeli
2003-11-12 21:35           ` Benoit Poulot-Cazajous
2003-11-13 14:53             ` Andrea Arcangeli
2003-11-13 15:23               ` Andreas Schwab
2003-11-13 16:09                 ` Andrea Arcangeli
2003-11-13 16:29                 ` Larry McVoy
2003-11-13 16:39                   ` Andrea Arcangeli
2003-11-13 22:09                 ` Benoit Poulot-Cazajous
2003-11-11 15:02     ` Andrea Arcangeli
2003-11-07  5:10 Larry McVoy
2003-11-07  9:53 ` Clemens Schwaighofer
2003-11-09 15:16 ` H. Peter Anvin
2003-11-09 15:25   ` Larry McVoy
2003-11-09 15:42     ` Davide Libenzi
2003-11-09 16:25       ` Larry McVoy
2003-11-10  1:21         ` Davide Libenzi
2003-11-10 13:26       ` Andrea Arcangeli
2003-11-10 16:49         ` Davide Libenzi
2003-11-10 16:57           ` Andrea Arcangeli
2003-11-10 17:54             ` Davide Libenzi
2003-11-10 17:59               ` H. Peter Anvin
2003-11-10 18:27                 ` Davide Libenzi
2003-11-10 18:37                   ` Andrea Arcangeli
2003-11-10 18:52                     ` Davide Libenzi
2003-11-10 19:08                     ` H. Peter Anvin
2003-11-10 19:23                       ` Davide Libenzi
2003-11-10 19:31                       ` Andrea Arcangeli
2003-11-10 19:42                         ` H. Peter Anvin
2003-11-10 23:41                           ` Andrea Arcangeli
2003-11-11 15:26                             ` Timothy Miller
2003-11-11  3:10                           ` Davide Libenzi
2003-11-11  3:25                             ` H. Peter Anvin
2003-11-11  3:48                           ` jw schultz
2003-11-11  4:03                             ` Davide Libenzi
2003-11-11  7:34                             ` Davide Libenzi
2003-11-11 15:00                               ` Andrea Arcangeli
2003-11-14  5:13                         ` Andrew Pimlott
2003-11-14 14:01                           ` Andrea Arcangeli
2003-11-14 14:53                             ` Larry McVoy
2003-11-14 15:28                               ` Andrea Arcangeli
2003-11-14 18:20                             ` H. Peter Anvin
2003-11-10 18:37                   ` David Roundy
2003-11-10 18:46                   ` Andreas Dilger
2003-11-09 19:28     ` H. Peter Anvin
2003-11-10  1:59       ` Matt Mackall
2003-11-10  2:38         ` H. Peter Anvin

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=3FB0EEB5.5010804@myrealbox.com \
    --to=wa1ter@myrealbox.com \
    --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;
as well as URLs for NNTP newsgroup(s).