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

Re: [PATCH] t9010: Open backflow FIFO once to work around kernel race condition

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jun 26, 2012, 22:40 UTC
Message-ID
<20120626224053.GA7155@burratino>
In-Reply-To
<1340749806-22734-1-git-send-email-andersk@mit.edu>
Hi,
Quick first impressions:
Anders Kaseorg wrote:
> Sidestep this problem by opening the backflow FIFO once for
> read+write.
Is that portable?
>             Also, replace the stream FIFO with a shell pipe so we
> don’t have to do manual process management.
Doesn't this mean we wouldn't notice if test-svn-fe crashes?

Maybe it would be simpler to make test-svn-fe launch fast-import as a child, avoiding the fifos altogether.

Thanks again for tracking this down, by the way. Jonathan

Previous: Anders KaseorgNext: Anders Kaseorg
Message 2 of 5 in “t9010: Open backflow FIFO once to work around kernel race condition”
  1. t9010: Open backflow FIFO once to work around kernel race conditionAnders Kaseorg, Jun 26, 2012
  2. Jonathan NiederJun 26, 2012
  3. Anders KaseorgJun 26, 2012
  4. Junio C HamanoJun 26, 2012
  5. Stefano LattariniJun 26, 2012

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.