Re: ext4 features

Bill Davidsen
2006-07-07T03:08:53Z

Trond Myklebust wrote:

>On Thu, 2006-07-06 at 22:42 -0400, Ric Wheeler wrote:
>
>
>
>>The point of using checksums (or digital signatures on files) is to be
>>able to detect when the on disk file has been corrupted - not to look
>>for updates. With normal disks, even writes that are flagged as correct
>>will occasionally actually end up corrupt on disk. The rate that you
>>need to validate the checksums is not at a 4 time a day rate.
>>
>>Buying a nice, high array can make this much less of a concern, but
>>those of us who get stuck using commodity disks should always have a way
>>of detecting corruption and a backup (either on tape or on another box).
>>
>>
>
>I repeat: you do _not_ need high res ctime/mtime updates in order to
>figure out whether or not you need to do a daily backup on your file.
>You do need it in order to figure out if the page you just read in from
>your NFS server 2 microseconds ago is still valid.
>
In most cases you don't care and would be using locking if you did. The
old value was valid when you read it, the new value is valid, and if
data is changing in 2us and the change matters, you can't process the
data before it changes again (or at least may change).

--
bill davidsen <davidsen@tmr.com>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979