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

Re: [PATCH 0/2] alternate approach to fixing fsmonitor hangs

From
Koji Nakamaru <koji.nakamaru@gree.net>
Date
Oct 8, 2024, 16:03 UTC
Message-ID
<CAOTNsDyxmRZ155vV-Jh=1obMnR+F4ExY9B136fiGk0Vd23-zrw@mail.gmail.com>
In-Reply-To
<20241008083121.GA676391@coredump.intra.peff.net>
On Tue, Oct 8, 2024 at 5:31 PM Jeff King <peff@peff.net> wrote:
Show 8 quoted lines
> I've added in the necessary Windows bits, along with smoothing a few
> rough edges. Especially with the extra Windows changes (which I mostly
> had to guess-and-check by pushing to CI), I'm beginning to wonder if my
> solution isn't getting a bit too complicated, and maybe yours was the
> right way after all.
>
> But I've cleaned it up for presentation here, so at least we can look at
> the final form of both and see which we prefer.

Thank you for the new patch. It prevents to start accepting requests until starting fs event listening and simplifies the code flow. It also has sufficient comments, so later everyone can easily understand how it works. I also tested it both on mac and windows and it works correctly.

I think this one should be adopted :)
Koji Nakamaru
Previous: Jeff KingNext: Jeff King
Message 8 of 10 in “fsmonitor: fix hangs by delayed fs event listening”
  1. fsmonitor: fix hangs by delayed fs event listeningKoji Nakamaru via GitGitGadget, Oct 2, 2024
  2. Jeff KingOct 7, 2024
  3. Jeff KingOct 7, 2024
  4. Koji NakamaruOct 7, 2024
  5. 0/2 alternate approach to fixing fsmonitor hangsJeff King, Oct 8, 2024
  6. 1/2 simple-ipc: split async server initialization and runningJeff King, Oct 8, 2024
  7. 2/2 fsmonitor: initialize fs event listener before accepting clientsJeff King, Oct 8, 2024
  8. Koji NakamaruOct 8, 2024
  9. Jeff KingOct 11, 2024
  10. Junio C HamanoOct 11, 2024

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.