From mboxrd@z Thu Jan 1 00:00:00 1970 From: Trond Myklebust Subject: Re: [PATCH 1/2] [RFC] vfs: 'stat light' fstatat flags Date: Thu, 09 Apr 2009 11:13:35 -0400 Message-ID: <1239290015.14159.8.camel@heimdal.trondhjem.org> References: <20090407080046.GQ14571@wotan.suse.de> <20090407174229.GD31824@shareable.org> <1D2105EA-A7C8-46C8-8AB9-380F9FCA7730@linuxhacker.ru> <20090407181610.GH31824@shareable.org> <409BE74F-D341-4403-9900-57168ECBBD47@linuxhacker.ru> <1239136642.5664.9.camel@heimdal.trondhjem.org> <20090408184842.GB10947@shareable.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Oleg Drokin , Mark Fasheh , linux-fsdevel@vger.kernel.org, Sage Weil , Andreas Dilger To: Jamie Lokier Return-path: Received: from mx2.netapp.com ([216.240.18.37]:43125 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756332AbZDIPNl (ORCPT ); Thu, 9 Apr 2009 11:13:41 -0400 In-Reply-To: <20090408184842.GB10947@shareable.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, 2009-04-08 at 19:48 +0100, Jamie Lokier wrote: > (Actually I'd like dnotify/inotify/fsnotify so I can omit the stat() > round trip entirely please on each application cache > revalidation... but only if "check for any file change events, answer > = no events" is synchronous in the same way that AT_STRICT is...) There is no protocol support for inotify or fsnotify. The NFSv4.1 protocol does support a dnotify-ish callback, but that isn't synchronous due to scalability concerns. It should be quite sufficient for the likes of konqueror or nautilus, though... -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com