Re: [RFC][PATCH] Rewriting revs in place in push target repository
- From
Matthias Urlichs <smurf@smurf.noris.de>
- Date
- Aug 14, 2005, 10:02 UTC
- Message-ID
- <pan.2005.08.14.10.02.41.120567@smurf.noris.de>
- In-Reply-To
- <20050814022011.GA19897@taniwha.stupidest.org>
Hi, Chris Wedgwood wrote:
Show 8 quoted lines
> 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? > > if you journal metadata only you can see a file extended w/o having > the block flushed
??? but the file is *not* extended. Also, whether or not a block is flushed should only matter if the machine crashes ..?
--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
- -
CONS [from LISP] 1. v. To add a new element to a list. 2. CONS UP:
v. To synthesize from smaller pieces: "to cons up an example".
-- From the AI Hackers' Dictionary