Merge branch 'sp/clip-read-write-to-8mb' into maint
commit4b510c385ac47d35e0eea214990296a058aeb69e
authorJunio C Hamano <gitster@pobox.com>
Wed, 18 Sep 2013 18:57:58 +0000 (18 11:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Sep 2013 18:57:58 +0000 (18 11:57 -0700)
tree4a204f6f4bfbe0a77dd46b425e3a0fc744588e29
parent19230ab8a80d0a78ac396234c557f0dd8d564a04
parenta487916dd51cd0e8949c1b739cb0a6a61ee03363
Merge branch 'sp/clip-read-write-to-8mb' into maint

Send a large request to read(2)/write(2) as a smaller but still
reasonably large chunks, which would improve the latency when the
operation needs to be killed and incidentally works around broken
64-bit systems that cannot take a 2GB write or read in one go.

* sp/clip-read-write-to-8mb:
  Revert "compat/clipped-write.c: large write(2) fails on Mac OS X/XNU"
  xread, xwrite: limit size of IO to 8MB