git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/5] Fixes for the parallel processing

From
Stefan Beller <sbeller@google.com>
Date
Oct 19, 2015, 18:24 UTC
Message-ID
<1445279086-31066-1-git-send-email-sbeller@google.com>

I noticed a problem with the gracefully abortion in the parallel processing, that is fixed in patch 1.

Patch 2 makes the API more maintainable/usable (the caller may forget to call child_process_init and only fill in fields which the callback is interested in)

Patch 3 is another fixup. It actually initializes the shutdown flag properly. (Apparently it had the right value so far)

Patches 4 and 5 add more tests both for the gracefully aborting case as well as the standard use case.

This applies on top of sb/submodule-parallel-fetch which is already in next. Junio, do you want me to reroll that series with these patches squashed in appropriately, or just put it on top of that series ?

Thanks, Stefan

Stefan Beller (5):
  run-command: Fix early shutdown
  run-command: Call get_next_task with a clean child process.
  run-command: Initialize the shutdown flag
  test-run-command: test for gracefully aborting
  test-run-command: Increase test coverage
 run-command.c          |  5 ++++-
 t/t0061-run-command.sh | 28 ++++++++++++++++++++++++++--
 test-run-command.c     | 22 ++++++++++++++++++++--
 3 files changed, 50 insertions(+), 5 deletions(-)
-- 
2.5.0.285.g8fe9b61.dirty
Next: Stefan Beller
Message 1 of 12 in “Fixes for the parallel processing”
  1. 0/5 Fixes for the parallel processingStefan Beller, Oct 19, 2015
  2. 1/5 run-command: Fix early shutdownStefan Beller, Oct 19, 2015
  3. Junio C HamanoOct 20, 2015
  4. 2/5 run-command: Call get_next_task with a clean child process.Stefan Beller, Oct 19, 2015
  5. Junio C HamanoOct 20, 2015
  6. Stefan BellerOct 20, 2015
  7. 3/5 run-command: Initialize the shutdown flagStefan Beller, Oct 19, 2015
  8. 4/5 test-run-command: test for gracefully abortingStefan Beller, Oct 19, 2015
  9. 5/5 test-run-command: Increase test coverageStefan Beller, Oct 19, 2015
  10. Junio C HamanoOct 20, 2015
  11. Stefan BellerOct 20, 2015
  12. 6/5 run-command: Fix missing output from late callbacksStefan Beller, Oct 20, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.