From: Chris Wedgwood Date: Sun, 14 Aug 2005 02:20:11 GMT Subject: Re: [RFC][PATCH] Rewriting revs in place in push target repository 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