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

Re: [RFC][PATCH] Rewriting revs in place in push target repository

From
CWChris Wedgwood <cw@f00f.org>
Date
Aug 14, 2005, 02:20 UTC
Message-ID
<20050814022011.GA19897@taniwha.stupidest.org>
In-Reply-To
<20050813214725.GM5608@pasky.ji.cz>
On Sat, Aug 13, 2005 at 11:47:25PM +0200, Petr Baudis wrote:
> 	I think it does not in real setups, since thanks to O_RDWR the
> 	file should be overwritten only when the write() happens.
> 	Can a 41-byte write() be non-atomic in any real conditions?
yes

if you journal metadata only you can see a file extended w/o having the block flushed

Previous: Petr BaudisNext: Matthias Urlichs
Message 6 of 7 in “Rewriting revs in place in push target repository”
  1. Petr BaudisAug 13, 2005
  2. Linus TorvaldsAug 13, 2005
  3. Junio C HamanoAug 14, 2005
  4. Linus TorvaldsAug 14, 2005
  5. Petr BaudisSep 15, 2005
  6. Chris WedgwoodAug 14, 2005
  7. Matthias UrlichsAug 14, 2005

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.