Re: kernel.org and GIT tree rebuilding
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Jun 25, 2005, 05:23 UTC
- Message-ID
- <Pine.LNX.4.58.0506242208210.11175@ppc970.osdl.org>
- In-Reply-To
- <42BCE026.8050405@pobox.com>
On Sat, 25 Jun 2005, Jeff Garzik wrote:
> > This is all due to the rsync sweeps, which have to scan metric tons of > inodes and dentries. Orders of magnitude over the pre-git days.
Well, the real solution is to use a git-aware protocol, not rsync.
rsync is wonderful for prototyping, and I wanted to make the database rsync'able for that reason, but it clearly doesn't scale.
I think I'll make a "pack"/"unpack" pair that just packs all the necessary objects between two commits. Then you can basically sync the object file by doing
git-pack OLD..NEW | ssh other-end git-unpack
and you'd basically be done. It looks pretty easy to do, too..
Linus