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

Re: [PATCH] fsmonitor: option to allow fsmonitor to run against network-mounted repos

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 10, 2022, 21:41 UTC
Message-ID
<xmqqwnbfixnd.fsf@gitster.g>
In-Reply-To
<CAMxJVdEvNKzwbHkRHcbd=_8yEuYZiNsNABVieU1tV5kna_nJ_g@mail.gmail.com>
Eric D <eric.decosta@gmail.com> writes:
Show 10 quoted lines
> The only thing that is somewhat gnawing at me is that just because the
> remote worktree is mounted via SMB is no guarantee that fsmonitor will
> work correctly. In many (most?) cases it should, but who knows what
> support the filer server has.
>
> I think we should allow the user to override regardless - as you said
> let the user try it. But, conservatively, just because SMB is there
> may not be enough to let the monitor start without the explicit user
> override. Being able to report on which protocol is being used could
> provide useful diagnostics, but that's about it.

I do not think anybody minds if the initial/first step would be to add "option to allow" and do nothing else. No "are we talking SMB?" check, and just a simple "by default we refuse going remote, but since the user has an explicit opt-in configuration set, we allow".

That is sufficient to let people gain experience using fsmonitor on Windows mounting from various filer implementations. And then the next step, in one or two major releases down the road, may try to check what kind of filer we are on and see if it is one of the "good" ones to flip the default selectively.

Previous: Eric DNext: Eric DeCosta via GitGitGadget
Message 7 of 20 in “fsmonitor: option to allow fsmonitor to run against network-mounted repos”
  1. fsmonitor: option to allow fsmonitor to run against network-mounted reposEric DeCosta via GitGitGadget, Aug 9, 2022
  2. Junio C HamanoAug 10, 2022
  3. Eric DAug 10, 2022
  4. Junio C HamanoAug 10, 2022
  5. Eric DAug 10, 2022
  6. Eric DAug 10, 2022
  7. Junio C HamanoAug 10, 2022
  8. 0/2 Option to allow fsmonitor to run against repos on network file systemsEric DeCosta via GitGitGadget, Aug 11, 2022
  9. 1/2 fsmonitor: option to allow fsmonitor to run against network-mounted reposEric DeCosta via GitGitGadget, Aug 11, 2022
  10. 2/2 fsmonitor.allowRemote now overrides default behaviorEric DeCosta via GitGitGadget, Aug 11, 2022
  11. Junio C HamanoAug 11, 2022
  12. Eric DAug 11, 2022
  13. Junio C HamanoAug 11, 2022
  14. Eric DAug 11, 2022
  15. fsmonitor: option to allow fsmonitor to run against network-mounted reposEric DeCosta via GitGitGadget, Aug 11, 2022
  16. Junio C HamanoAug 11, 2022
  17. fsmonitor: option to allow fsmonitor to run against network-mounted reposEric DeCosta via GitGitGadget, Aug 11, 2022
  18. Junio C HamanoAug 12, 2022
  19. Jeff HostetlerAug 15, 2022
  20. Junio C HamanoAug 15, 2022

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.