Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp411323rdb; Tue, 23 Jan 2024 03:43:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IFilD71T+41EZSraTXA2nCD08Pg8t9XoyuEZzGEKfa59mfFQsLJQVXoYxG1TIdjBII0kBzN X-Received: by 2002:a05:6358:724f:b0:172:ae52:ac40 with SMTP id i15-20020a056358724f00b00172ae52ac40mr3563778rwa.38.1706010180680; Tue, 23 Jan 2024 03:43:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706010180; cv=pass; d=google.com; s=arc-20160816; b=Fqjf+4Phfd97KbIuNa8Z/AjlKyvEpR/NDWEy1Mlzmx0g4TKcD64ZuL6EIL7PIMO3Vb ZG/BtJhS5iLj4ZKkb+615eAMLpbjqEu2SjBTm1ooeXO2/Y1lexUIwpVH22Vv+Fq80mmm BdXhOIBgC1+DyxR9XcUvbJ46MTzg/xFVJLGds2NoNBAszZaRmK1TWpvXZR84cgaUg9KE y3D+FQh0ChFMEJ+1yejq+QVmfzvH6jMw+u5MJbP4IV7z3PXwppVrNV4bofd6KJ5bfBWE DMLn4JAAwP4Lw7krGLaSV2DHzTKIMGP904DdgwfxyiIzPIn6FmhxVrWAX6Im+VJ7yfJm 5QFQ== 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:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=Pvsj6lxvnhjg1szoxGiH5bvXBj1qzL/nwhG1xwqSEts=; fh=xdirjRQ3yc0d31Mx/75DUo3JxwooODHNwdvTPxxPESA=; b=mFxQEx6TBhzmW1DcHe/dPzB6zIm7do5ad+lYHUUdZ4N/66b0RTTi0XOodtw4RhbCYe yC9qtSTmHW5Ek9gpLXMRPwGthypLRyRhq/sYGMgvlnMtRIAlB2SwZ/MiMAUXXCtnzfLV MgK2CP3G9NcSlK7yDHyTAOW1/N5bcR86afDWCM54YuFUr6+HI558fxDue3xAzlgg2buV nJejTL8IlPtWj6Ubr80wCgXA8ZjuYucduXG1feQ0LAu51UeH9Wm8w8y7y+p8yJXCtBdk PojBqT+ZiCzV7Own68Yi5KCE1uKXXik6ODMRLRLsKYVDLZgnHBGFGpzTId1RNjlcoom3 Xi9w== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-35205-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35205-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id x23-20020a634857000000b005cfbdff9195si6087232pgk.783.2024.01.23.03.43.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 03:43:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35205-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-35205-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35205-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=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 DD357B221F7 for ; Tue, 23 Jan 2024 11:35:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E63E85D8F1; Tue, 23 Jan 2024 11:35:38 +0000 (UTC) Received: from out30-118.freemail.mail.aliyun.com (out30-118.freemail.mail.aliyun.com [115.124.30.118]) (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 B4B4D5EE62; Tue, 23 Jan 2024 11:35:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.118 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706009738; cv=none; b=jC4UWMdcHdD3jH7enPBNeHYMly9znEakbpxkWTsnvJ22jTGqiBwQcGw3ydEkdFONCYwlzaF5x+NXTxTwx9ke6VqYTseAJwZAtfbY3mRdxiqmn1CyLHUe/zThbVb6tpYVhiFxeKquvTH+6yIakiUPqHXs3nMP5JxpxdpMPeGMQtE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706009738; c=relaxed/simple; bh=zqxFj5ZGxR3PD3HXVtGinV/PNYZoCcA/Vkh+1WVU82U=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oFqzI33D2TMfqv/jxE07axs/p/8f6Rt2vzK5PRTtDig69NT4itmONKO7cIai9dlv7MIofEr141mDBcd8PRN2afU7AdG5hKdwqrUVXuaZKjFhYXar1iNh9pnDfSZ57DeStGCZRtMQCaG+pHT7uew56o93A91X/29iOeknDa7IroE= 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; arc=none smtp.client-ip=115.124.30.118 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 X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R141e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=jefflexu@linux.alibaba.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_---0W.CfNdu_1706009725; Received: from 30.221.145.142(mailfrom:jefflexu@linux.alibaba.com fp:SMTPD_---0W.CfNdu_1706009725) by smtp.aliyun-inc.com; Tue, 23 Jan 2024 19:35:26 +0800 Message-ID: <77355a90-77eb-4095-b3d4-6c828b18aacf@linux.alibaba.com> Date: Tue, 23 Jan 2024 19:35:24 +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] fuse: disable support for file handle when FUSE_EXPORT_SUPPORT not configured Content-Language: en-US To: Miklos Szeredi Cc: Amir Goldstein , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240123093701.94166-1-jefflexu@linux.alibaba.com> <3d1d06de-cb59-40d7-b0df-110e7dc904d6@linux.alibaba.com> From: Jingbo Xu In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/23/24 6:46 PM, Miklos Szeredi wrote: > On Tue, 23 Jan 2024 at 11:40, Jingbo Xu wrote: >> >> >> >> On 1/23/24 6:17 PM, Amir Goldstein wrote: >>> If you somehow find a way to mitigate the regression for NFS export of >>> old fuse servers (maybe an opt-in Kconfig?), > > Better would be if the server explicitly disabled export support with > an INIT flag (FUSE_NO_EXPORT). > I would give it a try (as a mitigation) if it's on the right direction. -- Thanks, Jingbo