Re: [PATCH] zerocopy NFS updated

From: David S. Miller (davem@redhat.com)
Date: Fri Apr 12 2002 - 16:31:50 EST


   From: Jamie Lokier <lk@tantalophile.demon.co.uk>
   Date: Fri, 12 Apr 2002 22:22:52 +0100
   
   I'm not advocating more locking in read() -- there's no need, and it is
   quite important that it is fast! But I would very much appreciate an
   understanding of the rules that relate reading, writing and truncating
   processes. How much ordering & atomicity can I depend on? Anything at all?

Basically none it appears :-)

If you need to depend upon a consistent snapshot of what some other
thread writes into a file, you must have some locking protocol to use
to synchronize with that other thread.
-
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/



This archive was generated by hypermail 2b29 : Mon Apr 15 2002 - 22:00:21 EST