[lkml]   [2003]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:48    [W:0.093 / U:2.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site