Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2116272lqz; Tue, 2 Apr 2024 07:41:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVGUq78A+14l5ZjFVNKY+Qc1rXFcr0gvSLMJXN3QGTUMJXuwYdL/cAxr359yhMRbGwxX6ENAj7bhxOuVSxgsFPhjRu1lchfEnGQLXIRFQ== X-Google-Smtp-Source: AGHT+IHcsUevfAR/jq9LTFtQSUUkKc+C06mLY/xoI1EXFxurds2mZz6jahdyuzRaphBtCqc7hRPQ X-Received: by 2002:a05:6a20:5605:b0:1a7:23ae:f002 with SMTP id ir5-20020a056a20560500b001a723aef002mr8658pzc.25.1712068888436; Tue, 02 Apr 2024 07:41:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712068888; cv=pass; d=google.com; s=arc-20160816; b=jZIADvWCHFaUDp1TjfhLrQMIGbeV1GK/mNXUQ6zENyJuUroK3ZSWpkPlutVhqEZ7K8 0Efe6w39qGzNZ5zAs83WUiCh4q5dE0AHBnJkDSZOdz6rfwvX8z4PTHw9YYfLmbSL/rd3 PPl1kuq5ZSqnwnfO/5GQ1jb3VPsAuXlOwOEGhOjJpo5JhdzPdidIZyKAH+8ClPmwowQC YVy4BM6GCv9FG8I/as1fNjOIpafztyqC/3C4FPh8z/Q1ZUY2D6Q+UIV8YS9j53eEY1Cy 4u5obRbszruS7hQ4637+vy9hq2IpR3W9kiwjGNBiJF5Z18MA/U5OlhBvbBHjg3F8Q4YY cJhQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=Hz/Mdo0iRGzhuMR/T3gMDlAelTTxPLxaDcQNsEu4FEQ=; fh=cCL5TeMpTqRS5OJpYVAXylfQx5dEPj+qrI+hsOUgeIE=; b=dC9RrjEzNk1LcJLuFG024Q/FFEgntiaSy4nTIPFw+Ikm82QnrTNBOje+z6Hxkzxc8y UQVeXQwQopDtb102Y35kiRnuvk0/gw49qbm2/+jpT7npRdD+C6+3lfk3Ad/gB/kSlDIm +aQtZITOkr4CPIfChLcV+jaokmGQS3zsvTFQOlxEdVfYGI9EIVu1R290QOai5F3mkz05 AuWix4nKsfQb3MwACylHPGVRSrHS0Bo8rFTk7+j54xy4wLWcH7EBSewRKBs7roIUwbcH sLyzTbMpzci7g7978S4I0s8peQlgLHxSRfZ3I9k+rDrDMcR6c1fLoqewS2yW6NMu8Is7 60gg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@szeredi.hu header.s=google header.b=FUj9vSFk; arc=pass (i=1 spf=pass spfdomain=szeredi.hu dkim=pass dkdomain=szeredi.hu dmarc=pass fromdomain=szeredi.hu); spf=pass (google.com: domain of linux-kernel+bounces-128163-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128163-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=szeredi.hu Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id h17-20020a632111000000b005dc6375e189si10784784pgh.396.2024.04.02.07.41.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 07:41:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128163-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@szeredi.hu header.s=google header.b=FUj9vSFk; arc=pass (i=1 spf=pass spfdomain=szeredi.hu dkim=pass dkdomain=szeredi.hu dmarc=pass fromdomain=szeredi.hu); spf=pass (google.com: domain of linux-kernel+bounces-128163-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128163-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=szeredi.hu 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E477228570D for ; Tue, 2 Apr 2024 14:40:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ABEB213475B; Tue, 2 Apr 2024 14:38:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=szeredi.hu header.i=@szeredi.hu header.b="FUj9vSFk" Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7FF5B12D201 for ; Tue, 2 Apr 2024 14:38:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712068697; cv=none; b=r4xlV9DNKwEX9d0NCzKuqfuces92dbVAz7RtudOaaaOgCpZ1S2THVGhTI3TKDWDi/bnqm9dSkNB5HbL//7axK5B3xyc5qSbBZSayjiY+KzATzXl8m+f4JBOGxyssC+50SFZ/Qd25pQXl4w6lOs6x5lGvYQxYTLuD9RGiYSSWYxc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712068697; c=relaxed/simple; bh=2liQMgFhs1uF1gMOxPK4tNugi0SQ9cf6bRsgJvSmtMg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=EtEIoT9HnRQZnBMvTMVOV5nfiq97ehSOiHiEXmTyqBEvoCaZ3UmB9PYbBdIB7QIRwPlfwd0vQia7KoyNaDdhyAmTgaudDc10TburwAH9w6Alfika7JCkJJj4bE+Ag6LHEfGRAiRawzpc1jS7dwbRlX5QbSZj9luqg4HhlFt+/a4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=szeredi.hu; spf=pass smtp.mailfrom=szeredi.hu; dkim=pass (1024-bit key) header.d=szeredi.hu header.i=@szeredi.hu header.b=FUj9vSFk; arc=none smtp.client-ip=209.85.218.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=szeredi.hu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=szeredi.hu Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a44ad785a44so594723666b.3 for ; Tue, 02 Apr 2024 07:38:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; t=1712068694; x=1712673494; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Hz/Mdo0iRGzhuMR/T3gMDlAelTTxPLxaDcQNsEu4FEQ=; b=FUj9vSFkzQruhef2ShpiAhVnwTUCv3Ix/j5tlyPC7r91AJqU45m6O8MyD2Giq0CN3K qy5+Zi2mKbEaokzsYpa1POhpR5nTwFRT19eZ/rAyaGSFf+a4clO3W+c4NI1aDabGe4Gy /ptzfHgnKLKhk9PyoVfsLdVKo/J08SFRZQE14= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712068694; x=1712673494; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Hz/Mdo0iRGzhuMR/T3gMDlAelTTxPLxaDcQNsEu4FEQ=; b=jcW55ipQhUDFvZsgY0dFWExeE5T5L0qEu9PgVACaHtAPSt1DQdVOO1gjiI0gkZfLsS T+eBRX6/Y+aF9VzjdR8UnwUEj2yb8JQ8vBML2vZ+3SkaDWiqeq4iiBA7LaHm/cXKqDEL 7FH+O8K2nIpr0cCSpRSlO+wf2K0m0IFs9usZfIV89xH5rzQZVG1Wow2RCsu7nQgFQDUc Vf9d4fKXVJUMvNj8oPAkUo6a9L1AA2/E92Jj6jDWVbcBQ3jFdt6v6IuwQOzJFfm2XYj1 dkY0CF5kS3QyAHCyrPdyeF01gdbJV7E8n7zDw9P68wmKJB7gPSVWQxgTgX/VJmNmeL38 cckA== X-Forwarded-Encrypted: i=1; AJvYcCWqbN9Tw9ok0ObDxeEAd9itHVeFh4Dw2auEphsbmBYs71nn0/gTxY26Yg28aLv7fZnmxNKeErqx3JCeUhZ/s5RW9GR8GyiVzTnZfo0o X-Gm-Message-State: AOJu0YyUxsXStzQY7KT9cXQHHMbJsxlRTW1xDdBvogJWKvQyXXCRzOQ/ aw9YLlgtkrhiShX9BtFDbk9BrMuBTPn4qLgMuReA1LwCNHAiz/aJKI+U75w1mimgWSoROlrQPzT bOKBa4fFaEjJk6Dp4X3r/LRhCvgfG96kKQ5qXXg== X-Received: by 2002:a17:907:72c6:b0:a47:5171:8d61 with SMTP id du6-20020a17090772c600b00a4751718d61mr10050686ejc.60.1712068693719; Tue, 02 Apr 2024 07:38:13 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240402-setlease-v2-1-b098a5f9295d@kernel.org> <8a8e8c0d-7878-4289-b490-cb9bf17e56b9@fastmail.fm> In-Reply-To: From: Miklos Szeredi Date: Tue, 2 Apr 2024 16:38:02 +0200 Message-ID: Subject: Re: [PATCH v2] fuse: allow FUSE drivers to declare themselves free from outside changes To: Amir Goldstein Cc: Jeff Layton , Bernd Schubert , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2 Apr 2024 at 16:02, Amir Goldstein wrote: > > On Tue, Apr 2, 2024 at 4:29=E2=80=AFPM Jeff Layton w= rote: > > > > On Tue, 2024-04-02 at 15:23 +0200, Bernd Schubert wrote: > > > Could you please add something like below? > > > > > > FUSE_NO_OUTSIDE_CHANGES: No file changes through other mounts / clien= ts > > > "through other mounts" is confusing, since one instance of the fuse filesystem can have many mounts, and changes can be done through all of them. The issue is if changes are spontaneous from the viewpoint of the fuse client. > > > > Definitely. I've added that in my local branch. I can either resend > > later, or maybe Miklos can just add that if he's otherwise OK with this > > patch. > > Don't love the name but don't have any suggestions either. > > I am wondering out loud, if we have such a mode for the fs, > if and how should it affect caching configuration? IMO it should enable all caching and override any conflicting options. That's a separate patch, but should be done within the next cycle. I'll look into that. Thanks, Miklos