linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Davide Libenzi <davidel@xmailserver.org>
Cc: Andrea Arcangeli <andrea@suse.de>, Larry McVoy <lm@bitmover.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: kernel.bkbits.net off the air
Date: Mon, 10 Nov 2003 09:59:01 -0800	[thread overview]
Message-ID: <3FAFD1E5.5070309@zytor.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0311100952280.2097-100000@bigblue.dev.mdolabs.com>

Davide Libenzi wrote:
> On Mon, 10 Nov 2003, Andrea Arcangeli wrote:
> 
> 
>>the updates shows up on kernel.org, rsync can't even hang on per-file
>>locks, sure it can't be coherent as a whole.
>>
>>The best way to fix this isn't to add locking to rsync, but to add two
>>files inside or outside the tree, each one is a sequence number, so you
>>fetch file1 first, then you rsync and you fetch file2, then you compare
>>them. If they're the same, your rsync copy is coherent. It's the same
>>locking we introduced with vgettimeofday.
>>
>>Ideally rsync could learn to check the sequence numbers by itself but I
>>don't mind a bit of scripting outside of rsync.
> 
> Wouldn't a simpler  "stop-rsync -> update-root -> start-rsync" work? If 
> you'll hit an update you will get a error from your local rsync, that will 
> let you know to retry the operation.
> 

Part of the problem is that there are multiple steps in the rsync chain, 
some of which can't be stopped in this way.

The sequence number idea looks sensible to me.  Larry, would it be too 
much work to have the cvs repository generator generate these files?

	-hpa


  reply	other threads:[~2003-11-10 17:59 UTC|newest]

Thread overview: 120+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-07  5:10 kernel.bkbits.net off the air 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 [this message]
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
     [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
     [not found] <fa.eto0cvm.1v20528@ifi.uio.no>
     [not found] ` <fa.onl48uv.1tmeb21@ifi.uio.no>
2003-11-11 14:14   ` walt
2003-11-11 14:38     ` 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
2003-11-13 12:59 Samium Gromoff
2003-11-13 14:44 ` Jan Harkes
2003-11-15  1:06 Carl-Daniel Hailfinger
2003-11-15  1:09 ` H. Peter Anvin
2003-11-15 10:53   ` Frank Cusack
     [not found] <fa.gj5f2rq.1u42v9u@ifi.uio.no>
     [not found] ` <fa.d7qik9h.1q644ip@ifi.uio.no>
2003-11-17  0:49   ` walt
     [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

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=3FAFD1E5.5070309@zytor.com \
    --to=hpa@zytor.com \
    --cc=andrea@suse.de \
    --cc=davidel@xmailserver.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lm@bitmover.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;
as well as URLs for NNTP newsgroup(s).