Skip to content

Makefile: apply Git ref advertisement buffering patches

Jacob Vosmaer requested to merge jv-send-ref-buffer into master

Prior to these patches, Git used unbuffered writes for upload-pack ref advertisements, with one or two write syscalls per ref. In repositories with many refs that adds up to a lot of syscalls. These patches add stdio buffering for the ref advertisement writes.

Also see gitlab-com/gl-infra/scalability#1257 (closed).

Edited by Jacob Vosmaer

Merge request reports

Loading