DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1635341000; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=o/3Nbz49/kyQ2NEUZpXzOGtQ57B0/FoxfakRAxW6Cek=; b=z79qK7ImJM9M3P0lN+P+TvwlZtk/o3DnybsO7hyOOwmdvvs41paBEdtSP+NcYUyqE3corR e5s66EYhw4IhKabsTDEkW4lAysMXPQAYeIZJSPNDqc7GaobU7fbuXbU8XMYZMIcXHshdQW 2ESKiKGRFCf01Upmi5QTCEdMA+5Ffi4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1635341000; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=o/3Nbz49/kyQ2NEUZpXzOGtQ57B0/FoxfakRAxW6Cek=; b=XOERzLFZuhMxAo6qingMdKXRnYFUzy5dEBlNzYCVL2lwyjpZ/6xK3aOigRB07UPV0m6J9m sCm+X2hCwUcJy2Cw== Date: Wed, 27 Oct 2021 15:23:19 +0200 From: Jan Kara Message-ID: <20211027132319.GA7873@quack2.suse.cz> References: <20211025204634.2517-1-iangelak@redhat.com> MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: Re: [Virtio-fs] [RFC PATCH 0/7] Inotify support in FUSE and virtiofs List-Id: Development discussions about virtio-fs List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amir Goldstein Cc: Steve French , Jan Kara , Miklos Szeredi , linux-kernel , virtio-fs-list , Al Viro , linux-fsdevel , Vivek Goyal On Wed 27-10-21 08:59:15, Amir Goldstein wrote: > On Tue, Oct 26, 2021 at 10:14 PM Ioannis Angelakopoulos > wrote: > > On Tue, Oct 26, 2021 at 2:27 PM Vivek Goyal wrote: > > The problem here is that the OPEN event might still be travelling towards the guest in the > > virtqueues and arrives after the guest has already deleted its local inode. > > While the remote event (OPEN) received by the guest is valid, its fsnotify > > subsystem will drop it since the local inode is not there. > > > > I have a feeling that we are mixing issues related to shared server > and remote fsnotify. I don't think Ioannis was speaking about shared server case here. I think he says that in a simple FUSE remote notification setup we can loose OPEN events (or basically any other) if the inode for which the event happens gets deleted sufficiently early after the event being generated. That seems indeed somewhat unexpected and could be confusing if it happens e.g. for some directory operations. Honza -- Jan Kara SUSE Labs, CR