On Thu, 2006-06-01 at 20:42 -0700, Can Sar wrote: > On Jun 1, 2006, at 10:26 AM, Trond Myklebust wrote: > > > > ...and how does that help the user that has been told the operation > > succeeded? > > It wouldn't. For externally visible operations the kernel just waits > until it actually has the right answer. > Contributions from that paper would definitely speed up NFS on Linux > but they require extensive work, which is one of the reasons no one > has actually implemented a production level version of that work yet > (researchers generally move on to new papers instead). Performance needs to be weighted against application expectations (i.e. POSIX correctness). If the application is told that an operation has succeeded, then you had better make damned sure that the operation _will_ succeed (and within finite time, please!). As I said, we are working within the IETF on a model for asynchronous operations, but as Andreas Dilger suggested, this does require a stateful model in which the client can reliably conclude whether or not an operation will succeed in the future. Such a model is understandably complex to design, and so we're introducing the framework in a step-by-step manner: NFSv4.1 will include directory read delegations (which allow you to cache directory operations that do not modify the directory until a conflict occurs). I hope we will get round to completing a model for write delegations in NFSv4.2. Trond - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html