Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2390055lqb; Mon, 27 May 2024 19:45:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU9spriCEqkqxctDfDGh4idQe3Cd2SbUrFx+gl/Ggq6tolUSTfHh+LcXJBrT/SJjsDA6odpERmX8fwmoQsR1idcbKaVHnPhuXUk5aEu2g== X-Google-Smtp-Source: AGHT+IFt6mZNZ5yWtt8FVu5h6ax2v6AWTfMNpkbwKnOZp84Uwzkz/kbbUNNaZ3kb3X1c+lweZYTS X-Received: by 2002:a05:6214:3a8c:b0:6ad:7d09:88a1 with SMTP id 6a1803df08f44-6ad7d098cf1mr52674866d6.49.1716864341388; Mon, 27 May 2024 19:45:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716864341; cv=pass; d=google.com; s=arc-20160816; b=kxuGIibiNV4GYdFOGuXQp9NV4EKHGDwxwZArRfBMuxTCHCtWURvWsuUIOUQ7wCvVvp Ev5glW/u068zjxqOCO3WXc5HICLASrYqBZPlgYO67v8tTIM62fNc0cBjxRLsrC5pBrKr cXAbq3C9z+PHDEIeHwwyQdYP5ODWRKs6La1rEk1twVdumvUizuX0se/R1JSlLNdyd+PH /HITMQNuWpeQ6YrCBT7hOS9pqt3FQw7uuScVakCBCTyE6LlwA20uns1abefeUx0mmoxw XnYIz0VxksX5kwvWn8tYjoQwMTLARBA2At+dUHwAAY5PLMhQ91PYBJS+XvQNVQD+ugC9 OL4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=y5vCuS19atFnvgyZRxQSlYoJcjtChXdNZx0h0GPcBkw=; fh=ENWuS8GvNEJUkfDOrkIwgl31P+d2HNy6jU6eFvM6yM0=; b=kW0+Qu+oNc0cixtNQS7JgfUa7U5DdybfZ5fBCX+BrlHrVBnR4oeNY3WwW1pD53SWuf DaXjW/bKmkM936oGdvkdqHNrEnD79oP+WeNQJvjmwAmOROBf4E8YTjfG0uspZu1TvdSa OklEL3o3opKTffo1OXuWwkG/RsHNiCwPO7sZpaLhnrot+ereamu+lSg31eNjYxLXspy0 v2aHrdQAGJPS1QtWxZMuBwbCPV0Rm/ijsDqzDouppCv24dJ2Fvao1kVvpgl/vEPUNuem d2IjrAWKmKlfjCqK28bnjBjpFtJrfq1Q/27/7YQPU2fhXW5o9IapAYkx6CzyYJbjx/Jb XC0A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=bHPVF7Sy; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-191657-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191657-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6ac1625f56bsi97020756d6.375.2024.05.27.19.45.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 19:45:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191657-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=bHPVF7Sy; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-191657-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191657-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1FC501C21696 for ; Tue, 28 May 2024 02:45:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DD9511713; Tue, 28 May 2024 02:45:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="bHPVF7Sy" Received: from out30-124.freemail.mail.aliyun.com (out30-124.freemail.mail.aliyun.com [115.124.30.124]) (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 A86A68825; Tue, 28 May 2024 02:45:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716864332; cv=none; b=WmK+DD3+pwPfg5KEv+x6/L4RqZa6F1/hHr6JTUyAHhcGlkvZ3Th+8YIl0b7E2m/TCknaM/SxNphJrOfyhTBTWdmjgSQMSrutpcp9IBZsn8DToWQGoEBIdhS//fnjW6nAbx5YaYsaUXKwxFTuJf+kw8kMTTgaGFL9SeULOEY/+Kk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716864332; c=relaxed/simple; bh=OIVxUrnZNpPnoECkut5yPsYFBy5FP4ur762+K4Myjrk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=cgdD7cIfc5Jkhm54+4jclJ72FEdsXw0S/KoP7/f3GwDr8ZgW7iWj22mEb3pAamOpZS6HqRy0rT+CT+5oGGxSr7akIHWWfwXBNqTh4Y46y7qTdJBpw8Ft4iGjH9tu+1OHYdR8oxvzli9V1lRv/0j5hDficrIYWeUb7N2wgtIGpjA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=bHPVF7Sy; arc=none smtp.client-ip=115.124.30.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1716864327; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=y5vCuS19atFnvgyZRxQSlYoJcjtChXdNZx0h0GPcBkw=; b=bHPVF7SyYvFsZ9dMS6pnIEBdRVCyLuLHhbxswVqM87yZxo9/U2X+ZOuFyClnjeDeQrKArltyBzsL5gIr8olKWBhWcOKubGlWlf8BnLq/CmzUKyK9UKQZgxbx1jW6IeWfMSRWKSZQItc6+uSVOeb8gkNd4ThXn1fym7Pi4U7unSY= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033045075189;MF=jefflexu@linux.alibaba.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_---0W7OBsXz_1716864325; Received: from 30.221.144.199(mailfrom:jefflexu@linux.alibaba.com fp:SMTPD_---0W7OBsXz_1716864325) by smtp.aliyun-inc.com; Tue, 28 May 2024 10:45:26 +0800 Message-ID: <858d23ec-ea81-45cb-9629-ace5d6c2f6d9@linux.alibaba.com> Date: Tue, 28 May 2024 10:45:25 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC 0/2] fuse: introduce fuse server recovery mechanism To: Miklos Szeredi Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, winters.zc@antgroup.com References: <20240524064030.4944-1-jefflexu@linux.alibaba.com> Content-Language: en-US From: Jingbo Xu In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5/27/24 11:16 PM, Miklos Szeredi wrote: > On Fri, 24 May 2024 at 08:40, Jingbo Xu wrote: > >> 3. I don't know if a kernel based recovery mechanism is welcome on the >> community side. Any comment is welcome. Thanks! > > I'd prefer something external to fuse. Okay, understood. > > Maybe a kernel based fdstore (lifetime connected to that of the > container) would a useful service more generally? Yeah I indeed had considered this, but I'm afraid VFS guys would be concerned about why we do this on kernel side rather than in user space. I'm not sure what the VFS guys think about this and if the kernel side shall care about this. Many thanks! -- Thanks, Jingbo