OSDN Git Service

[PATCH] fix scalability problems with git-deltafy-script
authorNicolas Pitre <nico@cam.org>
Tue, 21 Jun 2005 14:18:00 +0000 (10:18 -0400)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 21 Jun 2005 15:58:56 +0000 (08:58 -0700)
commit83ba99bc8c2cdbaa9a0b4ec286e72c3ecb31bf8a
treea00acb22adf81b500cb07b3cc2494a39c7c42670
parent69f956e10484f92f9e0ab191b668c79d697b9f0f
[PATCH] fix scalability problems with git-deltafy-script

Current version would spin forever and exhaust memory while attempting
to sort all files from all revisions at once, until it dies before even
doing any real work.  This is especially noticeable when used on a big
repository like the imported bkcvs repo for the Linux kernel.

This patch allows for batching the sort to put a bound on needed
resources and making progress early, as well as including some small
cleanups.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
git-deltafy-script