Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2396638lqb; Mon, 27 May 2024 20:08:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXxoxWIUYMVRgXI+iqG7e0Gkp4cU9L4HGKFxFD2eOGZ8cWdNWBU9iknf/FeL5TAbYteh8YryMN695+3jBPugMqQYIkvT7zlAsna3EK4/w== X-Google-Smtp-Source: AGHT+IG7DdJqZ577ZC3DXOcfFyeO6WBVos7oCSvFSRnO8UhWhieEuRSA3Ery/25KEORYnMYRq1A/ X-Received: by 2002:a05:6808:274e:b0:3c8:4d3e:c3e4 with SMTP id 5614622812f47-3d1a5b3cf12mr11928255b6e.23.1716865719530; Mon, 27 May 2024 20:08:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716865719; cv=pass; d=google.com; s=arc-20160816; b=g+7zXXmkpWDEWmjYLVlFYDYvmDe/dEI/jN7P3y7fpiUP0o06z1rL4htVhwF4QrHyDx ASv0bspVA+Z9vCePGpeDukE8oWSsOgltEjjJjE9bMJfBakFdHwjfZ5Ee3PvUq9Sjm5z6 5WE0sYypcKVKgEE52mqdECZO8tNRjPR223mN0/T9JJMoPc3IKnON39PssTYEvMX8QI/8 2kW2KWgtYXvrsoh1j5MmT0y5VjpYkOFjir8FmeBfzPcm3uUl1SyDzPHyX9iDrcwKVxK6 IQ+PwrT36I7faRBkr+C4jZsOUQiFgTHnDyr5U7/tT5UAczykEwIFSCrEsEus9cFoxipM 8Xwg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=0Pw1BUiofgno3cSLLGLqrBjiIZ9UhCXpPdHKClzv11Q=; fh=ENWuS8GvNEJUkfDOrkIwgl31P+d2HNy6jU6eFvM6yM0=; b=dpcQtkJaGZe3SySXkNSerX0H1laU8ymMfKsXG4r7N6GDeAP2XsrBEBYOkMK7EpTq9y fpt//xQVRepTNsRPhuQ6c/zz+DFLlit0gLy0HbKwNQbfKneozXqdaU6lcDR6gA73hQ58 7tVaTpvNKOIVFmetVDdjgnycQCA9sRsl3/6HWcxkGLkDEv9Oht6eoGe6wO+61E0onO4o eBUr6hGph7rX8UasxEq8nMAei13KQcp/inlVIv0PX9ZcVYCRrGZBaAzwy8Ca986ZeGkE JXmGb/7Y0oErO29ZHZEDoE41oDIXxQy3Vn7v/N8BAG93PK790V2HJS274DQHiXCLq/r+ pNtg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=vfItW0BZ; 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-191669-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191669-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 sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822ae569e1si7320105a12.792.2024.05.27.20.08.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 20:08:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191669-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=vfItW0BZ; 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-191669-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191669-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 0B616B21B8A for ; Tue, 28 May 2024 03:08:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3AD80182C3; Tue, 28 May 2024 03:08:28 +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="vfItW0BZ" Received: from out30-98.freemail.mail.aliyun.com (out30-98.freemail.mail.aliyun.com [115.124.30.98]) (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 7573217C68; Tue, 28 May 2024 03:08:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.98 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716865707; cv=none; b=rafL2Y3VAyjtN8TqDF1wOYs+ROaz76pTv906eK4oBdHTp0ZZQbVCHWLs11CzYxJtN1X9i6mjUyLFWm09pSw1zaiLAL2NG4aryAfB82eWO389I0R2uRn6kAT8l3CBQU0dL17XZ4zYByegDzl+cg8yw/p7s+7voHh0SWikOCCF9Y4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716865707; c=relaxed/simple; bh=roCSdQxbUY29rDE38xzKqghaprNify5fn1VLno9bEVU=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=jiFXe/RlaMyTwvhdZvWrhOEiLMe33BCjWnhPy8KFVXXMtVK69CE+bgYH6JBhSvUBuyhGTGWXNSoHLpsW9W5o9ur2svKPTcViHzSbMUTaYkfJPqb85D6pVZ1XEehn8ikMBJZc1yD1QQseAKSVk6qVEUQJfaY75vj5EHWL3fBgmIg= 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=vfItW0BZ; arc=none smtp.client-ip=115.124.30.98 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=1716865702; h=Message-ID:Date:MIME-Version:Subject:From:To:Content-Type; bh=0Pw1BUiofgno3cSLLGLqrBjiIZ9UhCXpPdHKClzv11Q=; b=vfItW0BZML/SURhR9K3Fv/tGopu80c1gS0ykbC6ehSX2y3NGT4dO6gSwtEy6rUpNsSa0OV725kHX1sfJiF8E5fk05cGnjyb7L4SN2aDnm/V4qWCe8LifNCQ4MLYUItAyFoXXmN/u0v4dkRzuH08JxZlGO+h3nM8IZfJ1YKchyvE= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R901e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033037067112;MF=jefflexu@linux.alibaba.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_---0W7O7xhR_1716865700; Received: from 30.221.144.199(mailfrom:jefflexu@linux.alibaba.com fp:SMTPD_---0W7O7xhR_1716865700) by smtp.aliyun-inc.com; Tue, 28 May 2024 11:08:21 +0800 Message-ID: <6a3c3035-b4c4-41d9-a7b0-65f72f479571@linux.alibaba.com> Date: Tue, 28 May 2024 11:08:19 +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 From: Jingbo Xu 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> <858d23ec-ea81-45cb-9629-ace5d6c2f6d9@linux.alibaba.com> Content-Language: en-US In-Reply-To: <858d23ec-ea81-45cb-9629-ace5d6c2f6d9@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5/28/24 10:45 AM, Jingbo Xu wrote: > > > 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. > There was an RFC for kernel-side fdstore [1], though it's also implemented upon FUSE. [1] https://lore.kernel.org/all/CA+a=Yy5rnqLqH2iR-ZY6AUkNJy48mroVV3Exmhmt-pfTi82kXA@mail.gmail.com/T/ -- Thanks, Jingbo