Re: ext4 features

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

 



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 <[email protected]>
 CTO TMR Associates, Inc
 Doing interesting things with small computers since 1979

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux