Messages in this thread | | | Subject | Re: ext4 features | From | Trond Myklebust <> | Date | Fri, 07 Jul 2006 10:56:10 -0400 |
| |
On Thu, 2006-07-06 at 23:16 -0400, Bill Davidsen wrote:
> 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).
Wrong! The NFS cache consistency model (close-to-open cache consistency) requires you to be able to revalidate the cache on open() whether or not you are using posix locking. In fact, most alternatives to posix locking (for instance dotlocking, which is frequently used by email applications) rely heavily on this.
See for instance http://nfs.sourceforge.net/#faq_a8
Trond
- 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/
| |