[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: [PATCH][v2] Align file accesses with cache=off (O_D

From: Jamie Lokier
Subject: Re: [Qemu-devel] Re: [PATCH][v2] Align file accesses with cache=off (O_DIRECT)
Date: Wed, 21 May 2008 16:31:15 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Anthony Liguori wrote:
> >If you change part of the data but leave the checksum as-is, you'd 
> >hopefully get a checksum mismatch... ;)
> That's the point though, you're not changing part of the data.  You're 
> rewriting the same data.

Usually you're changing some bytes in a block but leaving others the same.
Why else would you write at all?

But even if you do write the same bits _exactly_, the bits written
will not overlay the original data bits precisely enough to make
aborting in the middle seamless.

-- Jamie

reply via email to

[Prev in Thread] Current Thread [Next in Thread]