Messages in this thread | ![/](/images/icornerl.gif) | | Date | Thu, 28 Aug 2003 00:39:03 +0100 | From | Jamie Lokier <> | Subject | Re: Lockless file reading |
| |
Timo Sirainen wrote: > Maybe it would be possible to use some kind of error detection > checksums which would guarantee that the data either is valid or isn't, > regardless of the order in which it is written. I don't really know how > that could be done though.
You can use a strong checksum like MD5, if that is really faster than locking. (Over NFS it probably is faster than fcntl()-locking, for small data blocks).
-- Jamie - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |