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

Re: What's cooking in git.git (Mar 2022, #06; Mon, 28)

From
NSNeeraj Singh <nksingh85@gmail.com>
Date
Mar 29, 2022, 22:51 UTC
Message-ID
<20220329225106.GA12169@neerajsi-x1.localdomain>
In-Reply-To
<xmqqo81pxzt4.fsf@gitster.g>
On Mon, Mar 28, 2022 at 07:22:47PM -0700, Junio C Hamano wrote:
Show 15 quoted lines
> 
> * ns/core-fsyncmethod (2022-03-15) 6 commits
>   (merged to 'next' on 2022-03-17 at c8a52f8cbe)
>  + core.fsync: documentation and user-friendly aggregate options
>  + core.fsync: new option to harden the index
>  + core.fsync: add configuration parsing
>  + core.fsync: introduce granular fsync control infrastructure
>  + core.fsyncmethod: add writeout-only mode
>  + wrapper: make inclusion of Windows csprng header tightly scoped
>  (this branch is used by ns/batch-fsync and ps/fsync-refs.)
> 
>  Replace core.fsyncObjectFiles with two new configuration variables,
>  core.fsync and core.fsyncMethod.
>  source: <pull.1093.v6.git.1646952204.gitgitgadget@gmail.com>
> 

There's a fix for this series at: https://lore.kernel.org/git/pull.1191.git.1648590113062.gitgitgadget@gmail.com/ <pull.1191.git.1648590113062.gitgitgadget@gmail.com>

The net effect of the bug being fixed is that anyone using the default core.fsync config is syncing everything except loose objects.

Apologies for the bug. I noticed it when revising the perf tests and debugging the number of fsyncs. I'm submitting a separate patch to log fsync info through trace2.

Thanks, Neeraj

Previous: Ævar Arnfjörð BjarmasonNext: Junio C Hamano
Message 4 of 5 in “What's cooking in git.git (Mar 2022, #06; Mon, 28)”
  1. Junio C HamanoMar 29, 2022
  2. Jeff HostetlerMar 29, 2022
  3. fr/vimdiff-layout (was: What's cooking in git.git (Mar 2022, #06; Mon, 28))Ævar Arnfjörð Bjarmason, Mar 29, 2022
  4. Neeraj SinghMar 29, 2022
  5. Junio C HamanoMar 29, 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.