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

[PATCH 0/2] midx: prevent against racily disappearing packs

From
Taylor Blau <me@ttaylorr.com>
Date
Nov 25, 2020, 17:17 UTC
Message-ID
<cover.1606324509.git.me@ttaylorr.com>

Here are a couple of patches that Peff and I wrote after noticing a problem where racily disappearing .idx files can cause a segfault. While investigating, we fixed a related issue which is described and fixed in the second patch.

(I'm a little behind in responding to review on the reachability generation improvements patches, but had these in my backlog and they seemed relatively easy to send and remove from my TODO list. So, here they are :-).)

Thanks, Taylor

Taylor Blau (2):
  packfile.c: protect against disappearing indexes
  midx.c: protect against disappearing packs
 midx.c                      |  2 +-
 packfile.c                  | 19 ++-----------------
 t/t5319-multi-pack-index.sh | 30 ++++++++++++++++++++++++++++--
 3 files changed, 31 insertions(+), 20 deletions(-)

-- 2.29.2.368.ge1806d1bdc

Next: Taylor Blau
Message 1 of 9 in “midx: prevent against racily disappearing packs”
  1. 0/2 midx: prevent against racily disappearing packsTaylor Blau, Nov 25, 2020
  2. 1/2 packfile.c: protect against disappearing indexesTaylor Blau, Nov 25, 2020
  3. Junio C HamanoNov 25, 2020
  4. 2/2 midx.c: protect against disappearing packsTaylor Blau, Nov 25, 2020
  5. Junio C HamanoNov 25, 2020
  6. Junio C HamanoNov 25, 2020
  7. Jeff KingNov 26, 2020
  8. Taylor BlauNov 26, 2020
  9. Jeff KingNov 26, 2020

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.