Skip to content

Another approach to large transactions

Stefan Beller git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3refs.c: remove lock_fd from struct ref_lockrefs.c+5 -100 replies
2/3Move get_max_fd_limit(void) to git_compat_util.hgit-compat-util.h sha1_file.c wrapper.c+42 -410 replies
3/3refs.c: enable large transactionsrefs.c t/t1400-update-ref.sh+15 -20 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchMichael Haggerty
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Another approach to large transactions

* We keep the speed on small transactions (no close and reopen of fds in small transactions)

* No refactoring for refs included, only minimally invasive to the refs.c code

* applies on top of origin/sb/remove-fd-from-ref-lock replacing the last commit there (I reworded the commit message of the last patch of that tip, being the first patch in this series)

* another approach would be to move the fd counting into the lock file api, I think that's not worth it for now.

Stefan Beller (3):
refs.c: remove lock_fd from struct ref_lock
Move unsigned int get_max_fd_limit(void) to git_compat_util.h refs.c: enable large transactions

 git-compat-util.h     |  1 +
 refs.c                | 28 ++++++++++++++++++----------
 sha1_file.c           | 41 -----------------------------------------
 t/t1400-update-ref.sh |  4 ++--
 wrapper.c             | 41 +++++++++++++++++++++++++++++++++++++++++
 5 files changed, 62 insertions(+), 53 deletions(-)
Signature · 1 line
2.3.0.81.gc37f363