Received: from fhigh-b1-smtp.messagingengine.com (fhigh-b1-smtp.messagingengine.com [202.12.124.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 83FDB47DF95 for ; Wed, 5 Aug 2026 15:35:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.152 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785944134; cv=none; b=dSua7y2F0Uwr0TffnY9f5x5hcIBDEopv9Kq4SznSxbSFftieg0XUUEYynRuhrE26QOsLc3Sb5di1uCYIBVTLQMuxrFHrh14/5UP2A93yWIj2uiN6JbM7rsr7JXXo/6/eEZYnV1dydh/vYtEm404IKjDlzXc2AToISAcZJG5z33A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785944134; c=relaxed/simple; bh=Ffov6x7aMRWcNdjw3BW2cf688BpyZunYkKTHRb+Y8pg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=QUaQG5G/KrxNnDqeikb/nBUCqFweM+RvAnfsdp0YBf0tbhIJrBZdY8res4+fFV9pwKX1kSz4C13lpxc8d2K2MFnx3R73gwuxG5231CYxT+jhEho+t/VHippiCluSdrqHMoqhNqnjOgIOHGg64zRl+zeqW/r8Q28J632x6gx0oX8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bsbernd.com; spf=pass smtp.mailfrom=bsbernd.com; dkim=pass (2048-bit key) header.d=bsbernd.com header.i=@bsbernd.com header.b=lWmI4mQ1; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=eJjswOs+; arc=none smtp.client-ip=202.12.124.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bsbernd.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bsbernd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bsbernd.com header.i=@bsbernd.com header.b="lWmI4mQ1"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="eJjswOs+" Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id DB1597A0135; Wed, 5 Aug 2026 11:35:24 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Wed, 05 Aug 2026 11:35:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsbernd.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1785944124; x=1786030524; bh=HGeUghNr42wAliyy3ZMpQtbhlpd/K1eYU5gGYzBK/Is=; b= lWmI4mQ1s2mRdN1O5PbqiiwXahGlFUYu6lEPh/V89/eH7OjO5lxlS4Cma0dNwmm9 Y3q/P4qQd4PsLZCHkeInlDOAfeZVoc7CThXafxZ3yvyeBvbNJPhz/fEHEVpHpZeI 2qjtgpADmhDbT/WcaaJVdHABzzx///kkT4/3E+fo2WC3xsoUT2MS7DL1l9RoIgew MEF+RaYUZkfi56EVzX2TjQHm6EE0aHw1T6dePBY1K8Nr/uX29B0qKONF6w5C1V+g hXlxwZvFqjr4X1jmygGtJuDVK4de5pPsKDsoflzTVsUB1v8+iCgYUwbfFVreEaHx moGzqsCqh/zztJsG7qWkqA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1785944124; x= 1786030524; bh=HGeUghNr42wAliyy3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gwH4T5VNqrXq8NPF+boI3o/QQ X-ME-Proxy: Feedback-ID: i5c2e48a5:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 5 Aug 2026 11:35:22 -0400 (EDT) Message-ID: <24e71071-1571-48ef-972e-08cb6564eaa6@bsbernd.com> Date: Wed, 5 Aug 2026 17:35:21 +0200 Precedence: bulk X-Mailing-List: fuse-devel@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 1/6] fuse: decouple fuse_ring creation from ent registration To: Miklos Szeredi , Joanne Koong Cc: jlayton@kernel.org, libaokun@linux.alibaba.com, axboe@kernel.dk, amir73il@gmail.com, fuse-devel@lists.linux.dev References: <20260716175908.2339738-1-joannelkoong@gmail.com> <20260716175908.2339738-2-joannelkoong@gmail.com> Content-Language: fr, en-US, de-DE, ru-RU From: Bernd Schubert In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 7/22/26 14:00, Miklos Szeredi wrote: > On Wed, 22 Jul 2026 at 01:10, Joanne Koong wrote: > >> We can fix up libfuse [1] to no longer send REGISTER before the >> connection is initialized, so I don't think a kernel fix is strictly >> needed here, but if you still prefer kernel code to coordinate this, I >> can send that out. > > With async INIT this is possible by waiting until the write(2) syscall > for the INIT reply returns. This is because the initialization is > performed within the context of the write call. > > For sync INIT the initialization is performed in the context of the > mount/FSCONFIG_CMD_CREATE, libfuse can wait until the respective > syscall returns. > > So yes, it's possible to ensure this from userspace, no kernel change is need. The patch here from Joanne needs a slight update: https://github.com/libfuse/libfuse/pull/1561 I can amend myself next week (once I'm through with review here). As I wrote there, I had run last into -EAGAIN last year and had added an -EAGAIN handler. Pity that I didn't record in the commit message the exact reason :/ Thanks, Bernd