git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Multithread index-pack
@ 2012-03-12  2:32 Nguyễn Thái Ngọc Duy
  2012-03-12  2:32 ` [PATCH v2 1/2] index-pack: split second pass obj handling into own function Nguyễn Thái Ngọc Duy
  2012-03-12  2:32 ` [PATCH v2 2/2] index-pack: support multithreaded delta resolving Nguyễn Thái Ngọc Duy
  0 siblings, 2 replies; 11+ messages in thread
From: Nguyễn Thái Ngọc Duy @ 2012-03-12  2:32 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Ramsay Jones,
	Nguyễn Thái Ngọc Duy

Compared to the first version [1], this fixes thin-pack appending
problem because nr_resolved_detas is misupdated. It also makes sure no
pthread calls are called before thread data is initialized, and after
it is destroyed. This should fix the crash Ramsay observed on MinGW.

[1] http://thread.gmane.org/gmane.comp.version-control.git/191698

Nguyễn Thái Ngọc Duy (2):
  index-pack: split second pass obj handling into own function
  index-pack: support multithreaded delta resolving

 Documentation/git-index-pack.txt |   10 ++
 Makefile                         |    2 +-
 builtin/index-pack.c             |  225 +++++++++++++++++++++++++++++++++-----
 3 files changed, 208 insertions(+), 29 deletions(-)

-- 
1.7.3.1.256.g2539c.dirty

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: [PATCH 2/2] index-pack: support multithreaded delta resolving
@ 2012-03-02  6:09 Junio C Hamano
  2012-03-02 13:42 ` [PATCH v2 " Nguyễn Thái Ngọc Duy
  0 siblings, 1 reply; 11+ messages in thread
From: Junio C Hamano @ 2012-03-02  6:09 UTC (permalink / raw)
  To: Nguyễn Thái Ngọc Duy; +Cc: git

When applied to 25a7850 and then merged to 'pu', the result fails to
correctly produce pack .idx file.

I spent an hour or so this afternoon, scratching my head, staring at the
output from tests added to t5510 by today's tr/maint-bundle-boundary topic
to see where it breaks.  Its last test creates a bundle that has three
objects, extracts a pack from it, and runs "index-pack --fix-thin" on it.

This topic makes it fail with "fatal: pack has 1 unresolved deltas".

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-03-14 10:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-12  2:32 [PATCH v2 0/2] Multithread index-pack Nguyễn Thái Ngọc Duy
2012-03-12  2:32 ` [PATCH v2 1/2] index-pack: split second pass obj handling into own function Nguyễn Thái Ngọc Duy
2012-03-12  2:32 ` [PATCH v2 2/2] index-pack: support multithreaded delta resolving Nguyễn Thái Ngọc Duy
2012-03-12 10:57   ` Thomas Rast
2012-03-12 11:42     ` Nguyen Thai Ngoc Duy
2012-03-12 11:47       ` Thomas Rast
2012-03-12 12:18         ` Nguyen Thai Ngoc Duy
2012-03-13  0:32   ` Ramsay Jones
2012-03-14 10:29     ` Nguyen Thai Ngoc Duy
  -- strict thread matches above, loose matches on Subject: below --
2012-03-02  6:09 [PATCH " Junio C Hamano
2012-03-02 13:42 ` [PATCH v2 " Nguyễn Thái Ngọc Duy
2012-03-02 18:53   ` Junio C Hamano

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).