On Tue, Jul 31, 2012 at 08:45:50AM -0400, J. Bruce Fields wrote: > On Tue, Jul 31, 2012 at 08:25:46AM -0400, J. Bruce Fields wrote: > > On Tue, Jul 31, 2012 at 03:08:01PM +1000, NeilBrown wrote: > > > The idea of a new interface to synchronise with all threads has potential and > > > doesn't need to be at the nfsd level - it could be in sunrpc. Maybe it could > > > be built into the current 'flush' interface. > > The flush operation will have to know which services to wait on when > flushing a given cache (lockd and nfsd in the export cache cases). > > A little annoying that it may end up having to wait on a client-side > operation in the case of lockd, but I don't think that's a show-stopper. Ignore me, I wasn't thinking straight: a lockd thread won't of course be waiting on client rpc's to a server, it will just be handling callbacks, which should be very quick. --b. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html