git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Bulk check-in
@ 2011-10-28 23:54 Junio C Hamano
  2011-10-28 23:54 ` [PATCH 1/4] write_pack_header(): a helper function Junio C Hamano
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Junio C Hamano @ 2011-10-28 23:54 UTC (permalink / raw)
  To: git

This miniseries is a continuation of the "large file" topic from 1.7.6
development cycle.

The first three are moving existing code around for better reuse.  The
last one serves two purposes: to lift the one-pack-per-one-large-blob
constraint by introducing the concept of "plugging/unplugging" (i.e. you
plug the drain and throw many large blob at index_fd(), and they appear in
a single pack when you unplug it), and to stop using fast-import in this
codepath.

Only very lightly tested.

Junio C Hamano (4):
  write_pack_header(): a helper function
  create_tmp_packfile(): a helper function
  finish_tmp_packfile(): a helper function
  Bulk check-in

 Makefile               |    2 +
 builtin/add.c          |    5 ++
 builtin/pack-objects.c |   56 +++++------------
 bulk-checkin.c         |  159 ++++++++++++++++++++++++++++++++++++++++++++++++
 bulk-checkin.h         |   16 +++++
 pack-write.c           |   53 ++++++++++++++++
 pack.h                 |    6 ++
 sha1_file.c            |   67 +-------------------
 t/t1050-large.sh       |   26 ++++++--
 9 files changed, 282 insertions(+), 108 deletions(-)
 create mode 100644 bulk-checkin.c
 create mode 100644 bulk-checkin.h

-- 
1.7.7.1.573.ga40d2

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

end of thread, other threads:[~2011-11-24  5:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-28 23:54 [PATCH 0/4] Bulk check-in Junio C Hamano
2011-10-28 23:54 ` [PATCH 1/4] write_pack_header(): a helper function Junio C Hamano
2011-10-28 23:54 ` [PATCH 2/4] create_tmp_packfile(): " Junio C Hamano
2011-10-28 23:54 ` [PATCH 3/4] finish_tmp_packfile(): " Junio C Hamano
2011-10-28 23:54 ` [PATCH 4/4] Bulk check-in Junio C Hamano
2011-11-18  7:11 ` [PATCH 0/3] bulk-checkin continued Junio C Hamano
2011-11-18  7:11   ` [PATCH 1/3] csum-file: introduce sha1file_checkpoint Junio C Hamano
2011-11-18  7:11   ` [PATCH 2/3] bulk-checkin: do not write the same object twice Junio C Hamano
2011-11-18  7:11   ` [PATCH 3/3] bulk-checkin: do not write an object that already exists Junio C Hamano
2011-11-24  5:18   ` [PATCH] bulk-checkin: honor pack.packsizelimit 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).