]> git.ipfire.org Git - thirdparty/git.git/commit
writev: retract the topic until we have a better emulation
authorJunio C Hamano <gitster@pobox.com>
Thu, 9 Apr 2026 22:07:12 +0000 (15:07 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Apr 2026 22:07:12 +0000 (15:07 -0700)
commitbfedc73f86c3f820b51a16f6875b6235f9ccb76c
tree52f9e0eb046fca300944fded9606bcec1b4ab1ff
parent60f07c4f5c5f81c8a994d9e06b31a4a3a1679864
parent7798034171030be0909c56377a4e0e10e6d2df93
writev: retract the topic until we have a better emulation

The emulation layer we added for writev(3p) tries to be too faithful
to the spec that on systems with SSIZE_MAX set to lower than 64kB to
fit a single sideband packet would fail just like the real system
writev(), which makes our use of writev() for sideband messages
unworkable.

Let's revert them and reboot the effort after the release.  The
reverted commits are:

    $ git log -Swritev --oneline 8023abc632^..v2.52.0-rc1
    89152af176 cmake: use writev(3p) wrapper as needed
    26986f4cba sideband: use writev(3p) to send pktlines
    1970fcef93 wrapper: introduce writev(3p) wrappers
    3b9b2c2a29 compat/posix: introduce writev(3p) wrapper

8023abc632 is the merge of ps/upload-pack-buffer-more-writes topic to
the mainline.

Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>