]> granicus.if.org Git - git/commit
Merge branch 'sb/submodule-parallel-fetch'
authorJunio C Hamano <gitster@pobox.com>
Tue, 19 Jul 2016 20:22:14 +0000 (13:22 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Jul 2016 20:22:15 +0000 (13:22 -0700)
commit7725bebe21dfa4877dad74b1ac3d921f26f949cf
tree1057b2ace78b04486bcdd546032f32eaa0c495e0
parente0e56cbf7f6b249b17b924c92f19580b7348431b
parentd751dd11ae16fd4e2410d3a32c8e2d951fafc923
Merge branch 'sb/submodule-parallel-fetch'

Fix recently introduced codepaths that are involved in parallel
submodule operations, which gave up on reading too early, and
could have wasted CPU while attempting to write under a corner
case condition.

* sb/submodule-parallel-fetch:
  hoist out handle_nonblock function for xread and xwrite
  xwrite: poll on non-blocking FDs
  xread: retry after poll on EAGAIN/EWOULDBLOCK
wrapper.c